Rogue Wave Views 5.5.1 |
Rogue Wave Views |
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=((IlBoolean) 1), IlvRegion const *clip=0, IlvTransformer const *t=0) | |
The constructor. | |
~IlvPrintableGraphic () | |
The destructor. | |
IlvGraphic const * | getGraphic () const |
Gets the graphic object to be printed. | |
void | setGraphic (IlvGraphic *graphic, IlBoolean owner=((IlBoolean) 1)) |
Sets the graphic object to be printed. | |
Protected Member Functions | |
virtual IlBoolean | internalPrint (IlvPrintableJob const &job) const |
This function actually prints the document. |
This class encapsulates an IlvGraphic
so that it can be printed with this library.
Library: ilvprint
IlvPrintableGraphic::IlvPrintableGraphic | ( | IlvGraphic * | graphic, | |
IlBoolean | owner = ((IlBoolean) 1) , |
|||
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.
virtual IlBoolean IlvPrintableGraphic::internalPrint | ( | IlvPrintableJob const & | job | ) | const [protected, virtual] |
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 = ((IlBoolean) 1) | |||
) |
Sets the graphic object to be printed.
graphic | The graphic object to be printed. | |
owner | If IlTrue the graphic object must be deleted. |
© Copyright 2012, 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.