Glyph.this

Create a glyph.Glyph boxed type.

  1. this(gulong index, double x, double y)
    class Glyph
    this
    (
    gulong index = gulong.init
    ,
    double x = 0.0
    ,
    double y = 0.0
    )
  2. this(void* ptr, Flag!"Take" take)

Parameters

index gulong

glyph index in the font. The exact interpretation of the glyph index depends on the font technology being used.

x double

the offset in the X direction between the origin used for drawing or measuring the string and the origin of this glyph.

y double

the offset in the Y direction between the origin used for drawing or measuring the string and the origin of this glyph.