class Pango::LayoutLine
- Pango::LayoutLine
- Reference
- Object
Overview
A Pango::LayoutLine
represents one of the lines resulting from laying
out a paragraph via Pango::Layout
.
Pango::LayoutLine
structures are obtained by calling
Pango::Layout#line
and are only valid until the text,
attributes, or settings of the parent Pango::Layout
are modified.
Defined in:
lib/gi-crystal/src/auto/pango-1.0/layout_line.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibPango::LayoutLine, transfer : GICrystal::Transfer)
- .new(start_index : Int32 | Nil = nil, length : Int32 | Nil = nil, is_paragraph_start : UInt32 | Nil = nil, resolved_dir : UInt32 | Nil = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #extents : Pango::Rectangle
- #height : Nil
- #index_to_x(index_ : Int32, trailing : Bool, x_pos : Int32) : Nil
- #is_paragraph_start : Bool
- #is_paragraph_start=(value : UInt32)
- #layout : Pango::Layout | Nil
- #layout!
- #length : Int32
- #length=(value : Int32)
- #pixel_extents : Pango::Rectangle
- #ref : Pango::LayoutLine
- #resolved_dir : UInt32
- #resolved_dir=(value : UInt32)
- #resolved_direction : Pango::Direction
- #runs : GLib::SList | Nil
- #runs!
- #start_index : Int32
- #start_index=(value : Int32)
- #to_unsafe
- #unref : Nil
- #x_ranges(start_index : Int32, end_index : Int32, ranges : Enumerable(Int32)) : Nil
- #x_to_index(x_pos : Int32, index_ : Int32, trailing : Int32) : Bool
Constructor Detail
def self.new(start_index : Int32 | Nil = nil, length : Int32 | Nil = nil, is_paragraph_start : UInt32 | Nil = nil, resolved_dir : UInt32 | Nil = nil)
#
Class Method Detail
Returns the type id (GType) registered in GLib type system.
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.