1#include "./AOI_Document.h"
7using namespace aur::PDF;
103 switch( StylePtr(
this)->ResourceType() )
105 case Solid::eResourceType :
106 return AOI_Style_Color::Type;
109 case PatternSpace::eResourceType :
110 return AOI_Style_Pattern::Type;
113 case AxialShading::eResourceType :
114 return AOI_Style_Axial::Type;
117 case RadialShading::eResourceType :
118 return AOI_Style_Radial::Type;
121 case FunctionShading::eResourceType :
122 return AOI_Style_FunctionShading::Type;
125 case CoonePatchShading::eResourceType :
126 return AOI_Style_CoonePatch::Type;
138 StylePtr(
this)->Dispose();
163 SolidPtr(
this)->GetColor( (Color&)color );
174 return (AOI_ColorSpace*)SolidPtr(
this)->GetSpace();
198 ShadingSpacePtr(
this)->GetBounds( (FRectangle&)bounds );
208 return (AOI_ColorSpace*)ShadingSpacePtr(
this)->GetColorSpace();
218 return (
AOI_Mapping&)ShadingSpacePtr(
this)->GetMapping();
228 return (
AOI_Function**)FunctionShadingPtr(
this)->GetFunctions();
254 AxialShadingPtr(
this)->GetPoints( (PDF::Point&)p1, (PDF::Point&)p2 );
268 AxialShadingPtr(
this)->GetExtends( e1, e2 );
279 return AxialShadingPtr(
this)->GetFunctionCount();
291 return (
AOI_Function**)AxialShadingPtr(
this)->GetFunctions( i );
307 RadialShadingPtr(
this)->GetCircleStart( (PDF::Point&)outCenter, outRadius );
319 RadialShadingPtr(
this)->GetCircleEnd( (PDF::Point&)outCenter, outRadius );
330 return RadialShadingPtr(
this)->GetFunctionCount();
342 return (
AOI_Function**)RadialShadingPtr(
this)->GetFunctions( i );
352 return (
AOI_Object*)PatternSpacePtr(
this)->GetTile()->GetObject();
363 return (
AOI_Point&)PatternSpacePtr(
this)->GetDeltas();
373 return (
AOI_Mapping&)PatternSpacePtr(
this)->GetMapping();
383 return !CoonePatchShadingPtr(
this)->mPatches.empty();
393 return reinterpret_cast<const AOI_Patch&
>( CoonePatchShadingPtr(
this)->mPatches[ index ] );
403 return reinterpret_cast<const AOI_Side&
>( CoonePatchShadingPtr(
this)->mSides[ index ] );
413 return reinterpret_cast<const AOI_Beziers&
>( CoonePatchShadingPtr(
this)->mBeziers[ index ] );
423 return reinterpret_cast<const AOI_SE&
>( CoonePatchShadingPtr(
this)->mBeginEndPoints[ index ] );
Base class for functions.
Base class for all graphic objects.
AOI_Function ** GetFunctions(uint32_t &) const
void GetExtends(bool &, bool &) const
uint32_t GetFunctionCount() const
void GetPoints(AOI_Point &, AOI_Point &) const
void GetColor(AOI_Color &) const
static AOI_Style_Color * Create(AOI_Document *document, const AOI_Color &)
AOI_ColorSpace * GetSpace() const
void GetDescriptor(char *name) const
const AOI_Patch & GetPatch(uint32_t index) const
const AOI_Beziers & GetBezier(uint32_t index) const
const AOI_Side & GetSide(uint32_t index) const
const AOI_SE & GetPoint(uint32_t index) const
uint32_t GetPatchCount() const
AOI_Function ** GetFunctions() const
AOI_Object * GetTile() const
const AOI_Mapping & GetMapping() const
AOI_Point GetDeltas() const
AOI_Function ** GetFunctions(uint32_t &) const
void GetCircleEnd(AOI_Point &outCenter, float &outRadius) const
uint32_t GetFunctionCount() const
void GetCircleStart(AOI_Point &outCenter, float &outRadius) const
AOI_ColorSpace * GetColorSpace() const
void GetBounds(AOI_Rectangle &) const
const AOI_Mapping & GetMapping() const