A context for drawing instances of KEYObject
.
More...
#include <KEYOutput.h>
A context for drawing instances of KEYObject
.
libetonyek::KEYOutput::KEYOutput |
( |
KEYPresentationInterface * |
painter, |
|
|
KEYStyleContext & |
context |
|
) |
| |
Create an initial KEYOutput
.
This should only be used once at the beginning of an output operation.
- [in] painter a painter
- [in] context a style context
Apply a transformation to the current output.
- [in] output the current output
- [in] tr a transformation
Apply a style to the current output.
The style is pushed to the style context.
- [in] output the current output
- [in] style a style
KEYStyleContext
Apply a transformation and a style to the current output.
The style is pushed to the style context.
- [in] output the current output
- [in] tr a transformation
- [in] style a style
KEYStyleContext
libetonyek::KEYOutput::KEYOutput |
( |
const KEYOutput & |
other | ) |
|
Create a KEYOutput
as a copy of an existing one.
libetonyek::KEYOutput::~KEYOutput |
( |
| ) |
|
Destroy a KEYOutput
instance.
If this KEYOutput
instance pushed a style to the style context, it will be popped.
KEYPresentationInterface * libetonyek::KEYOutput::getPainter |
( |
| ) |
const |
Get the painter.
- Returns
- the painter
Get the style context.
- Returns
- the style context.
Get the current transformation.
- Returns
- the currently active transformation
KEYPresentationInterface* const libetonyek::KEYOutput::m_painter |
|
private |
bool libetonyek::KEYOutput::m_stylePushed |
|
private |
The documentation for this class was generated from the following files: