View on GitHub

HarfBuzz-raku

Bindings to HarfBuzz font shaping and manipulation library

[Raku HarfBuzz Project] / [HarfBuzz Module] / HarfBuzz :: Glyph

class HarfBuzz::Glyph

Represents a shaped glyph

method x-advance

method x-advance() returns Numeric

Relative/scaled glyph x-advance

method y-advance

method y-advance() returns Numeric

Relative/scaled glyph y-advance

method advance

method advance() returns Complex

Relative/scaled glyph x/y advance

method x-offset

method x-offset() returns Numeric

Relative/scaled glyph x offset

method y-offset

method y-offset() returns Numeric

Relative/scaled glyph y offset

method offset

method offset() returns Complex

Relative/scaled glyph x/y offset

method x-bearing

method x-bearing() returns Numeric

left side of glyph from origin

method y-bearing

method y-bearing() returns Numeric

top side of glyph from origin

method bearing

method bearing() returns Complex

position of glyph from origin

method size

method size() returns Complex

size of glyph

has Associative %!ast

Glyph summary hash

Of the form %( :$ax, :$ay, :$dx, :$dy, :g($gid), :$c)

where