A wxGraphicsRenderer is the instance corresponding to the rendering engine used.
There may be multiple instances on a system, if there are different rendering engines present, but there is always only one instance per engine. This instance is pointed back to by all objects created by it (wxGraphicsContext, wxGraphicsPath etc) and can be retrieved through their wxGraphicsObject::GetRenderer() method. Therefore you can create an additional instance of a path etc. by calling wxGraphicsObject::GetRenderer() and then using the appropriate CreateXXX() function of that renderer.
|
virtual wxGraphicsBitmap | CreateBitmap (const wxBitmap &bitmap)=0 |
| Creates wxGraphicsBitmap from an existing wxBitmap. More...
|
|
virtual wxGraphicsBitmap | CreateBitmapFromImage (const wxImage &image)=0 |
| Creates wxGraphicsBitmap from an existing wxImage. More...
|
|
virtual wxImage | CreateImageFromBitmap (const wxGraphicsBitmap &bmp)=0 |
| Creates a wxImage from a wxGraphicsBitmap. More...
|
|
virtual wxGraphicsBitmap | CreateBitmapFromNativeBitmap (void *bitmap)=0 |
| Creates wxGraphicsBitmap from a native bitmap handle. More...
|
|
virtual wxGraphicsContext * | CreateContext (wxWindow *window)=0 |
| Creates a wxGraphicsContext from a wxWindow. More...
|
|
virtual wxGraphicsContext * | CreateContext (const wxWindowDC &windowDC)=0 |
| Creates a wxGraphicsContext from a wxWindowDC. More...
|
|
virtual wxGraphicsContext * | CreateContext (const wxMemoryDC &memoryDC)=0 |
| Creates a wxGraphicsContext from a wxMemoryDC. More...
|
|
virtual wxGraphicsContext * | CreateContext (const wxPrinterDC &printerDC)=0 |
| Creates a wxGraphicsContext from a wxPrinterDC. More...
|
|
virtual wxGraphicsContext * | CreateContext (const wxEnhMetaFileDC &metaFileDC)=0 |
| Creates a wxGraphicsContext from a wxEnhMetaFileDC. More...
|
|
wxGraphicsContext * | CreateContextFromImage (wxImage &image) |
| Creates a wxGraphicsContext associated with a wxImage. More...
|
|
virtual wxGraphicsBrush | CreateBrush (const wxBrush &brush)=0 |
| Creates a native brush from a wxBrush. More...
|
|
virtual wxGraphicsContext * | CreateContextFromNativeContext (void *context)=0 |
| Creates a wxGraphicsContext from a native context. More...
|
|
virtual wxGraphicsContext * | CreateContextFromNativeWindow (void *window)=0 |
| Creates a wxGraphicsContext from a native window. More...
|
|
virtual wxGraphicsContext * | CreateMeasuringContext ()=0 |
| Creates a wxGraphicsContext that can be used for measuring texts only. More...
|
|
virtual wxGraphicsFont | CreateFont (const wxFont &font, const wxColour &col=*wxBLACK)=0 |
| Creates a native graphics font from a wxFont and a text colour. More...
|
|
virtual wxGraphicsFont | CreateFont (double sizeInPixels, const wxString &facename, int flags=wxFONTFLAG_DEFAULT, const wxColour &col=*wxBLACK)=0 |
| Creates a graphics font with the given characteristics. More...
|
|
virtual wxGraphicsBrush | CreateLinearGradientBrush (wxDouble x1, wxDouble y1, wxDouble x2, wxDouble y2, const wxGraphicsGradientStops &stops)=0 |
| Creates a native brush with a linear gradient. More...
|
|
virtual wxGraphicsMatrix | CreateMatrix (wxDouble a=1.0, wxDouble b=0.0, wxDouble c=0.0, wxDouble d=1.0, wxDouble tx=0.0, wxDouble ty=0.0)=0 |
| Creates a native affine transformation matrix from the passed in values. More...
|
|
virtual wxGraphicsPath | CreatePath ()=0 |
| Creates a native graphics path which is initially empty. More...
|
|
virtual wxGraphicsPen | CreatePen (const wxPen &pen)=0 |
| Creates a native pen from a wxPen. More...
|
|
virtual wxGraphicsBrush | CreateRadialGradientBrush (wxDouble xo, wxDouble yo, wxDouble xc, wxDouble yc, wxDouble radius, const wxGraphicsGradientStops &stops)=0 |
| Creates a native brush with a radial gradient. More...
|
|
virtual wxGraphicsBitmap | CreateSubBitmap (const wxGraphicsBitmap &bitmap, wxDouble x, wxDouble y, wxDouble w, wxDouble h)=0 |
| Extracts a sub-bitmap from an existing bitmap. More...
|
|
| wxObject () |
| Default ctor; initializes to NULL the internal reference data. More...
|
|
| wxObject (const wxObject &other) |
| Copy ctor. More...
|
|
virtual | ~wxObject () |
| Destructor. More...
|
|
virtual wxClassInfo * | GetClassInfo () const |
| This virtual function is redefined for every class that requires run-time type information, when using the wxDECLARE_CLASS macro (or similar). More...
|
|
wxObjectRefData * | GetRefData () const |
| Returns the wxObject::m_refData pointer, i.e. the data referenced by this object. More...
|
|
bool | IsKindOf (const wxClassInfo *info) const |
| Determines whether this class is a subclass of (or the same class as) the given class. More...
|
|
bool | IsSameAs (const wxObject &obj) const |
| Returns true if this object has the same data pointer as obj. More...
|
|
void | Ref (const wxObject &clone) |
| Makes this object refer to the data in clone. More...
|
|
void | SetRefData (wxObjectRefData *data) |
| Sets the wxObject::m_refData pointer. More...
|
|
void | UnRef () |
| Decrements the reference count in the associated data, and if it is zero, deletes the data. More...
|
|
void | UnShare () |
| This is the same of AllocExclusive() but this method is public. More...
|
|
void | operator delete (void *buf) |
| The delete operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined. More...
|
|
void * | operator new (size_t size, const wxString &filename=NULL, int lineNum=0) |
| The new operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined. More...
|
|