FPDFAnnot_GetAttachmentPoints function

  1. @Native<FPDF_BOOL Function(FPDF_ANNOTATION, Size, Pointer<FS_QUADPOINTSF>)>(FPDF_ANNOTATION, ffi.Size, ffi.Pointer<FS_QUADPOINTSF>)>()
int FPDFAnnot_GetAttachmentPoints(
  1. FPDF_ANNOTATION annot,
  2. int quad_index,
  3. Pointer<FS_QUADPOINTSF> quad_points
)

Experimental API. Get the attachment points (i.e. quadpoints) of an annotation.

annot - handle to an annotation. quad_index - index of the set of quadpoints. quad_points - receives the quadpoints; must not be NULL.

Returns true if successful.

Implementation

@ffi.Native<
  FPDF_BOOL Function(FPDF_ANNOTATION, ffi.Size, ffi.Pointer<FS_QUADPOINTSF>)
>()
external int FPDFAnnot_GetAttachmentPoints(
  FPDF_ANNOTATION annot,
  int quad_index,
  ffi.Pointer<FS_QUADPOINTSF> quad_points,
);