virtual wxCompositionMode GetCompositionMode() const;
+ /**
+ Push the current state of the context's transformation matrix on a
+ stack.
+
+ @see wxGraphicsContext::PopState
+ */
+ virtual void PushState() = 0;
+
+ /**
+ Pops a stored state from the stack and sets the current transformation
+ matrix to that state.
+
+ @see wxGraphicsContext::PopState
+ */
+ virtual void PopState() = 0;
+
+
virtual void EnableOffset(bool enable = true);
void DisableOffset();
bool OffsetEnabled();
*/
virtual wxGraphicsBitmap CreateBitmapFromImage(const wxImage& image) = 0;
+ /**
+ Creates a wxImage from a wxGraphicsBitmap.
+
+ This method is used by the more convenient wxGraphicsBitmap::ConvertToImage.
+ */
+ virtual wxImage CreateImageFromBitmap(const wxGraphicsBitmap& bmp) = 0;
+
/**
Creates wxGraphicsBitmap from a native bitmap handle.