FPDFFont_GetGlyphPath function

  1. @Native<FPDF_GLYPHPATH Function(FPDF_FONT, Uint32, Float)>(FPDF_FONT, ffi.Uint32, ffi.Float)>()
FPDF_GLYPHPATH FPDFFont_GetGlyphPath(
  1. FPDF_FONT font,
  2. int glyph,
  3. double font_size
)

Experimental API. Get the glyphpath describing how to draw a font glyph.

font - the handle to the font object. glyph - the glyph being drawn. font_size - the size of the font.

Returns the handle to the segment, or NULL on faiure.

Implementation

@ffi.Native<FPDF_GLYPHPATH Function(FPDF_FONT, ffi.Uint32, ffi.Float)>()
external FPDF_GLYPHPATH FPDFFont_GetGlyphPath(
  FPDF_FONT font,
  int glyph,
  double font_size,
);