GlyphPosition.this

Create a glyph_position.GlyphPosition boxed type.

  1. this(harfbuzz.types.Position xAdvance, harfbuzz.types.Position yAdvance, harfbuzz.types.Position xOffset, harfbuzz.types.Position yOffset)
  2. this(void* ptr, Flag!"Take" take)

Parameters

xAdvance harfbuzz.types.Position

how much the line advances after drawing this glyph when setting text in horizontal direction.

yAdvance harfbuzz.types.Position

how much the line advances after drawing this glyph when setting text in vertical direction.

xOffset harfbuzz.types.Position

how much the glyph moves on the X-axis before drawing it, this should not affect how much the line advances.

yOffset harfbuzz.types.Position

how much the glyph moves on the Y-axis before drawing it, this should not affect how much the line advances.