class Cairo::RectangleList

Overview

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

Wraper for LibCairo::RectangleListT

Included Modules

Defined in:

cairo/rectangle_list.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(list : LibCairo::PRectangleListT) #

[View source]

Instance Method Detail

def finalize #

[View source]
def size : Int32 #

Number of rectangles in this list


[View source]
def status : Status #

Error status of the rectangle list


[View source]
def to_cairo_rectangle_list : LibCairo::RectangleListT #

Returns underlying LibCairo::RectangleIntT structure.


[View source]
def to_unsafe : LibCairo::PRectangleListT #

Pointer of list.


[View source]
def unsafe_fetch(index : Int) : Rectangle #

Returns rectangle at the given index.


[View source]