38 BLT_NOT_SRC_AND_NOT_DST,
44 BLT_NOT_SRC_OR_NOT_DST,
91 enum FXStipplePattern {
117 STIPPLE_REVDIAG = 21,
118 STIPPLE_CROSSDIAG = 22
160 FXStipplePattern pattern;
197 virtual FXColor readPixel(FXint x,FXint y);
200 virtual void drawPoint(FXint x,FXint y);
201 virtual void drawPoints(
const FXPoint* points,FXuint npoints);
202 virtual void drawPointsRel(
const FXPoint* points,FXuint npoints);
205 virtual void drawLine(FXint x1,FXint y1,FXint x2,FXint y2);
206 virtual void drawLines(
const FXPoint* points,FXuint npoints);
207 virtual void drawLinesRel(
const FXPoint* points,FXuint npoints);
208 virtual void drawLineSegments(
const FXSegment* segments,FXuint nsegments);
211 virtual void drawRectangle(FXint x,FXint y,FXint w,FXint h);
212 virtual void drawRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
215 virtual void drawRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
225 virtual void drawArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
226 virtual void drawArcs(
const FXArc* arcs,FXuint narcs);
229 virtual void drawEllipse(FXint x,FXint y,FXint w,FXint h);
232 virtual void fillRectangle(FXint x,FXint y,FXint w,FXint h);
233 virtual void fillRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
236 virtual void fillRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
239 virtual void fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
240 virtual void fillChords(
const FXArc* chords,FXuint nchords);
243 virtual void fillArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
244 virtual void fillArcs(
const FXArc* arcs,FXuint narcs);
247 virtual void fillEllipse(FXint x,FXint y,FXint w,FXint h);
250 virtual void fillPolygon(
const FXPoint* points,FXuint npoints);
251 virtual void fillConcavePolygon(
const FXPoint* points,FXuint npoints);
252 virtual void fillComplexPolygon(
const FXPoint* points,FXuint npoints);
255 virtual void fillPolygonRel(
const FXPoint* points,FXuint npoints);
256 virtual void fillConcavePolygonRel(
const FXPoint* points,FXuint npoints);
257 virtual void fillComplexPolygonRel(
const FXPoint* points,FXuint npoints);
260 virtual void fillVerticalGradient(FXint x,FXint y,FXint w,FXint h,FXColor top,FXColor bottom);
263 virtual void fillHorizontalGradient(FXint x,FXint y,FXint w,FXint h,FXColor left,FXColor right);
266 virtual void drawHashBox(FXint x,FXint y,FXint w,FXint h,FXint b=1);
269 virtual void drawFocusRectangle(FXint x,FXint y,FXint w,FXint h);
272 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy);
275 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy,FXint dw,FXint dh);
278 virtual void drawImage(
const FXImage* image,FXint dx,FXint dy);
281 virtual void drawBitmap(
const FXBitmap* bitmap,FXint dx,FXint dy);
284 virtual void drawIcon(
const FXIcon* icon,FXint dx,FXint dy);
285 virtual void drawIconShaded(
const FXIcon* icon,FXint dx,FXint dy);
286 virtual void drawIconSunken(
const FXIcon* icon,FXint dx,FXint dy);
289 virtual void drawText(FXint x,FXint y,
const FXString&
string);
290 virtual void drawText(FXint x,FXint y,
const FXchar*
string,FXuint length);
293 virtual void drawImageText(FXint x,FXint y,
const FXString&
string);
294 virtual void drawImageText(FXint x,FXint y,
const FXchar*
string,FXuint length);
297 virtual void setForeground(FXColor clr);
303 virtual void setBackground(FXColor clr);
315 virtual void setDashes(FXuint dashoffset,
const FXuchar *dashpattern,FXuint dashlength);
327 virtual void setLineWidth(FXuint linewidth=0);
333 virtual void setLineCap(FXCapStyle capstyle=CAP_BUTT);
339 virtual void setLineJoin(FXJoinStyle joinstyle=JOIN_MITER);
345 virtual void setLineStyle(FXLineStyle linestyle=LINE_SOLID);
351 virtual void setFillStyle(FXFillStyle fillstyle=FILL_SOLID);
357 virtual void setFillRule(FXFillRule fillrule=RULE_EVEN_ODD);
363 virtual void setFunction(FXFunction func=BLT_SRC);
369 virtual void setTile(
FXImage* image,FXint dx=0,FXint dy=0);
375 virtual void setStipple(
FXBitmap *bitmap,FXint dx=0,FXint dy=0);
381 virtual void setStipple(FXStipplePattern pat,FXint dx=0,FXint dy=0);
387 virtual void setClipRegion(
const FXRegion& region);
390 virtual void setClipRectangle(FXint x,FXint y,FXint w,FXint h);
393 virtual void setClipRectangle(
const FXRectangle& rectangle);
411 virtual void clearClipRectangle();
414 virtual void setClipMask(
FXBitmap* bitmap,FXint dx=0,FXint dy=0);
417 virtual void clearClipMask();
420 virtual void setFont(
FXFont *fnt);
426 virtual void clipChildren(FXbool yes);
FXCapStyle getLineCap() const
Get line cap style.
Definition: FXDC.h:336
FXStipplePattern getStipplePattern() const
Get pattern.
Definition: FXDC.h:384
FXuint getDashLength() const
Get dash length.
Definition: FXDC.h:324
A Bitmap is a rectangular array of pixels.
Definition: FXBitmap.h:55
FXint getClipX() const
Return clip x.
Definition: FXDC.h:399
void * context() const
Get context handle.
Definition: FXDC.h:194
Rectangle.
Definition: FXRectangle.h:32
FXint getClipWidth() const
Return clip width.
Definition: FXDC.h:405
const FXRectangle & getClipRectangle() const
Return clip rectangle.
Definition: FXDC.h:396
FXColor getForeground() const
Get foreground drawing color.
Definition: FXDC.h:300
const FXuchar * getDashPattern() const
Get dash pattern.
Definition: FXDC.h:318
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
FXLineStyle getLineStyle() const
Get line style.
Definition: FXDC.h:348
FXFont * getFont() const
Get text font.
Definition: FXDC.h:423
FXint getClipHeight() const
Return clip height.
Definition: FXDC.h:408
Arc.
Definition: FXDC.h:129
Line segment.
Definition: FXDC.h:123
FXApp * getApp() const
Get application.
Definition: FXDC.h:191
FXuint getDashOffset() const
Get dash offset.
Definition: FXDC.h:321
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
FXint getClipY() const
Return clip y.
Definition: FXDC.h:402
FXJoinStyle getLineJoin() const
Get line join style.
Definition: FXDC.h:342
FXuint getLineWidth() const
Get line width.
Definition: FXDC.h:330
FXBitmap * getStippleBitmap() const
Get stipple bitmap.
Definition: FXDC.h:378
Point.
Definition: FXPoint.h:32
Region.
Definition: FXRegion.h:28
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
FXColor getBackground() const
Get background drawing color.
Definition: FXDC.h:306
FXImage * getTile() const
Get the tile image.
Definition: FXDC.h:372
Font class.
Definition: FXFont.h:137
FXFunction getFunction() const
Get rasterop function.
Definition: FXDC.h:366
FXFillStyle getFillStyle() const
Get fill style.
Definition: FXDC.h:354
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
FXFillRule getFillRule() const
Get fill rule.
Definition: FXDC.h:360