[Bug 6878] GetBoundsRect not implemented

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 10 00:07:41 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=6878


Dan Kegel <dank at kegel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dank at kegel.com




--- Comment #7 from Dan Kegel <dank at kegel.com>  2008-11-10 00:07:40 ---
FWIW, someone tried making a small demo program in C++
that used this feature: 
http://www.codeguru.com/cpp/misc/misc/flickerfreedrawing/article.php/c3877
See also http://support.microsoft.com/kb/139217
"Windows maintains an accumulated bounding rectangle for each application. An
application can retrieve this bounding rectangle by calling GetBoundsRect, and
it can set this rectangle by calling SetBoundsRect. But this rectangle may not
be the smallest bounding rectangle if your drawing functions contain functions
doing text output such as TextOut. GDI does not calculate ahead of time how far
across the TextOut functions are going to draw. GDI just sets the right side of
the bounding rectangle to a large number. "

Krugle found a few possible calls to it, e.g. in bzflag and Neuroshare
http://www.krugle.org/kse/files?query=GetBoundsRect
and a whole lot of false positives.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list