Go to the documentation of this file.
38 #if !wxCHECK_VERSION(3, 0, 0)
92 for (
int i = 0; i < n; i++) {
93 list.
addVertex(vertices[i].x + xOffset, -1 * (vertices[i].y + yOffset));
159 wxColour lineColour = pen.GetColour();
172 if (brush.GetStyle() == wxSOLID) {
174 wxColour fillColour = brush.GetColour();
241 const wxString& , wxCoord, wxCoord,
double) {
367 if (width == height) {
409 double redC = (double)colour.Red() / 255;
410 double greenC = (double)colour.Green() / 255;
411 double blueC = (double)colour.Blue() / 255;
422 double redC = (double)colour.Red() / 255;
423 double greenC = (double)colour.Green() / 255;
424 double blueC = (double)colour.Blue() / 255;
454 const wxString& text,
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)
void drawFilledRectangle(int x, int y, unsigned width, unsigned height)
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
void setFont(unsigned size, std::string fontName="Courier-Bold")
virtual void BeginDrawing()
virtual void DoDrawRotatedText(const wxString &text, wxCoord x, wxCoord y, double angle)
void setTitle(std::string title)
virtual void DoDrawIcon(const wxIcon &icon, wxCoord x, wxCoord y)
void drawEllipse(int x, int y, unsigned width, unsigned height)
void drawFilledCircle(int x, int y, unsigned radius)
void drawRectangle(int x, int y, unsigned width, unsigned height)
virtual void SetPalette(const wxPalette &palette)
void setTitle(const std::string &title)
void writeToStream(std::ostream &stream)
void drawFilledPolygon(const VertexList &vertices)
virtual void DoDrawPoint(wxCoord x, wxCoord y)
void drawText(int x, int y, std::string text)
void setLineWidth(unsigned width)
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
void drawFilledEllipse(int x, int y, unsigned width, unsigned height)
void setFillColour(double r, double g, double b)
void setLineColour(double r, double g, double b)
virtual void SetLogicalFunction(int function)
virtual bool CanGetTextExtent() const
find Finds info of the inner loops in the false
virtual void SetBrush(const wxBrush &brush)
virtual void EndDrawing()
void drawLine(int llx, int lly, int urx, int ury)
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)
void drawCircle(int x, int y, unsigned radius)
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
static int toInt(const T &source)
void setCreator(const std::string &creator)
static std::string toString(const wxString &source)
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 writeEPS(std::ostream &stream)
void drawPolygon(const VertexList &vertices)
void addVertex(int x, int y)
void setCreator(std::string creator)
void drawCircle(int x, int y, unsigned radius)
unsigned fontSize_
Current font size.