Aurelon Open API
8.1.1
Loading...
Searching...
No Matches
AOI_Symbol.cpp
1
#include "./AOI_Symbol.h"
2
#include "../GSymbol.h"
3
#include "../GMultiSymbol.h"
4
5
using namespace
aur;
6
using namespace
aur::PDF;
7
25
AOI_Object
*
AOI_Object_Symbol::GetObj
() const
// strange??? should be GetObject
26
{
27
return
(
AOI_ObjectPtr
)SymbolPtr(
this
)->GetObject();
28
}
29
35
AOI_Mapping
AOI_Object_Symbol::GetMapping
()
const
36
{
37
AOI_Mapping
map;
38
// hard cast
39
PDF::SymbolPtr(
this
)->GetMapping( *(Mapping*)&map );
40
return
map;
41
}
42
50
AOI_Style_ColorPtr
AOI_Object_Symbol::GetColor
()
const
51
{
52
PDF::SolidPtr col = PDF::SymbolPtr(
this
)->
GetColor
();
53
return
reinterpret_cast<
AOI_Style_ColorPtr
>
( col );
54
}
55
63
uint32_t
AOI_Object_MultiSymbol::GetPositions
(
AOI_Point
* ptArray )
64
{
65
const
auto
& poss = MultiSymbolPtr(
this
)->GetPositions();
66
if
( ptArray )
67
::memcpy( ptArray, poss.data(), poss.size() *
sizeof
(PDF::Point) );
68
return
uint32_t( poss.size() );
69
}
AOI_Mapping
3x3 matrix
Definition
AOI_Types.h:113
AOI_Object_MultiSymbol::GetPositions
uint32_t GetPositions(AOI_Point *)
Definition
AOI_Symbol.cpp:63
AOI_Object_Symbol::GetMapping
AOI_Mapping GetMapping() const
Definition
AOI_Symbol.cpp:35
AOI_Object_Symbol::GetObj
AOI_ObjectPtr GetObj() const
Definition
AOI_Symbol.cpp:25
AOI_Object_Symbol::GetColor
AOI_Style_ColorPtr GetColor() const
Definition
AOI_Symbol.cpp:50
AOI_Object
Base class for all graphic objects.
Definition
AOI_Object.h:13
AOI_Point
Coordinate.
Definition
AOI_Types.h:137
AOI_Style_Color
Color fill.
Definition
AOI_Style.h:56
AOI_Style_Color::GetColor
void GetColor(AOI_Color &) const
Definition
AOI_Style.cpp:160
desktop
Source
PDFEngine
OpenAPI
AOI_Symbol.cpp
Generated by
1.11.0