[wx-dev] #9597: wxWindowDC::DoDrawBitmap(): processing
m_currentClippingRegion correctly
wxTrac
noreply at wxsite.net
Tue Jun 17 11:54:46 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9597>
#9597: wxWindowDC::DoDrawBitmap(): processing m_currentClippingRegion correctly
--------------------------------------+-------------------------------------
Reporter: bfi9 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.8.8
Component: wxX11 | Version: 2.8.x
Keywords: bitmap drawing, clipping | Blockedby:
Patch: 1 | Blocking:
--------------------------------------+-------------------------------------
In wxWindowDC::DoDrawBitmap() for setting the clipping region via
XFillRectangle() only rectangle is used which is returned by
m_currentClippingRegion.GetBox().
If m_currentClippingRegion contains a list of rectangles (a region)
wxRegionIterator should be used and array of XRectangle should be build
and passed to XFillRectangles
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9597>
More information about the wx-dev
mailing list