Added wxRegion version of wxWindowDC::SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,6 +89,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC
|
||||
virtual void SetPalette( const wxPalette& palette );
|
||||
|
||||
virtual void SetClippingRegion( long x, long y, long width, long height );
|
||||
virtual void SetClippingRegion( const wxRegion& region );
|
||||
virtual void DestroyClippingRegion(void);
|
||||
|
||||
virtual void DrawSpline( wxList *points );
|
||||
|
@@ -158,6 +158,7 @@ public:
|
||||
{
|
||||
SetClippingRegion(rect.x, rect.y, rect.width, rect.height);
|
||||
}
|
||||
virtual void SetClippingRegion(const wxRegion& region);
|
||||
|
||||
virtual void SetPalette(const wxPalette& palette);
|
||||
#if WXWIN_COMPATIBILITY
|
||||
|
@@ -101,6 +101,9 @@ public:
|
||||
bool Combine(long x, long y, long width, long height, wxRegionOp op);
|
||||
bool Combine(const wxRegion& region, wxRegionOp op);
|
||||
bool Combine(const wxRect& rect, wxRegionOp op);
|
||||
|
||||
// Get internal region handle
|
||||
WXHRGN GetHRGN() const;
|
||||
};
|
||||
|
||||
class WXDLLEXPORT wxRegionIterator : public wxObject {
|
||||
|
@@ -85,6 +85,7 @@ class WXDLLEXPORT wxWindowDC: public wxDC
|
||||
virtual void SetPalette( const wxPalette& palette );
|
||||
|
||||
virtual void SetClippingRegion( long x, long y, long width, long height );
|
||||
virtual void SetClippingRegion( const wxRegion& region ) ;
|
||||
virtual void DestroyClippingRegion(void);
|
||||
|
||||
virtual void DrawSpline( wxList *points );
|
||||
|
Reference in New Issue
Block a user