FPDFClipPath_CountPaths method

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

int FPDFClipPath_CountPaths(FPDF_CLIPPATH clip_path) {
  return _FPDFClipPath_CountPaths(clip_path);
}