Aurelon Open API 8.1.1
Loading...
Searching...
No Matches
AOI_Ellipse.cpp
1#include "./AOI_Ellipse.h"
2#include "../GEllipse.h"
3
4using namespace aur;
5using namespace aur::PDF;
6
19{
20 EllipsePtr(this)->GetEllipse( (FRectangle&)outRect );
21}
22
32void AOI_Object_Ellipse::GetEllipse( AOI_Rectangle& outRect, float& startAngle, float& sweep, bool& wedge ) const
33{
34 EllipsePtr(this)->GetEllipse( (FRectangle&)outRect, startAngle, sweep, wedge );
35}
36
46{
47 return EllipsePtr(this)->GetStartAngle();
48}
49
59{
60 return EllipsePtr(this)->GetSweepAngle();
61}
62
70{
71 return EllipsePtr(this)->GetXRadius();
72}
73
81{
82 return EllipsePtr(this)->GetYRadius();
83}
84
94{
95 return EllipsePtr(this)->GetWedge();
96}
97
107{
108 PDF::Point fp = EllipsePtr(this)->GetStartPoint();
109 return AOI_Point( fp.x, fp.y );
110}
111
121{
122 PDF::Point fp = EllipsePtr(this)->GetEndPoint();
123 return AOI_Point( fp.x, fp.y );
124}
125
132{
133 AOI_Mapping map;
134 ::memcpy( map.map, EllipsePtr(this)->GetMapping().map, sizeof( map.map ) );
135 // hard cast
136 return map;
137}
3x3 matrix
Definition AOI_Types.h:113
AOI_Point GetEndPoint() const
float GetXRadius() const
AOI_Mapping GetMapping() const
float GetSweepAngle() const
AOI_Point GetStartPoint() const
float GetYRadius() const
bool GetWedge() const
float GetStartAngle() const
void GetEllipse(AOI_Rectangle &outRect) const
Coordinate.
Definition AOI_Types.h:137
Rectangle.
Definition AOI_Types.h:148