17#pragma warning(disable:4251)
81 void lineTo(
const Point2D& _dest);
95 const std::list<PathEntry>&
getEntries(
void)
const {
return m_entries; };
99 std::list<PathEntry> m_entries;
102 static std::string
toString(PathEntryType _type);
105 static PathEntryType toPathEntryType(
const std::string& _type);
188 const std::list<PathEntry>&
getEntries(
void)
const {
return m_entries; };
192 std::list<PathEntry> m_entries;
195 static std::string
toString(PathEntryType _type);
198 static PathEntryType toPathEntryType(
const std::string& _type);
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The Path2DF class describes a path consisting of different types of lines.
Definition Path2D.h:116
PathEntryType
The type of a path entry.
Definition Path2D.h:119
@ LineType
Definition Path2D.h:120
const std::list< PathEntry > & getEntries(void) const
Returns the current entries.
Definition Path2D.h:188
void moveBy(const Point2DD &_d)
Moves the current position by the delta.
Definition Path2D.h:169
void moveTo(const Point2DD &_pos)
Moves the current position. No line will be added.
Definition Path2D.h:165
The Path2D class describes a path consisting of different types of lines.
Definition Path2D.h:23
PathEntryType
The type of a path entry.
Definition Path2D.h:26
@ LineType
Definition Path2D.h:27
void moveBy(const Point2D &_d)
Moves the current position by the delta.
Definition Path2D.h:76
void moveTo(const Point2D &_pos)
Moves the current position. No line will be added.
Definition Path2D.h:72
const std::list< PathEntry > & getEntries(void) const
Returns the current entries.
Definition Path2D.h:95
2D Point with double values
Definition Point2D.h:144
2D Point with integer values
Definition Point2D.h:20
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
OT_GUI_API_EXPORT std::string toString(ColorStyleName _colorStyleName)
Definition ColorStyleTypes.cpp:10
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30
A path entry contains the.
Definition Path2D.h:32
Point2D stop
Start position.
Definition Path2D.h:35
Point2D control1
!
Definition Path2D.h:36
Point2D control2
Control point 1.
Definition Path2D.h:37
Point2D start
Entry type.
Definition Path2D.h:34
PathEntryType type
Definition Path2D.h:33
A path entry contains the.
Definition Path2D.h:125
PathEntryType type
Definition Path2D.h:126
Point2DD stop
Start position.
Definition Path2D.h:128
Point2DD control2
Control point 1.
Definition Path2D.h:130
Point2DD control1
!
Definition Path2D.h:129
Point2DD start
Entry type.
Definition Path2D.h:127