class Pango::AttrShape
- Pango::AttrShape
- Reference
- Object
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.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibPango::AttrShape, transfer : GICrystal::Transfer)
- .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)
- .new(ink_rect : Pango::Rectangle, logical_rect : Pango::Rectangle) : Pango::Attribute
Class Method Summary
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #attr : Pango::Attribute
- #attr=(value : Pango::Attribute)
- #copy_func : Pango::AttrDataCopyFunc
- #copy_func=(value : Pango::AttrDataCopyFunc)
- #data : Pointer(Void) | Nil
- #data!
- #destroy_func : GLib::DestroyNotify
- #destroy_func=(value : GLib::DestroyNotify)
- #ink_rect : Pango::Rectangle
- #ink_rect=(value : Pango::Rectangle)
- #logical_rect : Pango::Rectangle
- #logical_rect=(value : Pango::Rectangle)
- #to_unsafe
Constructor Detail
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)
#
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
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.