47 PRINT_PAGES_RANGE = 8,
48 PRINT_COLLATE_NORMAL = 0,
49 PRINT_COLLATE_REVERSED = 16,
52 PRINT_BLACKANDWHITE = 0,
105 FXdouble mediaheight;
116 void bbox(FXdouble x,FXdouble y);
117 void tfm(FXdouble& xo,FXdouble& yo,FXdouble xi,FXdouble yi);
134 FXbool beginPage(FXuint page=1);
139 FXbool setContentRange(FXint pxmin,FXint pymin,FXint pxmax,FXint pymax);
142 virtual void drawPoint(FXint x,FXint y);
143 virtual void drawPoints(
const FXPoint* points,FXuint npoints);
144 virtual void drawPointsRel(
const FXPoint* points,FXuint npoints);
147 virtual void drawLine(FXint x1,FXint y1,FXint x2,FXint y2);
148 virtual void drawLines(
const FXPoint* points,FXuint npoints);
149 virtual void drawLinesRel(
const FXPoint* points,FXuint npoints);
150 virtual void drawLineSegments(
const FXSegment* segments,FXuint nsegments);
153 virtual void drawRectangle(FXint x,FXint y,FXint w,FXint h);
154 virtual void drawRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
157 virtual void drawRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
160 virtual void drawArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
161 virtual void drawArcs(
const FXArc* arcs,FXuint narcs);
164 virtual void drawEllipse(FXint x,FXint y,FXint w,FXint h);
167 virtual void fillRectangle(FXint x,FXint y,FXint w,FXint h);
168 virtual void fillRectangles(
const FXRectangle* rectangles,FXuint nrectangles);
171 virtual void fillRoundRectangle(FXint x,FXint y,FXint w,FXint h,FXint ew,FXint eh);
174 virtual void fillChord(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
175 virtual void fillChords(
const FXArc* chords,FXuint nchords);
178 virtual void fillArc(FXint x,FXint y,FXint w,FXint h,FXint ang1,FXint ang2);
179 virtual void fillArcs(
const FXArc* arcs,FXuint narcs);
182 virtual void fillEllipse(FXint x,FXint y,FXint w,FXint h);
185 virtual void fillPolygon(
const FXPoint* points,FXuint npoints);
186 virtual void fillConcavePolygon(
const FXPoint* points,FXuint npoints);
187 virtual void fillComplexPolygon(
const FXPoint* points,FXuint npoints);
190 virtual void fillPolygonRel(
const FXPoint* points,FXuint npoints);
191 virtual void fillConcavePolygonRel(
const FXPoint* points,FXuint npoints);
192 virtual void fillComplexPolygonRel(
const FXPoint* points,FXuint npoints);
195 virtual void drawHashBox(FXint x,FXint y,FXint w,FXint h,FXint b=1);
198 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy);
201 virtual void drawArea(
const FXDrawable* source,FXint sx,FXint sy,FXint sw,FXint sh,FXint dx,FXint dy,FXint dw,FXint dh);
204 virtual void drawImage(
const FXImage* image,FXint dx,FXint dy);
207 virtual void drawBitmap(
const FXBitmap* bitmap,FXint dx,FXint dy);
210 virtual void drawIcon(
const FXIcon* icon,FXint dx,FXint dy);
211 virtual void drawIconShaded(
const FXIcon* icon,FXint dx,FXint dy);
212 virtual void drawIconSunken(
const FXIcon* icon,FXint dx,FXint dy);
215 virtual void drawText(FXint x,FXint y,
const FXString&
string);
216 virtual void drawText(FXint x,FXint y,
const FXchar*
string,FXuint length);
219 virtual void drawImageText(FXint x,FXint y,
const FXString&
string);
220 virtual void drawImageText(FXint x,FXint y,
const FXchar*
string,FXuint length);
223 virtual void setForeground(FXColor clr);
224 virtual void setBackground(FXColor clr);
227 virtual void setDashes(FXuint dashoffset,
const FXuchar *dashlist,FXuint n);
230 virtual void setLineWidth(FXuint linewidth=0);
233 virtual void setLineCap(FXCapStyle capstyle=CAP_BUTT);
236 virtual void setLineJoin(FXJoinStyle joinstyle=JOIN_MITER);
239 virtual void setLineStyle(FXLineStyle linestyle=LINE_SOLID);
242 virtual void setFillStyle(FXFillStyle fillstyle=FILL_SOLID);
245 virtual void setFillRule(FXFillRule fillrule=RULE_EVEN_ODD);
248 virtual void setFunction(FXFunction func=BLT_SRC);
251 virtual void setTile(
FXImage* tile,FXint dx=0,FXint dy=0);
254 virtual void setStipple(
FXBitmap *stipple,FXint dx=0,FXint dy=0);
257 virtual void setStipple(FXStipplePattern stipple,FXint dx=0,FXint dy=0);
260 virtual void setClipRectangle(FXint x,FXint y,FXint w,FXint h);
263 virtual void setClipRectangle(
const FXRectangle& rectangle);
266 virtual void clearClipRectangle();
269 virtual void setClipMask(
FXBitmap* mask,FXint dx=0,FXint dy=0);
272 virtual void clearClipMask();
275 virtual void setFont(
FXFont *fnt);
278 virtual void clipChildren(FXbool yes);
281 void outhex(FXuint hex);
282 void outf(
const char* format,...);
FXdouble rightmargin
Left margin.
Definition: FXDCPrint.h:89
FXuint frompage
Current page to print.
Definition: FXDCPrint.h:83
A Bitmap is a rectangular array of pixels.
Definition: FXBitmap.h:55
Rectangle.
Definition: FXRectangle.h:32
FXdouble mediawidth
Media size index.
Definition: FXDCPrint.h:86
FXuint lastpage
First page that can be printed.
Definition: FXDCPrint.h:81
Postscript Printer Device Context.
Definition: FXDCPrint.h:98
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
Describes printer.
Definition: FXDCPrint.h:78
Arc.
Definition: FXDC.h:129
Line segment.
Definition: FXDC.h:123
FXuint topage
On output, this is the first page to print.
Definition: FXDCPrint.h:84
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
FXuint currentpage
Last page that can be printed.
Definition: FXDCPrint.h:82
FXdouble topmargin
Right margin.
Definition: FXDCPrint.h:90
FXuint flags
Number of copies.
Definition: FXDCPrint.h:93
FXuint firstpage
Printer name.
Definition: FXDCPrint.h:80
FXdouble leftmargin
Height of paper in points.
Definition: FXDCPrint.h:88
FXdouble mediaheight
Width of paper in points [1/72 of an inch].
Definition: FXDCPrint.h:87
Point.
Definition: FXPoint.h:32
FXuint mediasize
On output, last page to print.
Definition: FXDCPrint.h:85
An Image is a rectangular array of pixels.
Definition: FXImage.h:67
FXdouble bottommargin
Top margin.
Definition: FXDCPrint.h:91
FXuint numcopies
Bottom margin.
Definition: FXDCPrint.h:92
Font class.
Definition: FXFont.h:137
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42
Bounding box.
Definition: FXDCPrint.h:69
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow...
Definition: FXDrawable.h:38