class Pango::AttrShape

Overview

The Pango::AttrShape structure is used to represent attributes which impose shape restrictions.

Defined in:

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

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

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

[View source]
def self.new(attr : Pango::Attribute | Nil = nil, ink_rect : Pango::Rectangle | Nil = nil, logical_rect : Pango::Rectangle | Nil = nil, copy_func : Pango::AttrDataCopyFunc | Nil = nil, destroy_func : GLib::DestroyNotify | Nil = nil) #

[View source]
def self.new(ink_rect : Pango::Rectangle, logical_rect : Pango::Rectangle) : Pango::Attribute #

[View source]

Class Method Detail

def self.new_with_data(ink_rect : Pango::Rectangle, logical_rect : Pango::Rectangle, data : Pointer(Void) | Nil, copy_func : Pango::AttrDataCopyFunc | Nil, destroy_func : GLib::DestroyNotify | Nil) : Pango::Attribute #

[View source]

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def attr : Pango::Attribute #

[View source]
def attr=(value : Pango::Attribute) #

[View source]
def copy_func : Pango::AttrDataCopyFunc #

[View source]
def copy_func=(value : Pango::AttrDataCopyFunc) #

[View source]
def data : Pointer(Void) | Nil #

[View source]
def data! #

[View source]
def destroy_func : GLib::DestroyNotify #

[View source]
def destroy_func=(value : GLib::DestroyNotify) #

[View source]
def ink_rect : Pango::Rectangle #

[View source]
def ink_rect=(value : Pango::Rectangle) #

[View source]
def logical_rect : Pango::Rectangle #

[View source]
def logical_rect=(value : Pango::Rectangle) #

[View source]
def to_unsafe #

[View source]