Foxit PDF SDK  9.1
FSQuadPoints Class Reference
Inheritance diagram for FSQuadPoints:

Instance Methods

(void) - dealloc
 
(void *) - getCptr
 
(id) - init
 Constructor.
More...
 
(id) - initWithCptr:swigOwnCObject:
 
(id) - initWithFirst:second:third:fourth:
 
(id) - initWithQuad_points:
 Constructor, with another quadrilateral points object.
More...
 
(void) - set:second:third:fourth:
 Set value.
More...
 

Protected Attributes

BOOL swigCMemOwn
 
void * swigCPtr
 

Properties

FSPointFfirst
 First point of quadrilateral, in PDF coordinate system.
More...
 
FSPointFfourth
 Fourth point of quadrilateral, in PDF coordinate system.
More...
 
FSPointFsecond
 Second point of quadrilateral, in PDF coordinate system.
More...
 
FSPointFthird
 Third point of quadrilateral, in PDF coordinate system.
More...
 

Detailed Description

This class represents points of a quadrilateral, in PDF coordinate system. The order of points in a quadrilateral should be as follows:

  • The first point is the point in left-top corner of the quadrilateral.
  • The second point is the point in right-top corner of the quadrilateral.
  • The third point is the point in left-bottom corner of the quadrilateral.
  • The fourth point is the point in right-bottom corner of the quadrilateral.


Method Documentation

◆ dealloc

- (void) dealloc

◆ getCptr

- (void*) getCptr

◆ init

- (id) init

Constructor.

◆ initWithCptr:swigOwnCObject:

- (id) initWithCptr: (void *)  cptr
swigOwnCObject: (BOOL)  ownCObject 

◆ initWithFirst:second:third:fourth:

- (id) initWithFirst: (FSPointF *)  first
second: (FSPointF *)  second
third: (FSPointF *)  third
fourth: (FSPointF *)  fourth 

◆ initWithQuad_points:

- (id) initWithQuad_points: (FSQuadPoints*)  quad_points

Constructor, with another quadrilateral points object.

Parameters
[in]quad_pointsAnother quadrilateral points object.

◆ set:second:third:fourth:

- (void) set: (FSPointF*)  first
second: (FSPointF*)  second
third: (FSPointF*)  third
fourth: (FSPointF*)  fourth 

Set value.

Parameters
[in]firstFirst point of the quadrilateral, in PDF coordinate system.
[in]secondSecond point of the quadrilateral, in PDF coordinate system.
[in]thirdThird point of the quadrilateral, in PDF coordinate system.
[in]fourthFourth point of the quadrilateral, in PDF coordinate system.
Returns
None.

Member Data Documentation

◆ swigCMemOwn

- (BOOL) swigCMemOwn
protected

◆ swigCPtr

- (void*) swigCPtr
protected

Property Documentation

◆ first

- (FSPointF *) first
readwritenonatomiccopy

First point of quadrilateral, in PDF coordinate system.

◆ fourth

- (FSPointF *) fourth
readwritenonatomiccopy

Fourth point of quadrilateral, in PDF coordinate system.

◆ second

- (FSPointF *) second
readwritenonatomiccopy

Second point of quadrilateral, in PDF coordinate system.

◆ third

- (FSPointF *) third
readwritenonatomiccopy

Third point of quadrilateral, in PDF coordinate system.