62 FXbool needsClipReset;
96 virtual FXColor readPixel(FXint x,FXint y);
99 virtual void drawPoint(FXint x,FXint y);
100 virtual void drawPoints(
const FXPoint* points,FXuint npoints);
101 virtual void drawPointsRel(
const FXPoint* points,FXuint npoints);
104 virtual void drawLine(FXint x1,FXint y1,FXint x2,FXint y2);
105 virtual void drawLines(
const FXPoint* points,FXuint npoints);
106 virtual void drawLinesRel(
const FXPoint* points,FXuint npoints);
107 virtual void drawLineSegments(
const FXSegment* segments,FXuint nsegments);
110 virtual void drawRectangle(FXint x,FXint y,FXint w,FXint h);
111 virtual void drawRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
114 virtual void drawRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
117 virtual void drawArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
118 virtual void drawArcs(
const FXArc* arcs,FXuint narcs);
121 virtual void drawEllipse(FXint x,FXint y,FXint w,FXint h);
124 virtual void fillRectangle(FXint x,FXint y,FXint w,FXint h);
125 virtual void fillRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
128 virtual void fillRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
131 virtual void fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
132 virtual void fillChords(
const FXArc* chords,FXuint nchords);
135 virtual void fillArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
136 virtual void fillArcs(
const FXArc* arcs,FXuint narcs);
139 virtual void fillEllipse(FXint x,FXint y,FXint w,FXint h);
142 virtual void fillPolygon(
const FXPoint* points,FXuint npoints);
143 virtual void fillConcavePolygon(
const FXPoint* points,FXuint npoints);
144 virtual void fillComplexPolygon(
const FXPoint* points,FXuint npoints);
147 virtual void fillPolygonRel(
const FXPoint* points,FXuint npoints);
148 virtual void fillConcavePolygonRel(
const FXPoint* points,FXuint npoints);
149 virtual void fillComplexPolygonRel(
const FXPoint* points,FXuint npoints);
152 virtual void fillVerticalGradient(FXint x,FXint y,FXint w,FXint h,FXColor top,FXColor bottom);
155 virtual void fillHorizontalGradient(FXint x,FXint y,FXint w,FXint h,FXColor left,FXColor right);
158 virtual void drawHashBox(FXint x,FXint y,FXint w,FXint h,FXint b=1);
161 virtual void drawFocusRectangle(FXint x,FXint y,FXint w,FXint h);
164 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy);
167 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy,FXint dw,FXint dh);
170 virtual void drawImage(
const FXImage* image,FXint dx,FXint dy);
173 virtual void drawBitmap(
const FXBitmap* bitmap,FXint dx,FXint dy);
176 virtual void drawIcon(
const FXIcon* icon,FXint dx,FXint dy);
177 virtual void drawIconShaded(
const FXIcon* icon,FXint dx,FXint dy);
178 virtual void drawIconSunken(
const FXIcon* icon,FXint dx,FXint dy);
181 virtual void drawText(FXint x,FXint y,
const FXString&
string);
182 virtual void drawText(FXint x,FXint y,
const FXchar*
string,FXuint length);
185 virtual void drawImageText(FXint x,FXint y,
const FXString&
string);
186 virtual void drawImageText(FXint x,FXint y,
const FXchar*
string,FXuint length);
189 virtual void setForeground(FXColor clr);
190 virtual void setBackground(FXColor clr);
193 virtual void setDashes(FXuint dashoffset,
const FXuchar *dashpattern,FXuint dashlength);
196 virtual void setLineWidth(FXuint linewidth=0);
199 virtual void setLineCap(FXCapStyle capstyle=CAP_BUTT);
202 virtual void setLineJoin(FXJoinStyle joinstyle=JOIN_MITER);
205 virtual void setLineStyle(FXLineStyle linestyle=LINE_SOLID);
208 virtual void setFillStyle(FXFillStyle fillstyle=FILL_SOLID);
211 virtual void setFillRule(FXFillRule fillrule=RULE_EVEN_ODD);
214 virtual void setFunction(FXFunction func=BLT_SRC);
217 virtual void setTile(
FXImage* tile,FXint dx=0,FXint dy=0);
220 virtual void setStipple(
FXBitmap *stipple,FXint dx=0,FXint dy=0);
223 virtual void setStipple(FXStipplePattern stipple,FXint dx=0,FXint dy=0);
226 virtual void setClipRegion(
const FXRegion& region);
229 virtual void setClipRectangle(FXint x,FXint y,FXint w,FXint h);
232 virtual void setClipRectangle(
const FXRectangle& rectangle);
235 virtual void clearClipRectangle();
238 virtual void setClipMask(
FXBitmap* mask,FXint dx=0,FXint dy=0);
241 virtual void clearClipMask();
244 virtual void setFont(
FXFont *fnt);
247 virtual void clipChildren(FXbool yes);
FXDrawable * drawable() const
Return active drawable.
Definition: FXDCWindow.h:87
A Bitmap is a rectangular array of pixels.
Definition: FXBitmap.h:55
Rectangle.
Definition: FXRectangle.h:32
Arc.
Definition: FXDC.h:129
Line segment.
Definition: FXDC.h:123
Abstract Device Context.
Definition: FXDC.h:153
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
FOX Event.
Definition: FXEvent.h:165
Point.
Definition: FXPoint.h:32
Window Device Context.
Definition: FXDCWindow.h:48
Region.
Definition: FXRegion.h:28
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
Font class.
Definition: FXFont.h:137
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow...
Definition: FXDrawable.h:38