Class GLYPHMETRICSFLOAT

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


    public class GLYPHMETRICSFLOAT
    extends Struct
    Contains information about the placement and orientation of a glyph in a character cell.

    Member documentation

    • gmfBlackBoxX – specifies the width of the smallest rectangle (the glyph's black box) that completely encloses the glyph
    • gmfBlackBoxY – specifies the height of the smallest rectangle (the glyph's black box) that completely encloses the glyph
    • gmfptGlyphOrigin – specifies the x and y coordinates of the upper-left corner of the smallest rectangle that completely encloses the glyph
    • gmfCellIncX – specifies the horizontal distance from the origin of the current character cell to the origin of the next character cell
    • gmfCellIncY – specifies the vertical distance from the origin of the current character cell to the origin of the next character cell

    Layout

    struct GLYPHMETRICSFLOAT {
        FLOAT gmfBlackBoxX;
        FLOAT gmfBlackBoxY;
        POINTFLOAT gmfptGlyphOrigin;
        FLOAT gmfCellIncX;
        FLOAT gmfCellIncY;
    }