![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Postscript Printer Device Context. More...
#include <FXDCPrint.h>
Public Member Functions | |
| FXDCPrint (FXApp *a) | |
| Construct. | |
| FXbool | beginPrint (FXPrinter &job) |
| Generate print job prolog. | |
| FXbool | endPrint () |
| Generate print job epilog. | |
| FXbool | beginPage (FXuint page=1) |
| Generate begin of page. | |
| FXbool | endPage () |
| Generate end of page. | |
| FXbool | setContentRange (FXint pxmin, FXint pymin, FXint pxmax, FXint pymax) |
| virtual void | drawPoint (FXint x, FXint y) |
| Draw points. | |
| virtual void | drawPoints (const FXPoint *points, FXuint npoints) |
| virtual void | drawPointsRel (const FXPoint *points, FXuint npoints) |
| virtual void | drawLine (FXint x1, FXint y1, FXint x2, FXint y2) |
| Draw lines. | |
| virtual void | drawLines (const FXPoint *points, FXuint npoints) |
| virtual void | drawLinesRel (const FXPoint *points, FXuint npoints) |
| virtual void | drawLineSegments (const FXSegment *segments, FXuint nsegments) |
| virtual void | drawRectangle (FXint x, FXint y, FXint w, FXint h) |
| Draw rectangles. | |
| virtual void | drawRectangles (const FXRectangle *rectangles, FXuint nrectangles) |
| virtual void | drawRoundRectangle (FXint x, FXint y, FXint w, FXint h, FXint ew, FXint eh) |
| Draw rounded rectangle with ellipse with ew and ellips height eh. | |
| virtual void | drawArc (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
| Draw arcs. | |
| virtual void | drawArcs (const FXArc *arcs, FXuint narcs) |
| virtual void | drawEllipse (FXint x, FXint y, FXint w, FXint h) |
| Draw ellipse. | |
| virtual void | fillRectangle (FXint x, FXint y, FXint w, FXint h) |
| Filled rectangles. | |
| virtual void | fillRectangles (const FXRectangle *rectangles, FXuint nrectangles) |
| virtual void | fillRoundRectangle (FXint x, FXint y, FXint w, FXint h, FXint ew, FXint eh) |
| Filled rounded rectangle with ellipse with ew and ellips height eh. | |
| virtual void | fillChord (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
| Fill chord. | |
| virtual void | fillChords (const FXArc *chords, FXuint nchords) |
| virtual void | fillArc (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
| Draw arcs. | |
| virtual void | fillArcs (const FXArc *arcs, FXuint narcs) |
| virtual void | fillEllipse (FXint x, FXint y, FXint w, FXint h) |
| Fill ellipse. | |
| virtual void | fillPolygon (const FXPoint *points, FXuint npoints) |
| Filled polygon. | |
| virtual void | fillConcavePolygon (const FXPoint *points, FXuint npoints) |
| virtual void | fillComplexPolygon (const FXPoint *points, FXuint npoints) |
| virtual void | fillPolygonRel (const FXPoint *points, FXuint npoints) |
| Filled polygon with relative points. | |
| virtual void | fillConcavePolygonRel (const FXPoint *points, FXuint npoints) |
| virtual void | fillComplexPolygonRel (const FXPoint *points, FXuint npoints) |
| virtual void | drawHashBox (FXint x, FXint y, FXint w, FXint h, FXint b=1) |
| Draw hashed box. | |
| virtual void | drawArea (const FXDrawable *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy) |
| Draw area from source. | |
| virtual void | drawArea (const FXDrawable *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy, FXint dw, FXint dh) |
| Draw area stretched area from source. | |
| virtual void | drawImage (const FXImage *image, FXint dx, FXint dy) |
| Draw image. | |
| virtual void | drawBitmap (const FXBitmap *bitmap, FXint dx, FXint dy) |
| Draw bitmap. | |
| virtual void | drawIcon (const FXIcon *icon, FXint dx, FXint dy) |
| Draw icon. | |
| virtual void | drawIconShaded (const FXIcon *icon, FXint dx, FXint dy) |
| virtual void | drawIconSunken (const FXIcon *icon, FXint dx, FXint dy) |
| virtual void | drawText (FXint x, FXint y, const FXString &string) |
| Draw string with base line starting at x, y. | |
| virtual void | drawText (FXint x, FXint y, const FXchar *string, FXuint length) |
| virtual void | drawImageText (FXint x, FXint y, const FXString &string) |
| Draw text starting at x, y over filled background. | |
| virtual void | drawImageText (FXint x, FXint y, const FXchar *string, FXuint length) |
| virtual void | setForeground (FXColor clr) |
| Set foreground/background drawing color. | |
| virtual void | setBackground (FXColor clr) |
| Set background drawing color. | |
| virtual void | setDashes (FXuint dashoffset, const FXuchar *dashlist, FXuint n) |
| Set dash pattern. | |
| virtual void | setLineWidth (FXuint linewidth=0) |
| Set line width. | |
| virtual void | setLineCap (FXCapStyle capstyle=CAP_BUTT) |
| Set line cap style. | |
| virtual void | setLineJoin (FXJoinStyle joinstyle=JOIN_MITER) |
| Set line join style. | |
| virtual void | setLineStyle (FXLineStyle linestyle=LINE_SOLID) |
| Set line style. | |
| virtual void | setFillStyle (FXFillStyle fillstyle=FILL_SOLID) |
| Set fill style. | |
| virtual void | setFillRule (FXFillRule fillrule=RULE_EVEN_ODD) |
| Set fill rule. | |
| virtual void | setFunction (FXFunction func=BLT_SRC) |
| Set blit function. | |
| virtual void | setTile (FXImage *tile, FXint dx=0, FXint dy=0) |
| Set the tile. | |
| virtual void | setStipple (FXBitmap *stipple, FXint dx=0, FXint dy=0) |
| Set the stipple pattern. | |
| virtual void | setStipple (FXStipplePattern stipple, FXint dx=0, FXint dy=0) |
| Set the stipple pattern. | |
| virtual void | setClipRectangle (FXint x, FXint y, FXint w, FXint h) |
| Set clip rectangle. | |
| virtual void | setClipRectangle (const FXRectangle &rectangle) |
| Set clip rectangle. | |
| virtual void | clearClipRectangle () |
| Clear clipping. | |
| virtual void | setClipMask (FXBitmap *mask, FXint dx=0, FXint dy=0) |
| Set clip mask. | |
| virtual void | clearClipMask () |
| Clear clip mask. | |
| virtual void | setFont (FXFont *fnt) |
| Set font to draw text with. | |
| virtual void | clipChildren (FXbool yes) |
| Clip drawing by child windows. | |
| void | outhex (FXuint hex) |
| Temporarily public; do not rely on this!! | |
| void | outf (const char *format,...) |
| virtual | ~FXDCPrint () |
| Cleanup. | |
Public Member Functions inherited from FX::FXDC | |
| FXDC (FXApp *a) | |
| Construct dummy DC. | |
| FXApp * | getApp () const |
| Get application. | |
| void * | context () const |
| Get context handle. | |
| virtual FXColor | readPixel (FXint x, FXint y) |
| Read back pixel. | |
| virtual void | fillVerticalGradient (FXint x, FXint y, FXint w, FXint h, FXColor top, FXColor bottom) |
| Fill vertical gradient rectangle. | |
| virtual void | fillHorizontalGradient (FXint x, FXint y, FXint w, FXint h, FXColor left, FXColor right) |
| Fill horizontal gradient rectangle. | |
| virtual void | drawFocusRectangle (FXint x, FXint y, FXint w, FXint h) |
| Draw focus rectangle. | |
| FXColor | getForeground () const |
| Get foreground drawing color. | |
| FXColor | getBackground () const |
| Get background drawing color. | |
| const FXuchar * | getDashPattern () const |
| Get dash pattern. | |
| FXuint | getDashOffset () const |
| Get dash offset. | |
| FXuint | getDashLength () const |
| Get dash length. | |
| FXuint | getLineWidth () const |
| Get line width. | |
| FXCapStyle | getLineCap () const |
| Get line cap style. | |
| FXJoinStyle | getLineJoin () const |
| Get line join style. | |
| FXLineStyle | getLineStyle () const |
| Get line style. | |
| FXFillStyle | getFillStyle () const |
| Get fill style. | |
| FXFillRule | getFillRule () const |
| Get fill rule. | |
| FXFunction | getFunction () const |
| Get rasterop function. | |
| FXImage * | getTile () const |
| Get the tile image. | |
| FXBitmap * | getStippleBitmap () const |
| Get stipple bitmap. | |
| FXStipplePattern | getStipplePattern () const |
| Get pattern. | |
| virtual void | setClipRegion (const FXRegion ®ion) |
| Set clip region. | |
| const FXRectangle & | getClipRectangle () const |
| Return clip rectangle. | |
| FXint | getClipX () const |
| Return clip x. | |
| FXint | getClipY () const |
| Return clip y. | |
| FXint | getClipWidth () const |
| Return clip width. | |
| FXint | getClipHeight () const |
| Return clip height. | |
| FXFont * | getFont () const |
| Get text font. | |
| virtual | ~FXDC () |
| Destructor. | |
Protected Member Functions | |
| void | bbox (FXdouble x, FXdouble y) |
| void | tfm (FXdouble &xo, FXdouble &yo, FXdouble xi, FXdouble yi) |
Protected Attributes | |
| void * | psout |
| FXFont * | font |
| FXuint | flags |
| FXint | Xr |
| FXint | Yr |
| FXdouble | mediawidth |
| FXdouble | mediaheight |
| FXPSBounds | mediabb |
| FXPSBounds | docbb |
| FXPSBounds | pagebb |
| FXint | pagecount |
| FXint | nchars |
| FXint | pxmin |
| FXint | pymin |
| FXint | pxmax |
| FXint | pymax |
Protected Attributes inherited from FX::FXDC | |
| void * | ctx |
| FXFont * | font |
| FXStipplePattern | pattern |
| FXBitmap * | stipple |
| FXImage * | tile |
| FXBitmap * | mask |
| FXRectangle | clip |
| FXColor | fg |
| FXColor | bg |
| FXuint | width |
| FXCapStyle | cap |
| FXJoinStyle | join |
| FXLineStyle | style |
| FXFillStyle | fill |
| FXFillRule | rule |
| FXFunction | rop |
| FXuchar | dashpat [32] |
| FXuint | dashlen |
| FXuint | dashoff |
| FXint | tx |
| FXint | ty |
| FXint | cx |
| FXint | cy |
Postscript Printer Device Context.
|
|