Struct Region
Constructors
Name | Description |
---|---|
this
|
|
this
|
|
this
|
Create a Region from a existing cairo_region_t*.
Context is a garbage collected class. It will call cairo_region_destroy
when it gets collected by the GC or when dispose () is called.
|
Fields
Name | Type | Description |
---|---|---|
debugging
|
bool |
Enable / disable memory management debugging for this Context
instance. Only available if both cairoD and the cairoD user
code were compiled with "debug=RefCounted"
|
nativePointer
|
cairo_region_t* |
The underlying cairo_t* handle |
Methods
Name | Description |
---|---|
containsPoint
|
|
containsRectangle
|
|
copy
|
|
create
|
Create a new, empty region |
dispose
|
Explicitly drecrease the reference count. |
getExtents
|
|
getRectangle
|
|
getRectangles
|
|
intersect
|
|
isEmpty
|
|
numRectangles
|
|
opAssign
|
Assignment operator |
opEquals
|
|
subtract
|
|
translate
|
|
unionWith
|
|
xor
|
|
checkError
|
Method for use in subclasses.
Calls cairo_region_status(nativePointer ) and throws
an exception if the status isn't CAIRO_STATUS_SUCCESS
|
_dereference
|
|
_reference
|
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |
Copyright
License
cairoD wrapper/bindings | Boost License 1.0 |
cairo | LGPL 2.1 / MPL 1.1 |