wxBitmap(const void* data, wxBitmapType type, int width, int height, int depth = 1);
// creates an bitmap from the native image format
- wxBitmap(CGImageRef image);
+ wxBitmap(CGImageRef image, double scale = 1.0);
wxBitmap(WX_NSImage image);
+ wxBitmap(CGContextRef bitmapcontext);
// Create a bitmap compatible with the given DC
wxBitmap(int width, int height, const wxDC& dc);
{ return Create(sz.GetWidth(), sz.GetHeight(), depth); }
virtual bool Create(const void* data, wxBitmapType type, int width, int height, int depth = 1);
- bool Create( CGImageRef image );
+ bool Create( CGImageRef image, double scale = 1.0 );
bool Create( WX_NSImage image );
+ bool Create( CGContextRef bitmapcontext);
// Create a bitmap compatible with the given DC, inheriting its magnification factor
bool Create(int width, int height, const wxDC& dc);