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

def self.new(data : LibPango::AttrShape, transfer : GICrystal::Transfer) #

def self.new(attr : Pango::Attribute? = nil, ink_rect : Pango::Rectangle? = nil, logical_rect : Pango::Rectangle? = nil, copy_func : Pango::AttrDataCopyFunc? = nil, destroy_func : GLib::DestroyNotify? = nil) #

def self.new(ink_rect : Pango::Rectangle, logical_rect : Pango::Rectangle) : Pango::Attribute #

Class Method Detail

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

Instance Method Detail

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

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


def attr : Pango::Attribute #

def attr=(value : Pango::Attribute) #

def copy_func : Pango::AttrDataCopyFunc #

def copy_func=(value : Pango::AttrDataCopyFunc) #

def data : Pointer(Void)? #

def data! #

def destroy_func : GLib::DestroyNotify #

def destroy_func=(value : GLib::DestroyNotify) #

def ink_rect : Pango::Rectangle #

def ink_rect=(value : Pango::Rectangle) #

def logical_rect : Pango::Rectangle #

def logical_rect=(value : Pango::Rectangle) #

def to_unsafe #