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;
105 };
106 
107 }
108 
109 #endif // KEYOUTPUT_H_INCLUDED
110 
111 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: EtonyekDocument.cpp:40
boost::shared_ptr< KEYStyle > KEYStylePtr_t
Definition: KEYStyle.h:49
~KEYOutput()
Destroy a KEYOutput instance.
Definition: KEYOutput.cpp:60
librevenge::RVNGPresentationInterface *const m_painter
Definition: KEYOutput.h:101
KEYTransformation m_transformation
Definition: KEYOutput.h:103
Definition: KEY2Token.h:796
const KEYTransformation & getTransformation() const
Get the current transformation.
Definition: KEYOutput.cpp:71
bool m_stylePushed
Definition: KEYOutput.h:104
A context for drawing instances of KEYObject.
Definition: KEYOutput.h:23
librevenge::RVNGPresentationInterface * getPainter() const
Get the painter.
Definition: KEYOutput.cpp:66
const KEYStyleContext & getStyleContext() const
Get the style context.
Definition: KEYOutput.cpp:76
KEYOutput & operator=(const KEYOutput &other)
KEYStyleContext & m_styleContext
Definition: KEYOutput.h:102
Represents an affine transformation.
Definition: KEYTransformation.h:29
KEYOutput(librevenge::RVNGPresentationInterface *painter, KEYStyleContext &context)
Create an initial KEYOutput.
Definition: KEYOutput.cpp:16
Representation of a dynamic inheritance of styles.
Definition: KEYStyleContext.h:34

Generated for libetonyek by doxygen 1.8.9.1