This class prints a frame (a rectangle).
More...
#include <ilviews/printing/printables.h>
This class prints a frame (a rectangle).
Library: ilvprint
- See also
- IlvPrintableDocument::append
◆ IlvPrintableFrame()
| IlvPrintableFrame::IlvPrintableFrame |
( |
IlvPalette * |
palette | ) |
|
The constructor.
It locks the palette.
- Parameters
-
| palette | The palette used to print the frame. |
◆ ~IlvPrintableFrame()
| IlvPrintableFrame::~IlvPrintableFrame |
( |
| ) |
|
The destructor.
It unlocks the palette.
◆ getBBox()
Gets the bounding box of the area to print.
- Returns
- The bounding box.
Implements IlvPrintable.
◆ getPalette()
| IlvPalette* IlvPrintableFrame::getPalette |
( |
| ) |
const |
Gets the palette used to print the text.
- Returns
- The palette used to print the text.
◆ internalPrint()
This function actually prints the document.
- Parameters
-
| job | The settings of the current print job. |
- Returns
IlFalse if an error occurred during the printing, IlTrue otherwise.
Implements IlvPrintable.
◆ setPalette()
| void IlvPrintableFrame::setPalette |
( |
IlvPalette * |
palette | ) |
|
Sets the palette used to print the text.
- Parameters
-
| palette | The palette used to print the text. |