X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e33cc297dd1c78f98a05afcc81d5653ca9133322..0b59366faa1b3820dfc4f4ab130000f4e471e405:/interface/wx/graphics.h?ds=sidebyside diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index 086bf1e952..6431067da9 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -807,6 +807,23 @@ public: 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(); @@ -969,6 +986,13 @@ public: */ 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.