Gdk.Region – gdk-2.0 Reference Manual
Packages
gdk-2.0
Gdk
Region
polygon
rectangle
Region
copy
empty
equal
get_clipbox
get_rectangles
intersect
offset
point_in
rect_equal
rect_in
shrink
spans_intersect_foreach
subtract
union
union_with_rect
xor
Region
Object Hierarchy:
Description:
[
CCode
( copy_function =
"gdk_region_copy"
, free_function =
"gdk_region_destroy"
) ]
[
Compact
]
public
class
Region
Namespace:
Gdk
Package:
gdk-2.0
Content:
Static methods:
public
static
Region
polygon
(
Point
[] points,
FillRule
fill_rule)
public
static
Region
rectangle
(
Rectangle
rectangle)
Creation methods:
public
Region
()
Methods:
public
Region
copy
()
public
bool
empty
()
public
bool
equal
(
Region
region2)
public
void
get_clipbox
(
out
Rectangle
rectangle)
public
void
get_rectangles
(
out
Rectangle
[] rectangles)
public
void
intersect
(
Region
source2)
public
void
offset
(
int
dx,
int
dy)
public
bool
point_in
(
int
x,
int
y)
public
bool
rect_equal
(
Rectangle
rectangle)
public
OverlapType
rect_in
(
Rectangle
rectangle)
public
void
shrink
(
int
dx,
int
dy)
public
void
spans_intersect_foreach
(
Span
[] spans,
bool
sorted,
SpanFunc
function,
void
* data)
public
void
subtract
(
Region
source2)
public
void
union
(
Region
source2)
public
void
union_with_rect
(
Rectangle
rect)
public
void
xor
(
Region
source2)