PAG1ShapeContext.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 PAG1SHAPECONTEXT_H_INCLUDED
11 #define PAG1SHAPECONTEXT_H_INCLUDED
12
13 #include "IWORKShapeContext.h"
14 #include "PAG1XMLContextBase.h"
15
16 namespace libetonyek
17 {
18
19 class PAG1ShapeContext : public PAG1XMLContextBase<IWORKShapeContext>
20 {
21 public:
22 explicit PAG1ShapeContext(PAG1ParserState &state);
23
24 private:
25 void attribute(int name, const char *value) override;
26 IWORKXMLContextPtr_t element(int name) override;
27 };
28
29 }
30
31 #endif // PAG1SHAPECONTEXT_H_INCLUDED
32
33 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
libetonyek::PAG1ShapeContext::attribute
void attribute(int name, const char *value) override
Definition: PAG1ShapeContext.cpp:70
libetonyek::PAG1ShapeContext
Definition: PAG1ShapeContext.h:19
libetonyek::PAG1ShapeContext::PAG1ShapeContext
PAG1ShapeContext(PAG1ParserState &state)
Definition: PAG1ShapeContext.cpp:65
libetonyek::IWORKToken::value
Definition: IWORKToken.h:624
libetonyek::PAG1XMLContextBase
Definition: PAG1XMLContextBase.h:22
libetonyek::PAG1ShapeContext::element
IWORKXMLContextPtr_t element(int name) override
Definition: PAG1ShapeContext.cpp:82
IWORKShapeContext.h
name
const char * name
Definition: IWORKToken.cpp:43
PAG1XMLContextBase.h
libetonyek::PAG1ParserState
Definition: PAG1ParserState.h:23