Aurelon Open API 8.1.1
|
Group, mask and transparency group. More...
Classes | |
class | SoftMask |
SoftMask definition. More... | |
Public Member Functions | |
bool | HasMask () const |
bool | HasHardMask () const |
bool | HasSoftMask () const |
void | GetHardMask (AOI_ContourPtr) const |
SoftMask | GetSoftMask () const |
bool | GetEOFill () const |
bool | GetTransparencyGroup () const |
bool | GetIsolated () const |
bool | GetKnockOut () const |
AOI_ObjectPtr | GetFirstChild () const |
int32_t | InsertChild (AOI_ObjectPtr child, int32_t index) |
void | AppendChild (AOI_ObjectPtr child) |
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 *) |
Group, mask and transparency group.
Definition at line 12 of file AOI_Group.h.
void AOI_Object_Group::AppendChild | ( | AOI_ObjectPtr | child | ) |
Appends the given object as child to the list. The last object is rendered last and appears at top.
child | Pointer to the object to append. |
Definition at line 199 of file AOI_Group.cpp.
|
inherited |
Returns the BlendMode of the object.
Possible BlendModes are:
Definition at line 132 of file AOI_Object.cpp.
|
inherited |
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.
|
inherited |
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.
bool AOI_Object_Group::GetEOFill | ( | ) | const |
Returns the filling rule that applies to the direct group objects. Not the objects in the group, they have there onw properties.
Definition at line 126 of file AOI_Group.cpp.
AOI_ObjectPtr AOI_Object_Group::GetFirstChild | ( | ) | const |
Returns the first child object in the group and NULL if no child objects are contained in this group object.
Definition at line 173 of file AOI_Group.cpp.
void AOI_Object_Group::GetHardMask | ( | AOI_ContourPtr | ioContour | ) | const |
Retrieves the hard clipping mask as path(s) in the given contour. The contour must be created by the caller and is filled using this method.
ioContour | The contour object to receive the clipping path(s) |
Definition at line 92 of file AOI_Group.cpp.
|
inherited |
Returns the intent with which this object should be rendered.
Possible values:
Definition at line 161 of file AOI_Object.cpp.
bool AOI_Object_Group::GetIsolated | ( | ) | const |
If the group is a transparency group this method returns if the group is treated using isolated rendering.
Definition at line 149 of file AOI_Group.cpp.
bool AOI_Object_Group::GetKnockOut | ( | ) | const |
If the group is a transparency group this method returns if the group knocks out the backgroup during rendering.
Definition at line 161 of file AOI_Group.cpp.
|
inherited |
Returns the bounds of the object, taking into account the clipping.
r | Receives the bounds |
Definition at line 63 of file AOI_Object.cpp.
|
inherited |
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.
|
inherited |
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.
AOI_Object_Group::SoftMask AOI_Object_Group::GetSoftMask | ( | ) | const |
Returns the object that defines the soft mask if any. If no soft mask is defined then the content of the returned object contains NULL pointers.
Definition at line 105 of file AOI_Group.cpp.
bool AOI_Object_Group::GetTransparencyGroup | ( | ) | const |
Returns if this group is treated an a transparency group.
Definition at line 137 of file AOI_Group.cpp.
|
inherited |
Returns the type of the object.
Possible types are:
Definition at line 90 of file AOI_Object.cpp.
bool AOI_Object_Group::HasHardMask | ( | ) | const |
Returns if the group has a hard clipping mask defined.
Definition at line 70 of file AOI_Group.cpp.
bool AOI_Object_Group::HasMask | ( | ) | const |
Returns if the group has a mask defined. This mask can be either a hard clipping mask or a soft mask.
Definition at line 60 of file AOI_Group.cpp.
bool AOI_Object_Group::HasSoftMask | ( | ) | const |
Returns if the group has a soft mask defined.
Definition at line 80 of file AOI_Group.cpp.
int32_t AOI_Object_Group::InsertChild | ( | AOI_ObjectPtr | child, |
int32_t | index ) |
Insert the given object as child at the given position. The first objects are rendered first thus appear at the bottom. When the index is larger than the number of objects the given object is appended to the object list.
child | Pointer to the object to insert. |
index | Index at which the object to insert. The object is insert before the object with the given index. |
Definition at line 188 of file AOI_Group.cpp.
|
inherited |
Maps the object.
mapping | The mapping which should be applied to this object. |
Definition at line 192 of file AOI_Object.cpp.
|
staticinherited |
Deletes the object, after removing it from the object tree.
Definition at line 181 of file AOI_Object.cpp.
|
inherited |
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.
|
inherited |
Sets the object its blendmode.
blendmode | The blend mode to use. |
Definition at line 217 of file AOI_Object.cpp.
|
inherited |
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.
|
inherited |
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.
|
inherited |
Returns if this object is visible.
Definition at line 171 of file AOI_Object.cpp.