class

Cairo::RectangleList

Inherits Indexable / Enumerable / Iterable / Reference / Object

A data structure for holding a dynamically allocated array of rectangles.

Wraper for LibCairo::RectangleListT

Constructors

new(list : LibCairo::PRectangleListT)
Source

Instance methods

finalize
Source
size

Number of rectangles in this list

Source
status

Error status of the rectangle list

Source
to_cairo_rectangle_list

Returns underlying LibCairo::RectangleIntT structure.

Source
to_unsafe

Pointer of list.

Source
unsafe_fetch(index : Int) : Rectangle

Returns rectangle at the given index.

Source