pdftron::PDF::Annots::Polygon Class Reference

#include <PolyLine.h>

Inheritance diagram for pdftron::PDF::Annots::Polygon:

Inheritance graph
[legend]
Collaboration diagram for pdftron::PDF::Annots::Polygon:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Polygon (SDF::Obj d=0)
 Creates a Polygon annotation and initializes it using given Cos/SDF object.
 Polygon (const Annot &ann)
 Creates a Polygon annotation and initializes it using given annotation object.

Static Public Member Functions

static Polygon Create (SDF::SDFDoc &doc, const Rect &pos)
 Creates a new Polygon annotation in the specified document.


Constructor & Destructor Documentation

pdftron::PDF::Annots::Polygon::Polygon ( SDF::Obj  d = 0  ) 

Creates a Polygon annotation and initializes it using given Cos/SDF object.

Note:
The constructor does not copy any data, but is instead the logical equivalent of a type cast.

pdftron::PDF::Annots::Polygon::Polygon ( const Annot ann  )  [inline]

Creates a Polygon annotation and initializes it using given annotation object.

Note:
The constructor does not copy any data, but is instead the logical equivalent of a type cast.


Member Function Documentation

static Polygon pdftron::PDF::Annots::Polygon::Create ( SDF::SDFDoc doc,
const Rect pos 
) [static]

Creates a new Polygon annotation in the specified document.

Parameters:
doc A document to which the Polygon annotation is added.
pos A rectangle specifying the Polygon annotation's bounds in default user space units.
Returns:
A newly created blank Polygon annotation.

Reimplemented from pdftron::PDF::Annots::PolyLine.


© 2002-2010 PDFTron Systems Inc.