IWORKBezierElement.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 IWORKBEZIERELEMENT_H_INCLUDED
11 #define IWORKBEZIERELEMENT_H_INCLUDED
12
13 #include "IWORKXMLContextBase.h"
14 #include "IWORKPath_fwd.h"
15
16 namespace libetonyek
17 {
18
19 class IWORKBezierElement : public IWORKXMLEmptyContextBase
20 {
21 public:
22 IWORKBezierElement(IWORKXMLParserState &state, IWORKPathPtr_t &path);
23
24 private:
25 void attribute(int name, const char *value) override;
26 void endOfElement() override;
27
28 private:
29 IWORKPathPtr_t &m_path;
30 };
31
32 }
33
34 #endif // IWORKBEZIERELEMENT_H_INCLUDED
35
36 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKBezierElement::IWORKBezierElement
IWORKBezierElement(IWORKXMLParserState &state, IWORKPathPtr_t &path)
Definition: IWORKBezierElement.cpp:23
libetonyek::IWORKToken::path
Definition: IWORKToken.h:358
IWORKXMLContextBase.h
libetonyek::IWORKToken::value
Definition: IWORKToken.h:624
name
const char * name
Definition: IWORKToken.cpp:43
libetonyek::IWORKBezierElement::attribute
void attribute(int name, const char *value) override
Definition: IWORKBezierElement.cpp:29
IWORKPath_fwd.h
libetonyek::IWORKBezierElement::endOfElement
void endOfElement() override
Definition: IWORKBezierElement.cpp:49
libetonyek::IWORKBezierElement
Definition: IWORKBezierElement.h:19
libetonyek::IWORKXMLContextBase
Definition: IWORKXMLContextBase.h:27
libetonyek::IWORKXMLParserState
Definition: IWORKXMLParserState.h:31
libetonyek::IWORKPathPtr_t
std::shared_ptr< IWORKPath > IWORKPathPtr_t
Definition: IWORKPath_fwd.h:20
libetonyek::IWORKBezierElement::m_path
IWORKPathPtr_t & m_path
Definition: IWORKBezierElement.h:29