Rectangle.
More...
Rectangle.
Definition at line 10 of file AOI_Rectangle.h.
◆ GetBlendMode()
AOI_BlendMode AOI_Object::GetBlendMode |
( |
| ) |
const |
|
inherited |
Returns the BlendMode of the object.
Possible BlendModes are:
- eBMNormal
- eBMMultiply
- eBMScreen
- eBMOverlay
- eBMSoftLight
- eBMHardLight
- eBMColorDodge
- eBMColorBurn
- eBMDarken
- eBMLighten
- eBMDifference
- eBMExclusion
- eBMHue
- eBMSaturation
- eBMColor
- eBMLuminosity
- Returns
- The BlendMode.
Definition at line 132 of file AOI_Object.cpp.
◆ GetBlendValue()
float AOI_Object::GetBlendValue |
( |
| ) |
const |
|
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.
- Returns
- The BlendValue.
- See also
- GetBlendMode
Definition at line 145 of file AOI_Object.cpp.
◆ GetBounds()
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
- Parameters
-
- See also
- GetPrecisionBounds GetMaskedBounds
Definition at line 40 of file AOI_Object.cpp.
◆ GetCaps()
uint8_t AOI_Object_Vector::GetCaps |
( |
| ) |
const |
|
inherited |
Return the caps type of the nodes of the path.
Possible values:
- kButtCap
- kRoundCap
- kSquareCap
- Returns
- The type of caps used.
- See also
- SetCaps
Definition at line 153 of file AOI_Vector.cpp.
◆ GetContour()
◆ GetDash()
void AOI_Object_Vector::GetDash |
( |
int32_t * | nrOffDashes, |
|
|
float ** | dashes, |
|
|
float * | fase ) const |
|
inherited |
Returns the dash definition of this Vector.
The dashes parameter is filled with a pointer to an existing dashes array. Do not supply an array nor delete this after use.
- Parameters
-
nrOffDashes | Recieves the number of alternating values. |
dashes | Recieves the alternating values. |
fase | Recieves the offset in the alternating values to start with at the beginning of the vector. |
- See also
- SetDash
Definition at line 180 of file AOI_Vector.cpp.
◆ GetEOFill()
bool AOI_Object_Vector::GetEOFill |
( |
| ) |
const |
|
inherited |
Returns if the fill should be done with EOFill or winding fill filling rule
- Returns
- True if the filling rule is EOFill ( Even/Odd )
- See also
- SetEOFill
Definition at line 81 of file AOI_Vector.cpp.
◆ GetFillStyle()
◆ GetIntent()
AOI_Intent AOI_Object::GetIntent |
( |
| ) |
const |
|
inherited |
Returns the intent with which this object should be rendered.
Possible values:
- ePerceptual
- eRelativeColorimetric
- eSaturation
- eAbsoluteColorimetric
- Returns
- The intent.
Definition at line 161 of file AOI_Object.cpp.
◆ GetJoin()
float AOI_Object_Vector::GetJoin |
( |
| ) |
const |
|
inherited |
Returns the value used at joins beyond which to switch to bevel.
- Returns
- Join value.
- See also
- SetJoin
Definition at line 126 of file AOI_Vector.cpp.
◆ GetMapping()
◆ GetMaskedBounds()
◆ GetNext()
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.
- Returns
- The next object.
Definition at line 104 of file AOI_Object.cpp.
◆ GetPrecisionBounds()
◆ GetRectangle()
void AOI_Object_Rectangle::GetRectangle |
( |
AOI_Rectangle & | r | ) |
const |
◆ GetStrokeStyle()
Returns the stroke style of an object.
- Returns
- The fill style.
- See also
- AOI_Style
Definition at line 48 of file AOI_Vector.cpp.
◆ GetStrokeWidth()
float AOI_Object_Vector::GetStrokeWidth |
( |
| ) |
const |
|
inherited |
◆ GetType()
uint32_t AOI_Object::GetType |
( |
| ) |
const |
|
inherited |
◆ Map()
◆ operator delete()
void AOI_Object::operator delete |
( |
void * | p | ) |
|
|
staticinherited |
Deletes the object, after removing it from the object tree.
Definition at line 181 of file AOI_Object.cpp.
◆ Scale()
Scale the objects while retaining properties like line-width and dash distance proportional to the supplied scale.
- Parameters
-
mapping | The mapping which should be applied to this object. The mapping should only contain a scale to avoid unwanted side effect. |
- See also
- AOI_Mapping, Map
Definition at line 206 of file AOI_Object.cpp.
◆ SetBlendMode()
void AOI_Object::SetBlendMode |
( |
AOI_BlendMode | blendmode | ) |
|
|
inherited |
Sets the object its blendmode.
- Parameters
-
blendmode | The blend mode to use. |
- See also
- AOI_BlendMode GetBlendMode
Definition at line 217 of file AOI_Object.cpp.
◆ SetBlendValue()
void AOI_Object::SetBlendValue |
( |
float | blendValue | ) |
|
|
inherited |
Sets the object its blendmode.
- Parameters
-
blendValue | The amount of opacity. For normal blending this is the opacity value. 0 is transparent and 1 is opaque. |
- See also
- GetBlendValue
Definition at line 230 of file AOI_Object.cpp.
◆ SetCaps()
void AOI_Object_Vector::SetCaps |
( |
uint8_t | caps | ) |
|
|
inherited |
Set the caps type of the nodes of the path.
- Parameters
-
caps | kButtCap, kRoundCap, kSquareCap are valid values. |
- See also
- GetCaps
Definition at line 164 of file AOI_Vector.cpp.
◆ SetDash()
void AOI_Object_Vector::SetDash |
( |
int32_t | nrOffDashes, |
|
|
float * | dashes, |
|
|
float | fase ) |
|
inherited |
Sets the dash definition of this path.
- Parameters
-
nrOffDashes | Set the number of alternating values; the size of the dashes array. |
dashes | Array containing the alternating values. |
fase | The offset in the alternating values to start with at the beginning of the vector. |
- See also
- GetDash
Definition at line 198 of file AOI_Vector.cpp.
◆ SetEOFill()
void AOI_Object_Vector::SetEOFill |
( |
bool | eoFill | ) |
|
|
inherited |
Set the EOFill or window fill.
- Parameters
-
eoFill | True will set EOFill and false will set winding fill. |
- See also
- GetEOFill
Definition at line 92 of file AOI_Vector.cpp.
◆ SetFillStyle()
Replaces the fill style.
- Parameters
-
style | The fill style to use. |
- See also
- AOI_Style
Definition at line 60 of file AOI_Vector.cpp.
◆ SetIntent()
void AOI_Object::SetIntent |
( |
AOI_Intent | intent | ) |
|
|
inherited |
Sets the object its blendmode.
- Parameters
-
intent | Intent to be used to convert to the device when a ICC based colorspace is assigned to this object. |
- See also
- GetIntent
Definition at line 242 of file AOI_Object.cpp.
◆ SetJoin()
void AOI_Object_Vector::SetJoin |
( |
float | join | ) |
|
|
inherited |
Set the join type of the nodes of the path.
- Parameters
-
join | < 0 : round join, 0 : bevel join, > 0 mitter join (x line width) |
- See also
- GetJoin
Definition at line 137 of file AOI_Vector.cpp.
◆ SetStrokeStyle()
void AOI_Object_Vector::SetStrokeStyle |
( |
AOI_StylePtr | style | ) |
|
|
inherited |
Replaces the stroke style.
- Parameters
-
style | The stroke style to use. |
- See also
- AOI_Style
Definition at line 71 of file AOI_Vector.cpp.
◆ SetStrokeWidth()
void AOI_Object_Vector::SetStrokeWidth |
( |
float | width | ) |
|
|
inherited |
Set the width of the stroke in units.
- Parameters
-
width | Width of the stroke. 0 represents a hairline. Negative values are not allowed. |
- See also
- GetStrokeWidth
Definition at line 115 of file AOI_Vector.cpp.
◆ Visible()
bool AOI_Object::Visible |
( |
| ) |
const |
|
inherited |
Returns if this object is visible.
- Returns
- The visibility.
Definition at line 171 of file AOI_Object.cpp.
The documentation for this class was generated from the following files: