KEYOutput.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

KEYOutput.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libetonyek project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef KEYOUTPUT_H_INCLUDED
11 #define KEYOUTPUT_H_INCLUDED
12
13 #include "KEYStyle.h"
14 #include "KEYTransformation.h"
15
16 namespace libetonyek
17 {
18
19 class KEYStyleContext;
20
23 class KEYOutput
24 {
25 // disable assignment
26 KEYOutput &operator=(const KEYOutput &other);
27
28 public:
37 KEYOutput(librevenge::RVNGPresentationInterface *painter, KEYStyleContext &context);
38
44 KEYOutput(const KEYOutput &output, const KEYTransformation &tr);
45
55 KEYOutput(const KEYOutput &output, const KEYStylePtr_t &style);
56
67 KEYOutput(const KEYOutput &output, const KEYTransformation &tr, const KEYStylePtr_t &style);
68
73 KEYOutput(const KEYOutput &other);
74
80 ~KEYOutput();
81
86 librevenge::RVNGPresentationInterface *getPainter() const;
87
92 const KEYTransformation &getTransformation() const;
93
98 const KEYStyleContext &getStyleContext() const;
99
100 private:
101 librevenge::RVNGPresentationInterface *const m_painter;
102 KEYStyleContext &m_styleContext;
103 KEYTransformation m_transformation;
104 bool m_stylePushed;
105 };
106
107 }
108
109 #endif // KEYOUTPUT_H_INCLUDED
110
111 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: EtonyekDocument.cpp:40
libetonyek::KEYStylePtr_t
boost::shared_ptr< KEYStyle > KEYStylePtr_t
Definition: KEYStyle.h:49
libetonyek::KEYOutput::~KEYOutput
~KEYOutput()
Destroy a KEYOutput instance.
Definition: KEYOutput.cpp:60
libetonyek::KEYOutput::m_painter
librevenge::RVNGPresentationInterface *const m_painter
Definition: KEYOutput.h:101
libetonyek::KEYOutput::m_transformation
KEYTransformation m_transformation
Definition: KEYOutput.h:103
libetonyek::KEY2Token::style
Definition: KEY2Token.h:796
libetonyek::KEYOutput::getTransformation
const KEYTransformation & getTransformation() const
Get the current transformation.
Definition: KEYOutput.cpp:71
libetonyek::KEYOutput::m_stylePushed
bool m_stylePushed
Definition: KEYOutput.h:104
libetonyek::KEYOutput
A context for drawing instances of KEYObject.
Definition: KEYOutput.h:23
KEYTransformation.h
libetonyek::KEYOutput::getPainter
librevenge::RVNGPresentationInterface * getPainter() const
Get the painter.
Definition: KEYOutput.cpp:66
KEYStyle.h
libetonyek::KEYOutput::getStyleContext
const KEYStyleContext & getStyleContext() const
Get the style context.
Definition: KEYOutput.cpp:76
libetonyek::KEYOutput::operator=
KEYOutput & operator=(const KEYOutput &other)
libetonyek::KEYOutput::m_styleContext
KEYStyleContext & m_styleContext
Definition: KEYOutput.h:102
libetonyek::KEYTransformation
Represents an affine transformation.
Definition: KEYTransformation.h:29
libetonyek::KEYOutput::KEYOutput
KEYOutput(librevenge::RVNGPresentationInterface *painter, KEYStyleContext &context)
Create an initial KEYOutput.
Definition: KEYOutput.cpp:16
libetonyek::KEYStyleContext
Representation of a dynamic inheritance of styles.
Definition: KEYStyleContext.h:34