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) #

[View source]
def self.new(data : LibPango::Rectangle, _transfer : GICrystal::Transfer) #

[View source]
def self.new(x : Int32 | Nil = nil, y : Int32 | Nil = nil, width : Int32 | Nil = nil, height : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def height(*args, **options) #

[View source]
def height(*args, **options, &) #

[View source]
def height=(arg) #

[View source]
def width(*args, **options) #

[View source]
def width(*args, **options, &) #

[View source]
def width=(arg) #

[View source]
def x(*args, **options) #

[View source]
def x(*args, **options, &) #

[View source]
def x=(arg) #

[View source]
def y(*args, **options) #

[View source]
def y(*args, **options, &) #

[View source]
def y=(arg) #

[View source]