FPDFGlyphPath_CountGlyphSegments function

  1. @Native<Int Function(FPDF_GLYPHPATH)>(FPDF_GLYPHPATH)>()
int FPDFGlyphPath_CountGlyphSegments(
  1. FPDF_GLYPHPATH glyphpath
)

Experimental API. Get number of segments inside glyphpath.

glyphpath - handle to a glyph path.

Returns the number of objects in |glyphpath| or -1 on failure.

Implementation

@ffi.Native<ffi.Int Function(FPDF_GLYPHPATH)>()
external int FPDFGlyphPath_CountGlyphSegments(FPDF_GLYPHPATH glyphpath);