Go to the documentation of this file.
41 #if !wxCHECK_VERSION(3, 0, 0)
53 virtual bool Ok()
const;
57 virtual void DoDrawText(
const wxString& text, wxCoord x, wxCoord y);
58 virtual void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2);
61 virtual void DoDrawIcon(
const wxIcon& icon, wxCoord x, wxCoord y);
87 const wxColour& colour,
91 const wxBitmap& bitmap,
101 int fillStyle = wxODDEVEN_RULE);
123 const wxString& text,
136 int logicalFunc = wxCOPY,
137 bool useMask =
false,
138 wxCoord xsrcMask = -1,
139 wxCoord ysrcMask = -1);
141 virtual void DoGetSize(wxCoord* width, wxCoord* height)
const;
144 const wxString& text,
147 wxCoord* descent = NULL,
148 wxCoord* externalLeading = NULL,
149 wxFont* font = NULL)
const;
151 virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour* colour)
const;
158 virtual void Clear();
160 virtual void SetFont(
const wxFont& font);
161 virtual void SetPen(
const wxPen& pen);
162 virtual void SetBrush(
const wxBrush& brush);
165 virtual void SetPalette(
const wxPalette& palette);
172 virtual bool StartDoc(
const wxString& message);
177 void setTitle(
const std::string& title);
186 void drawCircle(
int x,
int y,
unsigned radius);
virtual void DoDrawRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual wxCoord GetCharHeight() const
virtual void SetPen(const wxPen &pen)
virtual bool DoBlit(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxDC *source, wxCoord xsrc, wxCoord ysrc, int logicalFunc=wxCOPY, bool useMask=false, wxCoord xsrcMask=-1, wxCoord ysrcMask=-1)
void setLineColour(const wxColour &colour)
virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour &colour, int style)
virtual bool StartDoc(const wxString &message)
virtual void DoSetClippingRegionAsRegion(const wxRegion ®ion)
virtual void DoDrawBitmap(const wxBitmap &bitmap, wxCoord x, wxCoord y, bool transparent)
void setFillColour(const wxColour &colour)
virtual void DoGetTextExtent(const wxString &text, wxCoord *w, wxCoord *h, wxCoord *descent=NULL, wxCoord *externalLeading=NULL, wxFont *font=NULL) const
virtual void BeginDrawing()
virtual void DoDrawRotatedText(const wxString &text, wxCoord x, wxCoord y, double angle)
virtual void DoDrawIcon(const wxIcon &icon, wxCoord x, wxCoord y)
virtual void SetPalette(const wxPalette &palette)
void setTitle(const std::string &title)
void writeToStream(std::ostream &stream)
virtual void DoDrawPoint(wxCoord x, wxCoord y)
virtual void SetBackgroundMode(int mode)
virtual bool CanDrawBitmap() const
virtual void DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2)
virtual void DoDrawArc(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2, wxCoord xc, wxCoord yc)
virtual void DoDrawRoundedRectangle(wxCoord x, wxCoord y, wxCoord width, wxCoord height, double radius=20)
virtual wxCoord GetCharWidth() const
virtual void SetLogicalFunction(int function)
virtual bool CanGetTextExtent() const
virtual void SetBrush(const wxBrush &brush)
virtual void EndDrawing()
virtual void DoCrossHair(wxCoord x, wxCoord y)
virtual void SetFont(const wxFont &font)
virtual void DoDrawLines(int n, wxPoint points[], wxCoord xoffset, wxCoord yoffset)
bool fill_
True, if background brush is set to fill the shapes.
virtual void SetBackground(const wxBrush &brush)
virtual void DoDrawEllipticArc(wxCoord x, wxCoord y, wxCoord width, wxCoord height, double start, double end)
virtual void DoGetSize(wxCoord *width, wxCoord *height) const
virtual void DoDrawText(const wxString &text, wxCoord x, wxCoord y)
virtual void DoDrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height)
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *colour) const
void setCreator(const std::string &creator)
virtual int GetDepth() const
virtual void DoDrawPolygon(int n, wxPoint points[], wxCoord xoffset=0, wxCoord yoffset=0, int fillStyle=wxODDEVEN_RULE)
EPSGenerator eps_
EPSGenerator generating the postscript code.
void drawCircle(int x, int y, unsigned radius)
unsigned fontSize_
Current font size.