struct Pango::Rectangle

Overview

The Pango::Rectangle structure represents a rectangle.

Pango::Rectangle is frequently used to represent the logical or ink extents of a single glyph or section of text. (See, for instance, Pango::Font#glyph_extents.)

Defined in:

lib/gi-crystal/src/auto/pango-1.0/rectangle.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(data : LibPango::Rectangle, _transfer : GICrystal::Transfer) #

def self.new(x : Int32? = nil, y : Int32? = nil, width : Int32? = nil, height : Int32? = nil) #

Instance Method Detail

def ==(other : self) : Bool #

def height(*args, **options) #

def height(*args, **options, &) #

def height=(arg) #

def width(*args, **options) #

def width(*args, **options, &) #

def width=(arg) #

def x(*args, **options) #

def x(*args, **options, &) #

def x=(arg) #

def y(*args, **options) #

def y(*args, **options, &) #

def y=(arg) #