Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions

lib::colourchooser::canvas::BitmapBuffer Class Reference

Inheritance diagram for lib::colourchooser::canvas::BitmapBuffer:

List of all members.


Detailed Description

A screen buffer class.

This class implements a screen output buffer. Data is meant to
be drawn in the buffer class and then blitted directly to the
output device, or on-screen window.

Definition at line 17 of file canvas.py.


Public Member Functions

def __init__
virtual void BeginDrawing ()
bool Blit (const wxPoint &destPt, const wxSize &sz, wxDC *source, const wxPoint &srcPt, int rop=wxCOPY, bool useMask=FALSE, const wxPoint &srcPtMask=wxPoint(-1,-1))
bool Blit (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop=wxCOPY, bool useMask=FALSE, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
bool Blit (const wxPoint &destPt, const wxSize &sz, wxDC *source, const wxPoint &srcPt, int rop=wxCOPY, bool useMask=FALSE, const wxPoint &srcPtMask=wxPoint(-1,-1))
bool Blit (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop=wxCOPY, bool useMask=FALSE, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
virtual void CalcBoundingBox (wxCoord x, wxCoord y)
virtual bool CanDrawBitmap () const
virtual bool CanDrawBitmap () const
virtual bool CanGetTextExtent () const
virtual bool CanGetTextExtent () const
virtual void Clear ()
virtual void Clear ()
void ComputeScaleAndOrigin ()
virtual void ComputeScaleAndOrigin ()
void CrossHair (const wxPoint &pt)
void CrossHair (wxCoord x, wxCoord y)
void CrossHair (const wxPoint &pt)
void CrossHair (wxCoord x, wxCoord y)
void Destroy ()
virtual void DestroyClippingRegion ()
virtual void DestroyClippingRegion ()
virtual void DestroyClippingRegion ()
wxCoord DeviceToLogicalX (wxCoord x) const
wxCoord DeviceToLogicalX (wxCoord x) const
wxCoord DeviceToLogicalXRel (wxCoord x) const
wxCoord DeviceToLogicalXRel (wxCoord x) const
wxCoord DeviceToLogicalY (wxCoord y) const
wxCoord DeviceToLogicalY (wxCoord y) const
wxCoord DeviceToLogicalYRel (wxCoord y) const
wxCoord DeviceToLogicalYRel (wxCoord y) const
void DoGetSize (int *width, int *height) const
virtual void DoGetTextExtent (const wxString &string, wxCoord *x, wxCoord *y, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, wxFont *theFont=NULL) const
virtual void DoSetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoSetClippingRegionAsRegion (const wxRegion &region)
void DrawArc (const wxPoint &pt1, const wxPoint &pt2, const wxPoint &centre)
void DrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
void DrawArc (const wxPoint &pt1, const wxPoint &pt2, const wxPoint &centre)
void DrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
void DrawBitmap (const wxBitmap &bmp, const wxPoint &pt, bool useMask=FALSE)
void DrawBitmap (const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask=FALSE)
void DrawBitmap (const wxBitmap &bmp, const wxPoint &pt, bool useMask=FALSE)
void DrawBitmap (const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask=FALSE)
void DrawCheckMark (const wxRect &rect)
void DrawCheckMark (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawCheckMark (const wxRect &rect)
void DrawCheckMark (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawCircle (const wxPoint &pt, wxCoord radius)
void DrawCircle (wxCoord x, wxCoord y, wxCoord radius)
void DrawCircle (const wxPoint &pt, wxCoord radius)
void DrawCircle (wxCoord x, wxCoord y, wxCoord radius)
void DrawEllipse (const wxRect &rect)
void DrawEllipse (const wxPoint &pt, const wxSize &sz)
void DrawEllipse (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawEllipse (const wxRect &rect)
void DrawEllipse (const wxPoint &pt, const wxSize &sz)
void DrawEllipse (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawEllipticArc (const wxPoint &pt, const wxSize &sz, double sa, double ea)
void DrawEllipticArc (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double sa, double ea)
void DrawEllipticArc (const wxPoint &pt, const wxSize &sz, double sa, double ea)
void DrawEllipticArc (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double sa, double ea)
void DrawIcon (const wxIcon &icon, const wxPoint &pt)
void DrawIcon (const wxIcon &icon, wxCoord x, wxCoord y)
void DrawIcon (const wxIcon &icon, const wxPoint &pt)
void DrawIcon (const wxIcon &icon, wxCoord x, wxCoord y)
void DrawLabel (const wxString &text, const wxRect &rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1)
void DrawLabel (const wxString &text, const wxRect &rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1)
virtual void DrawLabel (const wxString &text, const wxBitmap &image, const wxRect &rect, int alignment=wxALIGN_LEFT|wxALIGN_TOP, int indexAccel=-1, wxRect *rectBounding=NULL)
void DrawLine (const wxPoint &pt1, const wxPoint &pt2)
void DrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
void DrawLine (const wxPoint &pt1, const wxPoint &pt2)
void DrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
void DrawLines (const wxList *list, wxCoord xoffset=0, wxCoord yoffset=0)
void DrawLines (int n, wxPoint points[], wxCoord xoffset=0, wxCoord yoffset=0)
void DrawLines (const wxList *list, wxCoord xoffset=0, wxCoord yoffset=0)
void DrawLines (int n, wxPoint points[], wxCoord xoffset=0, wxCoord yoffset=0)
virtual void DrawObject (wxDrawObject *drawobject)
void DrawPoint (const wxPoint &pt)
void DrawPoint (wxCoord x, wxCoord y)
void DrawPoint (const wxPoint &pt)
void DrawPoint (wxCoord x, wxCoord y)
void DrawPolygon (const wxList *list, wxCoord xoffset=0, wxCoord yoffset=0, int fillStyle=wxODDEVEN_RULE)
void DrawPolygon (int n, wxPoint points[], wxCoord xoffset=0, wxCoord yoffset=0, int fillStyle=wxODDEVEN_RULE)
void DrawPolygon (const wxList *list, wxCoord xoffset=0, wxCoord yoffset=0, int fillStyle=wxODDEVEN_RULE)
void DrawPolygon (int n, wxPoint points[], wxCoord xoffset=0, wxCoord yoffset=0, int fillStyle=wxODDEVEN_RULE)
void DrawRectangle (const wxRect &rect)
void DrawRectangle (const wxPoint &pt, const wxSize &sz)
void DrawRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawRectangle (const wxRect &rect)
void DrawRectangle (const wxPoint &pt, const wxSize &sz)
void DrawRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void DrawRotatedText (const wxString &text, const wxPoint &pt, double angle)
void DrawRotatedText (const wxString &text, wxCoord x, wxCoord y, double angle)
void DrawRotatedText (const wxString &text, const wxPoint &pt, double angle)
void DrawRotatedText (const wxString &text, wxCoord x, wxCoord y, double angle)
void DrawRoundedRectangle (const wxRect &r, double radius)
void DrawRoundedRectangle (const wxPoint &pt, const wxSize &sz, double radius)
void DrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius)
void DrawRoundedRectangle (const wxRect &r, double radius)
void DrawRoundedRectangle (const wxPoint &pt, const wxSize &sz, double radius)
void DrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius)
void DrawText (const wxString &text, const wxPoint &pt)
void DrawText (const wxString &text, wxCoord x, wxCoord y)
void DrawText (const wxString &text, const wxPoint &pt)
void DrawText (const wxString &text, wxCoord x, wxCoord y)
virtual void EndDoc ()
virtual void EndDoc ()
virtual void EndDrawing ()
virtual void EndPage ()
virtual void EndPage ()
bool FloodFill (const wxPoint &pt, const wxColour &col, int style=wxFLOOD_SURFACE)
bool FloodFill (wxCoord x, wxCoord y, const wxColour &col, int style=wxFLOOD_SURFACE)
bool FloodFill (const wxPoint &pt, const wxColour &col, int style=wxFLOOD_SURFACE)
bool FloodFill (wxCoord x, wxCoord y, const wxColour &col, int style=wxFLOOD_SURFACE)
wxBrush & GetBackground ()
const wxBrush & GetBackground () const
wxBrush & GetBackground ()
const wxBrush & GetBackground () const
int GetBackgroundMode () const
int GetBackgroundMode () const
def GetBitmap
wxBrush & GetBrush ()
const wxBrush & GetBrush () const
wxBrush & GetBrush ()
const wxBrush & GetBrush () const
virtual wxCoord GetCharHeight () const
virtual wxCoord GetCharHeight () const
virtual wxCoord GetCharWidth () const
virtual wxCoord GetCharWidth () const
void GetClippingBox (long *x, long *y, long *w, long *h) const
void GetClippingBox (wxRect &rect) const
void GetClippingBox (wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) const
void GetClippingBox (long *x, long *y, long *w, long *h) const
void GetClippingBox (wxRect &rect) const
void GetClippingBox (wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) const
virtual int GetDepth () const
virtual int GetDepth () const
void GetDeviceOrigin (long *x, long *y) const
wxPoint GetDeviceOrigin () const
void GetDeviceOrigin (wxCoord *x, wxCoord *y) const
void GetDeviceOrigin (long *x, long *y) const
wxPoint GetDeviceOrigin () const
void GetDeviceOrigin (wxCoord *x, wxCoord *y) const
wxFont & GetFont ()
const wxFont & GetFont () const
wxFont & GetFont ()
const wxFont & GetFont () const
WXHDC GetHDC () const
WXHDC GetHDC () const
int GetLogicalFunction () const
int GetLogicalFunction () const
void GetLogicalOrigin (long *x, long *y) const
wxPoint GetLogicalOrigin () const
void GetLogicalOrigin (wxCoord *x, wxCoord *y) const
void GetLogicalOrigin (long *x, long *y) const
wxPoint GetLogicalOrigin () const
void GetLogicalOrigin (wxCoord *x, wxCoord *y) const
virtual void GetLogicalScale (double *x, double *y)
int GetMapMode () const
int GetMapMode () const
virtual void GetMultiLineTextExtent (const wxString &text, wxCoord *width, wxCoord *height, wxCoord *heightLine=NULL, wxFont *font=NULL)
virtual bool GetOptimization ()
wxPen & GetPen ()
const wxPen & GetPen () const
wxPen & GetPen ()
const wxPen & GetPen () const
bool GetPixel (const wxPoint &pt, wxColour *col) const
bool GetPixel (wxCoord x, wxCoord y, wxColour *col) const
bool GetPixel (const wxPoint &pt, wxColour *col) const
bool GetPixel (wxCoord x, wxCoord y, wxColour *col) const
virtual wxSize GetPPI () const
virtual wxSize GetPPI () const
virtual wxSize GetPPI () const
wxObjectRefData * GetRefData () const
wxObjectRefData * GetRefData () const
wxBitmap & GetSelectedBitmap ()
const wxBitmap & GetSelectedBitmap () const
wxBitmap & GetSelectedBitmap ()
const wxBitmap & GetSelectedBitmap () const
wxSize GetSize () const
void GetSize (int *width, int *height) const
wxSize GetSize () const
void GetSize (int *width, int *height) const
wxSize GetSizeMM () const
void GetSizeMM (int *width, int *height) const
wxSize GetSizeMM () const
void GetSizeMM (int *width, int *height) const
wxColour & GetTextBackground ()
const wxColour & GetTextBackground () const
wxColour & GetTextBackground ()
const wxColour & GetTextBackground () const
void GetTextExtent (const wxString &string, long *x, long *y, long *descent=NULL, long *externalLeading=NULL, wxFont *theFont=NULL) const
void GetTextExtent (const wxString &string, wxCoord *x, wxCoord *y, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, wxFont *theFont=NULL) const
void GetTextExtent (const wxString &string, long *x, long *y, long *descent=NULL, long *externalLeading=NULL, wxFont *theFont=NULL) const
void GetTextExtent (const wxString &string, wxCoord *x, wxCoord *y, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, wxFont *theFont=NULL) const
wxColour & GetTextForeground ()
const wxColour & GetTextForeground () const
wxColour & GetTextForeground ()
const wxColour & GetTextForeground () const
virtual void GetUserScale (double *x, double *y) const
wxWindow * GetWindow () const
GdkWindow * GetWindow ()
wxWindow * GetWindow () const
bool IsKindOf (wxClassInfo *info) const
bool IsKindOf (wxClassInfo *info) const
wxCoord LogicalToDeviceX (wxCoord x) const
wxCoord LogicalToDeviceX (wxCoord x) const
wxCoord LogicalToDeviceXRel (wxCoord x) const
wxCoord LogicalToDeviceXRel (wxCoord x) const
wxCoord LogicalToDeviceY (wxCoord y) const
wxCoord LogicalToDeviceY (wxCoord y) const
wxCoord LogicalToDeviceYRel (wxCoord y) const
wxCoord LogicalToDeviceYRel (wxCoord y) const
wxCoord MaxX () const
wxCoord MaxX () const
wxCoord MaxY () const
wxCoord MaxY () const
wxCoord MinX () const
wxCoord MinX () const
wxCoord MinY () const
wxCoord MinY () const
virtual bool Ok () const
void Ref (const wxObject &clone)
void Ref (const wxObject &clone)
void ResetBoundingBox ()
void ResetBoundingBox ()
virtual void SelectObject (const wxBitmap &bitmap)
virtual void SelectObject (const wxBitmap &bitmap)
virtual void SelectOldObjects (WXHDC dc)
virtual void SetAxisOrientation (bool xLeftRight, bool yBottomUp)
virtual void SetAxisOrientation (bool xLeftRight, bool yBottomUp)
virtual void SetBackground (const wxBrush &brush)
virtual void SetBackground (const wxBrush &brush)
virtual void SetBackgroundMode (int mode)
virtual void SetBackgroundMode (int mode)
virtual void SetBrush (const wxBrush &brush)
void SetClippingRegion (const wxRegion &region)
void SetClippingRegion (const wxRect &rect)
void SetClippingRegion (const wxPoint &pt, const wxSize &sz)
void SetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void SetClippingRegion (const wxRegion &region)
void SetClippingRegion (const wxRect &rect)
void SetClippingRegion (const wxPoint &pt, const wxSize &sz)
void SetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
void SetColourMap (const wxPalette &palette)
void SetColourMap (const wxPalette &palette)
virtual void SetDeviceOrigin (wxCoord x, wxCoord y)
virtual void SetDeviceOrigin (wxCoord x, wxCoord y)
virtual void SetFont (const wxFont &font)
virtual void SetFont (const wxFont &font)
void SetHDC (WXHDC dc, bool bOwnsDC=FALSE)
void SetHDC (WXHDC dc, bool bOwnsDC=FALSE)
virtual void SetLogicalFunction (int function)
virtual void SetLogicalFunction (int function)
virtual void SetLogicalOrigin (wxCoord x, wxCoord y)
virtual void SetLogicalOrigin (wxCoord x, wxCoord y)
virtual void SetLogicalScale (double x, double y)
virtual void SetLogicalScale (double x, double y)
virtual void SetMapMode (int mode)
virtual void SetMapMode (int mode)
virtual void SetOptimization (bool WXUNUSED(opt))
virtual void SetPalette (const wxPalette &palette)
virtual void SetPen (const wxPen &pen)
void SetRefData (wxObjectRefData *data)
void SetRefData (wxObjectRefData *data)
virtual void SetRop (WXHDC cdc)
virtual void SetSystemScale (double x, double y)
virtual void SetTextBackground (const wxColour &col)
virtual void SetTextForeground (const wxColour &col)
void SetUpDC ()
virtual void SetUserScale (double x, double y)
virtual void SetUserScale (double x, double y)
void SetWindow (wxWindow *win)
void SetWindow (wxWindow *win)
virtual bool StartDoc (const wxString &message)
virtual bool StartDoc (const wxString &WXUNUSED(message))
virtual void StartPage ()
virtual void StartPage ()
void UnRef ()
void UnRef ()
void UpdateClipBox ()
void UpdateClipBox ()
wxCoord XDEV2LOG (wxCoord x) const
wxCoord XDEV2LOG (wxCoord x) const
wxCoord XDEV2LOGREL (wxCoord x) const
wxCoord XDEV2LOGREL (wxCoord x) const
wxCoord XLOG2DEV (wxCoord x) const
wxCoord XLOG2DEV (wxCoord x) const
wxCoord XLOG2DEVREL (wxCoord x) const
wxCoord XLOG2DEVREL (wxCoord x) const
wxCoord YDEV2LOG (wxCoord y) const
wxCoord YDEV2LOG (wxCoord y) const
wxCoord YDEV2LOGREL (wxCoord y) const
wxCoord YDEV2LOGREL (wxCoord y) const
wxCoord YLOG2DEV (wxCoord y) const
wxCoord YLOG2DEV (wxCoord y) const
wxCoord YLOG2DEVREL (wxCoord y) const
wxCoord YLOG2DEVREL (wxCoord y) const

Public Attributes

 bitmap
 colour
 height
GdkGC * m_bgGC
GdkGC * m_brushGC
GdkColormap * m_cmap
wxRegion m_currentClippingRegion
bool m_isMemDC
bool m_isScreenDC
double m_mm_to_pix_x
double m_mm_to_pix_x
double m_mm_to_pix_y
double m_mm_to_pix_y
bool m_needComputeScaleX
bool m_needComputeScaleX
bool m_needComputeScaleY
bool m_needComputeScaleY
wxWindow * m_owner
wxRegion m_paintClippingRegion
GdkGC * m_penGC
wxBitmap m_selected
GdkGC * m_textGC
GdkWindow * m_window
 width

Protected Member Functions

void AllocExclusive ()
void AllocExclusive ()
virtual wxObjectRefData * CloneRefData (const wxObjectRefData *data) const
bool CreateCompatible (wxDC *dc)
virtual wxObjectRefData * CreateRefData () const
virtual bool DoBlit (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int logical_func=wxCOPY, bool useMask=FALSE, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
virtual bool DoBlit (wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int rop=wxCOPY, bool useMask=FALSE, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
virtual void DoCrossHair (wxCoord x, wxCoord y)
virtual void DoCrossHair (wxCoord x, wxCoord y)
virtual void DoDrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
virtual void DoDrawArc (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
virtual void DoDrawBitmap (const wxBitmap &bitmap, wxCoord x, wxCoord y, bool useMask=FALSE)
virtual void DoDrawBitmap (const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask=FALSE)
virtual void DoDrawCheckMark (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawEllipse (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawEllipse (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawEllipticArc (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double sa, double ea)
virtual void DoDrawEllipticArc (wxCoord x, wxCoord y, wxCoord w, wxCoord h, double sa, double ea)
virtual void DoDrawIcon (const wxIcon &icon, wxCoord x, wxCoord y)
virtual void DoDrawIcon (const wxIcon &icon, wxCoord x, wxCoord y)
virtual void DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
virtual void DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
virtual void DoDrawLines (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset)
virtual void DoDrawLines (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset)
virtual void DoDrawPoint (wxCoord x, wxCoord y)
virtual void DoDrawPoint (wxCoord x, wxCoord y)
virtual void DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset, int fillStyle=wxODDEVEN_RULE)
virtual void DoDrawPolygon (int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset, int fillStyle=wxODDEVEN_RULE)
virtual void DoDrawRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoDrawRotatedText (const wxString &text, wxCoord x, wxCoord y, double angle)
virtual void DoDrawRotatedText (const wxString &text, wxCoord x, wxCoord y, double angle)
virtual void DoDrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius=20.0)
virtual void DoDrawRoundedRectangle (wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius)
virtual void DoDrawText (const wxString &text, wxCoord x, wxCoord y)
virtual void DoDrawText (const wxString &text, wxCoord x, wxCoord y)
virtual bool DoFloodFill (wxCoord x, wxCoord y, const wxColour &col, int style=wxFLOOD_SURFACE)
virtual bool DoFloodFill (wxCoord x, wxCoord y, const wxColour &col, int style=wxFLOOD_SURFACE)
virtual void DoGetClippingBox (wxCoord *x, wxCoord *y, wxCoord *w, wxCoord *h) const
virtual void DoGetClippingRegion (wxCoord *x, wxCoord *y, wxCoord *width, wxCoord *height)
virtual void DoGetDeviceOrigin (wxCoord *x, wxCoord *y) const
virtual void DoGetLogicalOrigin (wxCoord *x, wxCoord *y) const
virtual bool DoGetPixel (wxCoord x1, wxCoord y1, wxColour *col) const
virtual bool DoGetPixel (wxCoord x, wxCoord y, wxColour *col) const
virtual void DoGetSize (int *width, int *height) const
virtual void DoGetSizeMM (int *width, int *height) const
virtual void DoGetSizeMM (int *width, int *height) const
virtual void DoGetTextExtent (const wxString &string, wxCoord *width, wxCoord *height, wxCoord *descent=(wxCoord *) NULL, wxCoord *externalLeading=(wxCoord *) NULL, wxFont *theFont=(wxFont *) NULL) const
virtual void DoSetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoSetClippingRegion (wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual void DoSetClippingRegionAsRegion (const wxRegion &region)
void DrawAnyText (const wxString &text, wxCoord x, wxCoord y)
void DrawAnyText (const wxString &text, wxCoord x, wxCoord y)
void Init ()
void InitDC ()
void SetClippingHrgn (WXHRGN hrgn)
void SetClippingHrgn (WXHRGN hrgn)

Protected Attributes

wxBrush m_backgroundBrush
wxBrush m_backgroundBrush
int m_backgroundMode
int m_backgroundMode
bool m_bOwnsDC:1
bool m_bOwnsDC:1
wxBrush m_brush
wxBrush m_brush
wxWindow * m_canvas
wxWindow * m_canvas
bool m_clipping:1
bool m_clipping:1
wxCoord m_clipX1
wxCoord m_clipX1
wxCoord m_clipX2
wxCoord m_clipX2
wxCoord m_clipY1
wxCoord m_clipY1
wxCoord m_clipY2
wxCoord m_clipY2
bool m_colour:1
bool m_colour:1
wxCoord m_deviceOriginX
wxCoord m_deviceOriginX
wxCoord m_deviceOriginY
wxCoord m_deviceOriginY
wxFont m_font
wxFont m_font
WXHDC m_hDC
WXHDC m_hDC
bool m_isBBoxValid:1
bool m_isBBoxValid:1
bool m_isInteractive:1
bool m_isInteractive:1
int m_logicalFunction
int m_logicalFunction
wxCoord m_logicalOriginX
wxCoord m_logicalOriginX
wxCoord m_logicalOriginY
wxCoord m_logicalOriginY
double m_logicalScaleX
double m_logicalScaleX
double m_logicalScaleY
double m_logicalScaleY
int m_mappingMode
int m_mappingMode
wxCoord m_maxX
wxCoord m_maxX
wxCoord m_maxY
wxCoord m_maxY
wxCoord m_minX
wxCoord m_minX
wxCoord m_minY
wxCoord m_minY
bool m_ok:1
bool m_ok:1
WXHBITMAP m_oldBitmap
WXHBITMAP m_oldBitmap
WXHBRUSH m_oldBrush
WXHBRUSH m_oldBrush
WXHFONT m_oldFont
WXHFONT m_oldFont
WXHPEN m_oldPen
WXHPEN m_oldPen
wxPen m_pen
wxPen m_pen
wxObjectRefData * m_refData
wxObjectRefData * m_refData
double m_scaleX
double m_scaleX
double m_scaleY
double m_scaleY
wxBitmap m_selectedBitmap
wxBitmap m_selectedBitmap
int m_signX
int m_signX
int m_signY
int m_signY
wxColour m_textBackgroundColour
wxColour m_textBackgroundColour
wxColour m_textForegroundColour
wxColour m_textForegroundColour
double m_userScaleX
double m_userScaleX
double m_userScaleY
double m_userScaleY

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index