Support for new ctor and Union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -46,9 +46,10 @@ MustHaveApp(wxRegion);
|
|||||||
class wxRegion : public wxGDIObject {
|
class wxRegion : public wxGDIObject {
|
||||||
public:
|
public:
|
||||||
wxRegion(wxCoord x=0, wxCoord y=0, wxCoord width=0, wxCoord height=0);
|
wxRegion(wxCoord x=0, wxCoord y=0, wxCoord width=0, wxCoord height=0);
|
||||||
%name(RegionFromBitmap)wxRegion(const wxBitmap& bmp,
|
%name(RegionFromBitmap)wxRegion(const wxBitmap& bmp);
|
||||||
const wxColour& transColour = wxNullColour,
|
%name(RegionFromBitmapColour)wxRegion(const wxBitmap& bmp,
|
||||||
int tolerance = 0);
|
const wxColour& transColour,
|
||||||
|
int tolerance = 0);
|
||||||
#ifndef __WXMAC__
|
#ifndef __WXMAC__
|
||||||
%name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
|
%name(RegionFromPoints)wxRegion(int points, wxPoint* points_array,
|
||||||
int fillStyle = wxWINDING_RULE);
|
int fillStyle = wxWINDING_RULE);
|
||||||
@@ -103,9 +104,10 @@ public:
|
|||||||
// with this region. If the bitmap has a mask then it will be used,
|
// with this region. If the bitmap has a mask then it will be used,
|
||||||
// otherwise the colour to be treated as transparent may be specified,
|
// otherwise the colour to be treated as transparent may be specified,
|
||||||
// along with an optional tolerance value.
|
// along with an optional tolerance value.
|
||||||
%name(UnionBitmap)bool Union(const wxBitmap& bmp,
|
%name(UnionBitmap)bool Union(const wxBitmap& bmp);
|
||||||
const wxColour& transColour = wxNullColour,
|
%name(UnionBitmapColour)bool Union(const wxBitmap& bmp,
|
||||||
int tolerance = 0);
|
const wxColour& transColour,
|
||||||
|
int tolerance = 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user