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, ink_rect : Pango::Rectangle? = nil, logical_rect : Pango::Rectangle? = nil, copy_func : Pango::AttrDataCopyFunc? = nil, destroy_func : GLib::DestroyNotify? = 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)?
- #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, ink_rect : Pango::Rectangle? = nil, logical_rect : Pango::Rectangle? = nil, copy_func : Pango::AttrDataCopyFunc? = nil, destroy_func : GLib::DestroyNotify? = nil)
#
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
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.