class Pango::LayoutIter

Overview

A PangoLayoutIter can be used to iterate over the visual extents of a PangoLayout.

To obtain a PangoLayoutIter, use Pango::Layout#iter.

The PangoLayoutIter structure is opaque, and has no user-visible fields.

Defined in:

auto/pango-1.0/layout_iter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


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 at_last_line : Bool #

def baseline : Int32 #

def char_extents : Pango::Rectangle #

def cluster_extents : Pango::Rectangle #

def copy : Pango::LayoutIter? #

def finalize #

def free : Nil #

def index : Int32 #

def layout : Pango::Layout #

def layout_extents : Pango::Rectangle #

def line : Pango::LayoutLine #

def line_extents : Pango::Rectangle #

def line_readonly : Pango::LayoutLine #

def line_yrange : Nil #

def next_char : Bool #

def next_cluster : Bool #

def next_line : Bool #

def next_run : Bool #

def run : Pango::GlyphItem? #

def run_baseline : Int32 #

def run_extents : Pango::Rectangle #

def run_readonly : Pango::GlyphItem? #

def to_unsafe : Pointer(Void) #