adding raster op hook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -441,6 +441,12 @@ public:
|
|||||||
// returns the native context
|
// returns the native context
|
||||||
virtual void * GetNativeContext() = 0;
|
virtual void * GetNativeContext() = 0;
|
||||||
|
|
||||||
|
// returns the current logical function
|
||||||
|
virtual int GetLogicalFunction() const { return m_logicalFunction; }
|
||||||
|
|
||||||
|
// sets the current logical function, returns true if it supported
|
||||||
|
virtual bool SetLogicalFunction(int function) ;
|
||||||
|
|
||||||
//
|
//
|
||||||
// transformation : changes the current transformation matrix CTM of the context
|
// transformation : changes the current transformation matrix CTM of the context
|
||||||
//
|
//
|
||||||
@@ -551,6 +557,7 @@ protected :
|
|||||||
wxGraphicsPen m_pen;
|
wxGraphicsPen m_pen;
|
||||||
wxGraphicsBrush m_brush;
|
wxGraphicsBrush m_brush;
|
||||||
wxGraphicsFont m_font;
|
wxGraphicsFont m_font;
|
||||||
|
int m_logicalFunction;
|
||||||
|
|
||||||
private :
|
private :
|
||||||
DECLARE_NO_COPY_CLASS(wxGraphicsContext)
|
DECLARE_NO_COPY_CLASS(wxGraphicsContext)
|
||||||
|
Reference in New Issue
Block a user