FPDFPathSegment_GetPoint method

int FPDFPathSegment_GetPoint(
  1. FPDF_PATHSEGMENT segment,
  2. Pointer<Float> x,
  3. Pointer<Float> y
)

Get coordinates of |segment|.

segment - handle to a segment. x - the horizontal position of the segment. y - the vertical position of the segment.

Returns TRUE on success, otherwise |x| and |y| is not set.

Implementation

int FPDFPathSegment_GetPoint(
  FPDF_PATHSEGMENT segment,
  ffi.Pointer<ffi.Float> x,
  ffi.Pointer<ffi.Float> y,
) {
  return _FPDFPathSegment_GetPoint(segment, x, y);
}