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
16namespace libetonyek
17{
18
19class KEYStyleContext;
20
24{
25 // disable assignment
27
28public:
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
93
98 const KEYStyleContext &getStyleContext() const;
99
100private:
101 librevenge::RVNGPresentationInterface *const m_painter;
105};
106
107}
108
109#endif // KEYOUTPUT_H_INCLUDED
110
111/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
A context for drawing instances of KEYObject.
Definition: KEYOutput.h:24
librevenge::RVNGPresentationInterface *const m_painter
Definition: KEYOutput.h:101
KEYOutput(librevenge::RVNGPresentationInterface *painter, KEYStyleContext &context)
Create an initial KEYOutput.
Definition: KEYOutput.cpp:16
const KEYTransformation & getTransformation() const
Get the current transformation.
Definition: KEYOutput.cpp:71
KEYStyleContext & m_styleContext
Definition: KEYOutput.h:102
KEYTransformation m_transformation
Definition: KEYOutput.h:103
const KEYStyleContext & getStyleContext() const
Get the style context.
Definition: KEYOutput.cpp:76
KEYOutput & operator=(const KEYOutput &other)
bool m_stylePushed
Definition: KEYOutput.h:104
librevenge::RVNGPresentationInterface * getPainter() const
Get the painter.
Definition: KEYOutput.cpp:66
~KEYOutput()
Destroy a KEYOutput instance.
Definition: KEYOutput.cpp:60
Representation of a dynamic inheritance of styles.
Definition: KEYStyleContext.h:35
Represents an affine transformation.
Definition: KEYTransformation.h:30
@ style
Definition: KEY2Token.h:796
Definition: EtonyekDocument.cpp:41
boost::shared_ptr< KEYStyle > KEYStylePtr_t
Definition: KEYStyle.h:49

Generated for libetonyek by doxygen 1.9.3