A context for drawing instances of KEYObject.
More...
#include <KEYOutput.h>
Public Member Functions | |
| KEYOutput (KEYPresentationInterface *painter, KEYStyleContext &context) | |
Create an initial KEYOutput. | |
| KEYOutput (const KEYOutput &output, const KEYTransformation &tr) | |
| Apply a transformation to the current output. | |
| KEYOutput (const KEYOutput &output, const KEYStylePtr_t &style) | |
| Apply a style to the current output. | |
| KEYOutput (const KEYOutput &output, const KEYTransformation &tr, const KEYStylePtr_t &style) | |
| Apply a transformation and a style to the current output. | |
| KEYOutput (const KEYOutput &other) | |
Create a KEYOutput as a copy of an existing one. | |
| ~KEYOutput () | |
Destroy a KEYOutput instance. | |
| KEYPresentationInterface * | getPainter () const |
| Get the painter. | |
| const KEYTransformation & | getTransformation () const |
| Get the current transformation. | |
| const KEYStyleContext & | getStyleContext () const |
| Get the style context. | |
Private Member Functions | |
| KEYOutput & | operator= (const KEYOutput &other) |
Private Attributes | |
| KEYPresentationInterface *const | m_painter |
| KEYStyleContext & | m_styleContext |
| KEYTransformation | m_transformation |
| bool | m_stylePushed |
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.
| libetonyek::KEYOutput::KEYOutput | ( | const KEYOutput & | output, |
| const KEYTransformation & | tr | ||
| ) |
Apply a transformation to the current output.
| libetonyek::KEYOutput::KEYOutput | ( | const KEYOutput & | output, |
| const KEYStylePtr_t & | style | ||
| ) |
Apply a style to the current output.
The style is pushed to the style context.
| libetonyek::KEYOutput::KEYOutput | ( | const KEYOutput & | output, |
| const KEYTransformation & | tr, | ||
| const KEYStylePtr_t & | style | ||
| ) |
Apply a transformation and a style to the current output.
The style is pushed to the style context.
| libetonyek::KEYOutput::KEYOutput | ( | const KEYOutput & | other | ) |
| KEYPresentationInterface * libetonyek::KEYOutput::getPainter | ( | ) | const |
| const KEYStyleContext & libetonyek::KEYOutput::getStyleContext | ( | ) | const |
Get the style context.
| const KEYTransformation & libetonyek::KEYOutput::getTransformation | ( | ) | const |
Get the current transformation.
Referenced by libetonyek::KEYTable::draw().
KEYPresentationInterface* const libetonyek::KEYOutput::m_painter [private] |
Referenced by getPainter().
Referenced by getStyleContext(), KEYOutput(), and ~KEYOutput().
bool libetonyek::KEYOutput::m_stylePushed [private] |
Referenced by KEYOutput(), and ~KEYOutput().
Referenced by getTransformation().