FPDFClipPath_CountPaths function

  1. @Native<Int Function(FPDF_CLIPPATH)>(FPDF_CLIPPATH)>()
int FPDFClipPath_CountPaths(
  1. FPDF_CLIPPATH clip_path
)

Experimental API. Get number of paths inside |clip_path|.

clip_path - handle to a clip_path.

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

Implementation

@ffi.Native<ffi.Int Function(FPDF_CLIPPATH)>()
external int FPDFClipPath_CountPaths(FPDF_CLIPPATH clip_path);