struct HarfBuzz::FontExtentsT

Overview

Font-wide extent values, measured in font units.

Note that typically ascender is positive and descender negative, in coordinate systems that grow up.

Defined in:

lib/gi-crystal/src/auto/harf_buzz-0.0/font_extents_t.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(data : LibHarfBuzz::FontExtentsT, _transfer : GICrystal::Transfer) #

[View source]
def self.new(ascender : Int32 | Nil = nil, descender : Int32 | Nil = nil, line_gap : Int32 | Nil = nil, reserved9 : Int32 | Nil = nil, reserved8 : Int32 | Nil = nil, reserved7 : Int32 | Nil = nil, reserved6 : Int32 | Nil = nil, reserved5 : Int32 | Nil = nil, reserved4 : Int32 | Nil = nil, reserved3 : Int32 | Nil = nil, reserved2 : Int32 | Nil = nil, reserved1 : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def ascender(*args, **options) #

[View source]
def ascender(*args, **options, &) #

[View source]
def ascender=(arg) #

[View source]
def descender(*args, **options) #

[View source]
def descender(*args, **options, &) #

[View source]
def descender=(arg) #

[View source]
def line_gap(*args, **options) #

[View source]
def line_gap(*args, **options, &) #

[View source]
def line_gap=(arg) #

[View source]
def reserved1(*args, **options) #

[View source]
def reserved1(*args, **options, &) #

[View source]
def reserved1=(arg) #

[View source]
def reserved2(*args, **options) #

[View source]
def reserved2(*args, **options, &) #

[View source]
def reserved2=(arg) #

[View source]
def reserved3(*args, **options) #

[View source]
def reserved3(*args, **options, &) #

[View source]
def reserved3=(arg) #

[View source]
def reserved4(*args, **options) #

[View source]
def reserved4(*args, **options, &) #

[View source]
def reserved4=(arg) #

[View source]
def reserved5(*args, **options) #

[View source]
def reserved5(*args, **options, &) #

[View source]
def reserved5=(arg) #

[View source]
def reserved6(*args, **options) #

[View source]
def reserved6(*args, **options, &) #

[View source]
def reserved6=(arg) #

[View source]
def reserved7(*args, **options) #

[View source]
def reserved7(*args, **options, &) #

[View source]
def reserved7=(arg) #

[View source]
def reserved8(*args, **options) #

[View source]
def reserved8(*args, **options, &) #

[View source]
def reserved8=(arg) #

[View source]
def reserved9(*args, **options) #

[View source]
def reserved9(*args, **options, &) #

[View source]
def reserved9=(arg) #

[View source]