Add Get/SetLogicalFunction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-12-04 20:35:41 +00:00
parent f343983a32
commit c8aaaf9e30
7 changed files with 267 additions and 0 deletions

View File

@@ -215,6 +215,8 @@ public:
virtual void Clip( wxDouble , wxDouble , wxDouble , wxDouble ) {}
virtual void ResetClip() {}
virtual void * GetNativeContext() { return NULL; }
virtual int GetLogicalFunction() const { return 0; }
virtual bool SetLogicalFunction(int ) {}
virtual void Translate( wxDouble , wxDouble ) {}
virtual void Scale( wxDouble , wxDouble ) {}
virtual void Rotate( wxDouble ) {}
@@ -754,6 +756,16 @@ values. The defaults result in an identity matrix.", "");
pointer for GDIPlus and cairo_t pointer for cairo).", "");
DocDeclStr(
virtual int , GetLogicalFunction() const,
"Returns the current logical function.", "");
DocDeclStr(
virtual bool , SetLogicalFunction(int function) ,
"Sets the current logical function, returns ``True`` if it supported", "");
DocDeclStr(
virtual void , Translate( wxDouble dx , wxDouble dy ),
"Translates the current transformation matrix.", "");