Aurelon Open API 8.1.1
|
Base class for all graphic objects. More...
Public Member Functions | |
uint32_t | GetType () const |
void | GetBounds (AOI_Rectangle &) const |
AOI_Object * | GetNext () const |
void | GetMaskedBounds (AOI_Rectangle &) const |
void | GetPrecisionBounds (AOI_Rectangle &) const |
AOI_BlendMode | GetBlendMode () const |
float | GetBlendValue () const |
AOI_Intent | GetIntent () const |
bool | Visible () const |
void | SetBlendMode (AOI_BlendMode) |
void | SetBlendValue (float) |
void | SetIntent (AOI_Intent) |
void | Map (const AOI_Mapping &mapping) |
void | Scale (const AOI_Mapping &) |
Static Public Member Functions | |
static void | operator delete (void *) |
Base class for all graphic objects.
Definition at line 12 of file AOI_Object.h.
AOI_BlendMode AOI_Object::GetBlendMode | ( | ) | const |
Returns the BlendMode of the object.
Possible BlendModes are:
Definition at line 132 of file AOI_Object.cpp.
float AOI_Object::GetBlendValue | ( | ) | const |
Returns the value with which blending should be done. For normal blending this is the opacity value. 0 is transparent and 1 is opaque.
Definition at line 145 of file AOI_Object.cpp.
void AOI_Object::GetBounds | ( | AOI_Rectangle & | r | ) | const |
Returns the bounds of the object.
This function is quick and will suffice in most situations. It handles bezier curves by adding the complete hull to the bounds. For precise bounds use GetPrecisionBounds
r | Receives the bounds |
Definition at line 40 of file AOI_Object.cpp.
AOI_Intent AOI_Object::GetIntent | ( | ) | const |
Returns the intent with which this object should be rendered.
Possible values:
Definition at line 161 of file AOI_Object.cpp.
void AOI_Object::GetMaskedBounds | ( | AOI_Rectangle & | r | ) | const |
Returns the bounds of the object, taking into account the clipping.
r | Receives the bounds |
Definition at line 63 of file AOI_Object.cpp.
AOI_ObjectPtr AOI_Object::GetNext | ( | ) | const |
Returns the next object.
The objects are stored in a tree with parents and children. The next object is the next kid of a parent. If there are no more kids, NULL will be returned.
Definition at line 104 of file AOI_Object.cpp.
void AOI_Object::GetPrecisionBounds | ( | AOI_Rectangle & | r | ) | const |
Returns the bounds of the object. Beziers are handled completely, unlike in GetBounds.
r | Receives the bounds |
Definition at line 52 of file AOI_Object.cpp.
uint32_t AOI_Object::GetType | ( | ) | const |
Returns the type of the object.
Possible types are:
Definition at line 90 of file AOI_Object.cpp.
void AOI_Object::Map | ( | const AOI_Mapping & | mapping | ) |
Maps the object.
mapping | The mapping which should be applied to this object. |
Definition at line 192 of file AOI_Object.cpp.
|
static |
Deletes the object, after removing it from the object tree.
Definition at line 181 of file AOI_Object.cpp.
void AOI_Object::Scale | ( | const AOI_Mapping & | mapping | ) |
Scale the objects while retaining properties like line-width and dash distance proportional to the supplied scale.
mapping | The mapping which should be applied to this object. The mapping should only contain a scale to avoid unwanted side effect. |
Definition at line 206 of file AOI_Object.cpp.
void AOI_Object::SetBlendMode | ( | AOI_BlendMode | blendmode | ) |
Sets the object its blendmode.
blendmode | The blend mode to use. |
Definition at line 217 of file AOI_Object.cpp.
void AOI_Object::SetBlendValue | ( | float | blendValue | ) |
Sets the object its blendmode.
blendValue | The amount of opacity. For normal blending this is the opacity value. 0 is transparent and 1 is opaque. |
Definition at line 230 of file AOI_Object.cpp.
void AOI_Object::SetIntent | ( | AOI_Intent | intent | ) |
Sets the object its blendmode.
intent | Intent to be used to convert to the device when a ICC based colorspace is assigned to this object. |
Definition at line 242 of file AOI_Object.cpp.
bool AOI_Object::Visible | ( | ) | const |
Returns if this object is visible.
Definition at line 171 of file AOI_Object.cpp.