Class NVGGlyphPosition

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class NVGGlyphPosition
    extends Struct
    implements NativeResource
    A glyph position.

    Member documentation

    • str – position of the glyph in the input string
    • x – the x-coordinate of the logical glyph position
    • minx – the left bound of the glyph shape
    • maxx – the right bound of the glyph shape

    Layout

    
     struct NVGglyphPosition {
         char * str;
         float x;
         float minx;
         float maxx;
     }