textGlyphPositions

Calculates the glyph x positions of the specified text. Measured values are returned in local coordinate space.

  1. NVGGlyphPosition[] textGlyphPositions(NVGContext ctx, float x, float y, const(T)[] str, NVGGlyphPosition[] positions)
    nothrow @trusted @nogc
    textGlyphPositions
    (
    T
    )
    (,
    float x
    ,
    float y
    ,
    const(T)[] str
    ,)
    if (
    isAnyCharType!T
    )
  2. int textGlyphPositions(NVGContext ctx, float x, float y, const(T)[] str, DG dg)

See Also

Meta