Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class encapsulates an IlvGraphic
so that it can be printed with this library.
More...
#include <ilviews/printing/printables.h>
Public Member Functions | |
IlvPrintableGraphic (IlvGraphic *graphic, IlBoolean owner=IlTrue, IlvRegion const *clip=0, IlvTransformer const *t=0) | |
The constructor. More... | |
~IlvPrintableGraphic () | |
The destructor. More... | |
IlvGraphic const * | getGraphic () const |
Gets the graphic object to be printed. More... | |
void | setGraphic (IlvGraphic *graphic, IlBoolean owner=IlTrue) |
Sets the graphic object to be printed. More... | |
Public Member Functions inherited from IlvPrintableScalable | |
IlvPrintableScalable (IlvRect const &scalableArea, IlvRegion const *clip=0, IlvTransformer const *t=0) | |
The default constructor. More... | |
virtual IlvRect | getBBox (IlvPrintableJob const &job) const |
Gets the bounding box of the area to print. More... | |
IlvRegion const & | getClip () const |
Returns the clip size. More... | |
IlvRect const & | getScalableArea () const |
Returns the area to be printed. More... | |
IlvTransformer const * | getTransformer () const |
Gets the transformer to be used by the drawing. More... | |
IlBoolean | hasClip () const |
Returns an indication of whether a clip was given or not. More... | |
IlBoolean | hasTransformer () const |
Returns an indication of whether a transformer was given or not. More... | |
void | resetClip () |
Resets the clip. More... | |
void | resetTransformer () |
Resets the transformer. More... | |
void | setClip (IlvRegion const &clip) |
Sets the clip size. More... | |
void | setScalableArea (IlvRect const &scalableArea) |
Sets the area to be printed. More... | |
void | setTransformer (IlvTransformer const *t) |
Sets the transformer to be used by the drawing. More... | |
Public Member Functions inherited from IlvPrintable | |
IlvPrintable () | |
The default constructor. | |
IlvPrintable (IlvPrintable const &other) | |
The copy constructor. More... | |
virtual | ~IlvPrintable () |
The destructor. More... | |
void | lock () |
Locks the current instance. More... | |
IlvPrintable & | operator= (IlvPrintable const &other) |
The assignment operator. More... | |
IlBoolean | print (IlvPrintableJob const &job) const |
Prints the contents of the object. More... | |
void | unlock () |
Unlocks the current instance. More... | |
Protected Member Functions | |
virtual IlBoolean | internalPrint (IlvPrintableJob const &job) const |
This function actually prints the document. More... | |
This class encapsulates an IlvGraphic
so that it can be printed with this library.
Library: ilvprint
IlvPrintableGraphic::IlvPrintableGraphic | ( | IlvGraphic * | graphic, |
IlBoolean | owner = IlTrue , |
||
IlvRegion const * | clip = 0 , |
||
IlvTransformer const * | t = 0 |
||
) |
The constructor.
graphic | A const pointer to an IlvGraphic . |
owner | If IlTrue the destructor deletes the graphic object. |
clip | A const pointer to an IlvRegion that defines the clip. |
t | A const pointer to an IlvTransformer that defines the transformer used by the drawing. |
IlvPrintableGraphic::~IlvPrintableGraphic | ( | ) |
The destructor.
Deletes the graphic object when owner.
IlvGraphic const* IlvPrintableGraphic::getGraphic | ( | ) | const |
Gets the graphic object to be printed.
|
protectedvirtual |
This function actually prints the document.
job | The settings of the current print job. |
IlFalse
if an error occurred during the printing, IlTrue
otherwise. Implements IlvPrintable.
void IlvPrintableGraphic::setGraphic | ( | IlvGraphic * | graphic, |
IlBoolean | owner = IlTrue |
||
) |
Sets the graphic object to be printed.
graphic | The graphic object to be printed. |
owner | If IlTrue the graphic object must be deleted. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.