Aurelon Open API 8.1.1
|
Image. More...
Public Member Functions | |
bool | IsMask () const |
AOI_ColorSpacePtr | GetColorSpace () const |
void | GetBitmapBounds (int32_t &width, int32_t &height) const |
AOI_Object_BitmapPtr | GetBitmap () const |
void | GetMapping (AOI_Mapping &) const |
void | GetContour (AOI_ContourPtr) const |
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 AOI_Object_Raster * | Create (AOI_Document *document, AOI_Object_Bitmap *bitmap) |
static void | operator delete (void *) |
Image.
Definition at line 12 of file AOI_Raster.h.
|
static |
Creates a new empty AOI_Object_Raster object.
document | The AOI_Document the image will be used in. |
bitmap | The AOI_Object_Bitmap that will be used as image for this object. |
Definition at line 15 of file AOI_Raster.cpp.
AOI_Object_BitmapPtr AOI_Object_Raster::GetBitmap | ( | ) | const |
Retrieves the bitmap refered to by this raster. The bitmap can be shared by multiple raster objects. Every raster object shows the same bitmap at another location with other render settings.
Definition at line 74 of file AOI_Raster.cpp.
void AOI_Object_Raster::GetBitmapBounds | ( | int32_t & | width, |
int32_t & | height ) const |
Retrieves the width and height in pixels of the bitmap refered to by this raster.
width | Variable to receive the width |
height | Variable to receive the height |
Definition at line 58 of file AOI_Raster.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.
AOI_ColorSpacePtr AOI_Object_Raster::GetColorSpace | ( | ) | const |
Returns the colorspace object defining the colorspace of the bitmap refered to by this raster.
Definition at line 46 of file AOI_Raster.cpp.
void AOI_Object_Raster::GetContour | ( | 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 101 of file AOI_Raster.cpp.
|
inherited |
Returns the intent with which this object should be rendered.
Possible values:
Definition at line 161 of file AOI_Object.cpp.
void AOI_Object_Raster::GetMapping | ( | AOI_Mapping & | map | ) | const |
Retrieves the mapping used to map the bitmap to the page. The mapping is identity when every pixel represents 1 AOI unit and is shown in the top left corner of the page.
map | The mapping object that will receive the mapping. |
Definition at line 88 of file AOI_Raster.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.
|
inherited |
Returns the type of the object.
Possible types are:
Definition at line 90 of file AOI_Object.cpp.
bool AOI_Object_Raster::IsMask | ( | ) | const |
Returns if the bitmap object refered to by this raster object contains a mask and thus shows with transparency.
Definition at line 34 of file AOI_Raster.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.