GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing docs.wxpython.org — wx.GraphicsBitmap — wxPython 4.3.2 Docs
|
Default constructor creates an invalid bitmap. |
|
Return the contents of this bitmap as a wx.Image. |
|
Return the pointer to the native bitmap data. |
Properties Summary¶See |
Class API¶Possible constructors:
GraphicsBitmap() -> None
Represents a bitmap.
Default constructor creates an invalid bitmap.
None
Return the contents of this bitmap as a wx.Image.
Using this method is more efficient than converting a wx.GraphicsBitmap to a wx.Bitmap first and then to a wx.Image. This can be useful if, for example, you want to save a wx.GraphicsBitmap in a file format not directly supported by wx.Bitmap.
Invalid image is returned if the bitmap is invalid.
Added in version 2.9.3.
Return the pointer to the native bitmap data.
( CGImageRef for Core Graphics, cairo_surface_t for Cairo, Bitmap* for GDI+.)
Any
Added in version 2.9.4.
See GetNativeBitmap