VECTORPARALLELOGRAM (original) (raw)

Summary

The VECTORPARALLELOGRAM structure specifies the bounding parallelogram for a vector file.

Syntax

typedef struct _VECTORPARALLELOGRAM { [L_INT](leadtools-basic-data-types.html) uStructSize; [VECTORPOINT](../../vector/api/vectorpoint.html) Min; [VECTORPOINT](../../vector/api/vectorpoint.html) Max; VECTOR_UNIT Unit; } VECTORPARALLELOGRAM, *pVECTORPARALLELOGRAM; /* Reserved for internal use */

Members

uStructSize

Size of the structure. This must be set before passing this structure to the LEAD functions. Use the sizeof() operator to calculate this value.

Min

The minimum point of the bounding parallelogram for the vector.

Max

The maximum point of the bounding parallelogram for the vector.

Unit

A VECTOR_UNIT structure that indicates which unit of measure the vector is using.

Comments

pVECTORPARALLELOGRAM is a pointer to a VECTORPARALLELOGRAM structure. If you need a pVECTORPARALLELOGRAM parameter, declare a VECTORPARALLELOGRAM variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pVECTORPARALLELOGRAM variable is necessary only if your program requires a pointer.

Set the height and width for the viewport (physical size up to which the drawing can be rendered) using the VEC2DOPTIONS structure.

The structure is used by:

LEADTOOLS Raster Imaging C API Help