class Cairo::RectangleList
- Cairo::RectangleList
- Reference
- Object
Overview
A data structure for holding a dynamically allocated array of rectangles.
Wraper for LibCairo::RectangleListT
Included Modules
- Indexable(Cairo::Rectangle)
Defined in:
cairo/rectangle_list.crConstructors
Instance Method Summary
- #finalize
-
#size : Int32
Number of rectangles in this list
-
#status : Status
Error status of the rectangle list
-
#to_cairo_rectangle_list : LibCairo::RectangleListT
Returns underlying
LibCairo::RectangleIntT
structure. -
#to_unsafe : LibCairo::PRectangleListT
Pointer of list.
-
#unsafe_fetch(index : Int) : Rectangle
Returns rectangle at the given index.
Constructor Detail
Instance Method Detail
def to_cairo_rectangle_list : LibCairo::RectangleListT
#
Returns underlying LibCairo::RectangleIntT
structure.