Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » RectTracker filled with black
Re: RectTracker filled with black [message #14220 is a reply to message #14216] Wed, 20 February 2008 13:28 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1427
Registered: September 2007
Ultimate Contributor
Quote:

IMO if you really need to have the final rectangle backwards I think you should compare and switch it after getting the final rect back.

Well I don't know how one could achieve that, since the only info you get is the final rect and the stating point, so not enough to determine if it is backwards or not.

Quote:

It fixes the cursor alignment problem. I also believe that this is the correct place to modify the coordinates, as doing so before drawing means that the final rectangle is inaccurate.

The rect's I'm modifying in drawrect are not the original, so I don't think this affect the result in any way. I've written a test program, and the coordinates always seem to be accurate regarding the mouse position.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How can I use RectTracker in a rubber-band like operation?
Next Topic: [Bug] Windows UI Refresh Missed.
Goto Forum:
  


Current Time: Tue Jul 08 06:41:22 CEST 2025

Total time taken to generate the page: 0.03883 seconds