Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
This class is used to represent an actual area where to print. More...
#include <ilviews/printing/layout.h>
Public Member Functions | |
IlvPrintableActualArea (IlvPrintableLayout const &layout, IlvRect const &bbox, IlvTransformer const &transformer) | |
The constructor. More... | |
virtual IlvPrintableArea * | clone () const |
Returns a pointer to a new instance of IlvPrintableActualArea ; this object is a copy of the current object. More... | |
virtual IlBoolean | print (IlvPrintableJob &job, IlvPrintable *printable) const |
Prints the area. More... | |
virtual void | setBBox (IlvRect const &bbox) |
Sets the size of the area. More... | |
virtual void | setTransformer (IlvTransformer const &transformer) |
Sets the transformer of the area. More... | |
Public Member Functions inherited from IlvPrintableArea | |
IL_EXPLICIT | IlvPrintableArea (IlvPrintableLayout const &layout) |
The constructor. More... | |
virtual | ~IlvPrintableArea () |
The destructor. More... | |
IlvPrintableLayout const & | getPrintableLayout () const |
Gets the associated IlvPrintableLayout object. More... | |
Protected Member Functions | |
IlvRect | getBBox () const |
Gets the size of the area. More... | |
IlvTransformer | getTransformer () const |
Gets the transformer of the area. More... | |
This class is used to represent an actual area where to print.
Library: ilvprint
Although this class may be used as is, it may be specialized by derivation by overloading the function print
or getBBox
.
IlvPrintableActualArea::IlvPrintableActualArea | ( | IlvPrintableLayout const & | layout, |
IlvRect const & | bbox, | ||
IlvTransformer const & | transformer | ||
) |
The constructor.
Calls IlvPrintableArea::IlvPrintableArea(layout)
and stores the bbox.
layout | The IlvPrintableLayout associated with this object. |
bbox | The size of the area. |
transformer | The transformer of the area. |
|
virtual |
Returns a pointer to a new instance of IlvPrintableActualArea
; this object is a copy of the current object.
IlvPrintableArea*
. Implements IlvPrintableArea.
|
protected |
Gets the size of the area.
This virtual function just returns the stored size. It may be overloaded in inherited classes.
IlvRect
.
|
protected |
Gets the transformer of the area.
This virtual function just returns the stored transformer. It may be overloaded in inherited classes.
IlvTransformer
.
|
virtual |
Prints the area.
This function overloads the print
member function of IlvPrintableArea
. It calls the protected virtual function getBBox
.
job | The current print settings. |
IlTrue
if printing was successful. Implements IlvPrintableArea.
|
virtual |
Sets the size of the area.
Overloads the IlvPrintableArea
member function. It actually stores the bbox.
bbox | The new size of the area. |
Implements IlvPrintableArea.
|
virtual |
Sets the transformer of the area.
Overloads the IlvPrintableArea
member function. It actually stores the transformer.
transformer | The new transformer. |
Implements IlvPrintableArea.
© 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.