LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnCrossProduct > LAnnCrossProduct Class Members > LAnnCrossProduct::GetPoints |
#include "ltwrappr.h"
virtual L_INT LAnnCrossProduct::GetPoints(pPoints)
pANNPOINT pPoints; |
/* pointer to an array */ |
Fills the specified array of ANNPOINT structures with the endpoints of the ruler object.
Parameter |
Description |
pPoints |
Pointer to the array to be filled with the endpoints of the ruler object. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The ANNPOINT structure is like a Windows POINT structure, except that it uses double-precision floating point values.
Coordinates of an object's points are relative to its container object. The coordinates are interpreted using the container's scaling factors and offsets, which are described in Low-Level Coordinate System for Annotations.
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
|
Topics: |
Annotation Functions: Getting and Setting Geometric Properties |
|
Annotation Functions: Using Window Coordinates to Define an Object |
|
|
|
Example
For an example, refer to LAnnCrossProduct::GetDistance.