![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXDCPrint.h>
Public Member Functions | |
FXDCPrint (FXApp *a) | |
FXbool | beginPrint (FXPrinter &job) |
FXbool | endPrint () |
FXbool | beginPage (FXuint page=1) |
FXbool | endPage () |
FXbool | setContentRange (FXint pxmin, FXint pymin, FXint pxmax, FXint pymax) |
virtual void | drawPoint (FXint x, FXint y) |
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) |
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) |
virtual void | drawRectangles (const FXRectangle *rectangles, FXuint nrectangles) |
virtual void | drawRoundRectangle (FXint x, FXint y, FXint w, FXint h, FXint ew, FXint eh) |
virtual void | drawArc (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
virtual void | drawArcs (const FXArc *arcs, FXuint narcs) |
virtual void | drawEllipse (FXint x, FXint y, FXint w, FXint h) |
virtual void | fillRectangle (FXint x, FXint y, FXint w, FXint h) |
virtual void | fillRectangles (const FXRectangle *rectangles, FXuint nrectangles) |
virtual void | fillRoundRectangle (FXint x, FXint y, FXint w, FXint h, FXint ew, FXint eh) |
virtual void | fillChord (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
virtual void | fillChords (const FXArc *chords, FXuint nchords) |
virtual void | fillArc (FXint x, FXint y, FXint w, FXint h, FXint ang1, FXint ang2) |
virtual void | fillArcs (const FXArc *arcs, FXuint narcs) |
virtual void | fillEllipse (FXint x, FXint y, FXint w, FXint h) |
virtual void | fillPolygon (const FXPoint *points, FXuint npoints) |
virtual void | fillConcavePolygon (const FXPoint *points, FXuint npoints) |
virtual void | fillComplexPolygon (const FXPoint *points, FXuint npoints) |
virtual void | fillPolygonRel (const FXPoint *points, FXuint npoints) |
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) |
virtual void | drawArea (const FXDrawable *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy) |
virtual void | drawArea (const FXDrawable *source, FXint sx, FXint sy, FXint sw, FXint sh, FXint dx, FXint dy, FXint dw, FXint dh) |
virtual void | drawImage (const FXImage *image, FXint dx, FXint dy) |
virtual void | drawBitmap (const FXBitmap *bitmap, FXint dx, FXint dy) |
virtual void | drawIcon (const FXIcon *icon, FXint dx, FXint dy) |
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) |
virtual void | drawText (FXint x, FXint y, const FXchar *string, FXuint length) |
virtual void | drawImageText (FXint x, FXint y, const FXString &string) |
virtual void | drawImageText (FXint x, FXint y, const FXchar *string, FXuint length) |
virtual void | setForeground (FXColor clr) |
virtual void | setBackground (FXColor clr) |
virtual void | setDashes (FXuint dashoffset, const FXchar *dashlist, FXuint n) |
virtual void | setLineWidth (FXuint linewidth=0) |
virtual void | setLineCap (FXCapStyle capstyle=CAP_BUTT) |
virtual void | setLineJoin (FXJoinStyle joinstyle=JOIN_MITER) |
virtual void | setLineStyle (FXLineStyle linestyle=LINE_SOLID) |
virtual void | setFillStyle (FXFillStyle fillstyle=FILL_SOLID) |
virtual void | setFillRule (FXFillRule fillrule=RULE_EVEN_ODD) |
virtual void | setFunction (FXFunction func=BLT_SRC) |
virtual void | setTile (FXImage *tile, FXint dx=0, FXint dy=0) |
virtual void | setStipple (FXBitmap *stipple, FXint dx=0, FXint dy=0) |
virtual void | setStipple (FXStipplePattern stipple, FXint dx=0, FXint dy=0) |
virtual void | setClipRectangle (FXint x, FXint y, FXint w, FXint h) |
virtual void | setClipRectangle (const FXRectangle &rectangle) |
virtual void | clearClipRectangle () |
virtual void | setClipMask (FXBitmap *mask, FXint dx=0, FXint dy=0) |
virtual void | clearClipMask () |
virtual void | setFont (FXFont *fnt) |
virtual void | clipChildren (FXbool yes) |
void | outhex (FXuint hex) |
void | outf (const char *format,...) |
virtual | ~FXDCPrint () |
FX::FXDCPrint::FXDCPrint | ( | FXApp * | a | ) |
Construct.
virtual FX::FXDCPrint::~FXDCPrint | ( | ) | [virtual] |
Cleanup.
FXbool FX::FXDCPrint::beginPrint | ( | FXPrinter & | job | ) |
Generate print job prolog.
Generate print job epilog.
FXbool FX::FXDCPrint::beginPage | ( | FXuint | page = 1 | ) |
Generate begin of page.
Generate end of page.
virtual void FX::FXDCPrint::drawPoint | ( | FXint | x, |
FXint | y | ||
) | [virtual] |
Draw points.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawPoints | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawPointsRel | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawLine | ( | FXint | x1, |
FXint | y1, | ||
FXint | x2, | ||
FXint | y2 | ||
) | [virtual] |
Draw lines.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawLines | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawLinesRel | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawLineSegments | ( | const FXSegment * | segments, |
FXuint | nsegments | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawRectangle | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h | ||
) | [virtual] |
Draw rectangles.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawRectangles | ( | const FXRectangle * | rectangles, |
FXuint | nrectangles | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawRoundRectangle | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | ew, | ||
FXint | eh | ||
) | [virtual] |
Draw rounded rectangle with ellipse with ew and ellips height eh.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawArc | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | ang1, | ||
FXint | ang2 | ||
) | [virtual] |
Draw arcs.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawArcs | ( | const FXArc * | arcs, |
FXuint | narcs | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawEllipse | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h | ||
) | [virtual] |
Draw ellipse.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillRectangle | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h | ||
) | [virtual] |
Filled rectangles.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillRectangles | ( | const FXRectangle * | rectangles, |
FXuint | nrectangles | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillRoundRectangle | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | ew, | ||
FXint | eh | ||
) | [virtual] |
Filled rounded rectangle with ellipse with ew and ellips height eh.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillChord | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | ang1, | ||
FXint | ang2 | ||
) | [virtual] |
Fill chord.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillChords | ( | const FXArc * | chords, |
FXuint | nchords | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillArc | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | ang1, | ||
FXint | ang2 | ||
) | [virtual] |
Draw arcs.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillArcs | ( | const FXArc * | arcs, |
FXuint | narcs | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillEllipse | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h | ||
) | [virtual] |
Fill ellipse.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillPolygon | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Filled polygon.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillConcavePolygon | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillComplexPolygon | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillPolygonRel | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Filled polygon with relative points.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillConcavePolygonRel | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::fillComplexPolygonRel | ( | const FXPoint * | points, |
FXuint | npoints | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawHashBox | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h, | ||
FXint | b = 1 |
||
) | [virtual] |
Draw hashed box.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawArea | ( | const FXDrawable * | source, |
FXint | sx, | ||
FXint | sy, | ||
FXint | sw, | ||
FXint | sh, | ||
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Draw area from source.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawArea | ( | const FXDrawable * | source, |
FXint | sx, | ||
FXint | sy, | ||
FXint | sw, | ||
FXint | sh, | ||
FXint | dx, | ||
FXint | dy, | ||
FXint | dw, | ||
FXint | dh | ||
) | [virtual] |
Draw area stretched area from source.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawImage | ( | const FXImage * | image, |
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Draw image.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawBitmap | ( | const FXBitmap * | bitmap, |
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Draw bitmap.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawIcon | ( | const FXIcon * | icon, |
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Draw icon.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawIconShaded | ( | const FXIcon * | icon, |
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawIconSunken | ( | const FXIcon * | icon, |
FXint | dx, | ||
FXint | dy | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawText | ( | FXint | x, |
FXint | y, | ||
const FXString & | string | ||
) | [virtual] |
Draw string with base line starting at x, y.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawText | ( | FXint | x, |
FXint | y, | ||
const FXchar * | string, | ||
FXuint | length | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawImageText | ( | FXint | x, |
FXint | y, | ||
const FXString & | string | ||
) | [virtual] |
Draw text starting at x, y over filled background.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::drawImageText | ( | FXint | x, |
FXint | y, | ||
const FXchar * | string, | ||
FXuint | length | ||
) | [virtual] |
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setForeground | ( | FXColor | clr | ) | [virtual] |
Set foreground/background drawing color.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setBackground | ( | FXColor | clr | ) | [virtual] |
Set background drawing color.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setDashes | ( | FXuint | dashoffset, |
const FXchar * | dashlist, | ||
FXuint | n | ||
) | [virtual] |
Set dash pattern.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setLineWidth | ( | FXuint | linewidth = 0 | ) | [virtual] |
Set line width.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setLineCap | ( | FXCapStyle | capstyle = CAP_BUTT | ) | [virtual] |
Set line cap style.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setLineJoin | ( | FXJoinStyle | joinstyle = JOIN_MITER | ) | [virtual] |
Set line join style.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setLineStyle | ( | FXLineStyle | linestyle = LINE_SOLID | ) | [virtual] |
Set line style.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setFillStyle | ( | FXFillStyle | fillstyle = FILL_SOLID | ) | [virtual] |
Set fill style.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setFillRule | ( | FXFillRule | fillrule = RULE_EVEN_ODD | ) | [virtual] |
Set fill rule.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setFunction | ( | FXFunction | func = BLT_SRC | ) | [virtual] |
Set blit function.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setTile | ( | FXImage * | tile, |
FXint | dx = 0 , |
||
FXint | dy = 0 |
||
) | [virtual] |
Set the tile.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setStipple | ( | FXBitmap * | stipple, |
FXint | dx = 0 , |
||
FXint | dy = 0 |
||
) | [virtual] |
Set the stipple pattern.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setStipple | ( | FXStipplePattern | stipple, |
FXint | dx = 0 , |
||
FXint | dy = 0 |
||
) | [virtual] |
Set the stipple pattern.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setClipRectangle | ( | FXint | x, |
FXint | y, | ||
FXint | w, | ||
FXint | h | ||
) | [virtual] |
Set clip rectangle.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setClipRectangle | ( | const FXRectangle & | rectangle | ) | [virtual] |
Set clip rectangle.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::clearClipRectangle | ( | ) | [virtual] |
Clear clipping.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setClipMask | ( | FXBitmap * | mask, |
FXint | dx = 0 , |
||
FXint | dy = 0 |
||
) | [virtual] |
Set clip mask.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::clearClipMask | ( | ) | [virtual] |
Clear clip mask.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::setFont | ( | FXFont * | fnt | ) | [virtual] |
Set font to draw text with.
Reimplemented from FX::FXDC.
virtual void FX::FXDCPrint::clipChildren | ( | FXbool | yes | ) | [virtual] |
Clip drawing by child windows.
Reimplemented from FX::FXDC.
void FX::FXDCPrint::outhex | ( | FXuint | hex | ) |
Temporarily public; do not rely on this!!
void FX::FXDCPrint::outf | ( | const char * | format, |
... | |||
) |
![]() |