Cairo.Region – cairo Reference Manual
Packages
cairo
Cairo
Region
Region
Region.rectangle
Region.rectangles
contains_point
contains_rectangle
copy
equal
get_extents
get_rectangle
intersect
intersect_rectangle
is_empty
num_rectangles
status
subtract
subtract_rectangle
translate
union
union_rectangle
xor
xor_rectangle
Region
Object Hierarchy:
Description:
[
CCode
( cname =
"cairo_region_t"
, ref_function =
"cairo_region_reference"
, type_id =
"cairo_gobject_region_get_type ()"
, unref_function =
"cairo_region_destroy"
) ]
[
Compact
]
public
class
Region
Namespace:
Cairo
Package:
cairo
Content:
Creation methods:
public
Region
()
public
Region.rectangle
(
RectangleInt
rectangle)
public
Region.rectangles
(
RectangleInt
[] rects)
Methods:
public
bool
contains_point
(
int
x,
int
y)
public
RegionOverlap
contains_rectangle
(
RectangleInt
rectangle)
public
Region
copy
()
public
bool
equal
(
Region
other)
public
RectangleInt
get_extents
()
public
RectangleInt
get_rectangle
(
int
nth)
public
Status
intersect
(
Region
other)
public
Status
intersect_rectangle
(
RectangleInt
rectangle)
public
bool
is_empty
()
public
int
num_rectangles
()
public
Status
status
()
public
Status
subtract
(
Region
other)
public
Status
subtract_rectangle
(
RectangleInt
rectangle)
public
void
translate
(
int
dx,
int
dy)
public
Status
union
(
Region
other)
public
Status
union_rectangle
(
RectangleInt
rectangle)
public
Status
xor
(
Region
other)
public
Status
xor_rectangle
(
RectangleInt
rectangle)