ClipRect, ExcludeClipRect not work after SetWindowOrgExt
Original Reporter info from Mantis: zaher
-
Reporter name: Zaher Dirkey
Original Reporter info from Mantis: zaher
- Reporter name: Zaher Dirkey
Description:
PaintControls move the window org (MoveWindowOrg) to make the TGraphicControl can draw started from 0,0 of it self.
ClipRect, ExcludeClipRect not work with this offset, it still return value with original coordinates.
With the patch attachment, it correct the Rect of (ClipRect, ExcludeClipRect) in WinCE widgets, tested in WM5 and WM6.1 and WM6.5
This patch effect only to who use TGraphicControl with ClipRect, ExcludeClipRect
Related to
http://lazarus.freepascal.org/index.php/topic,10237.0.html
http://bugs.freepascal.org/view.php?id=0014857
http://bugs.freepascal.org/view.php?id=15654