typedef struct tagVECTORPOLYDRAW
{
VECTOROBJECT Object;
VECTORPOINT * Point;
L_INT nPointCount;
L_UCHAR *pbyType;
VECTORPEN Pen;
VECTORBRUSH Brush;
} VECTORPOLYDRAW, * pVECTORPOLYDRAW;
The VECTORPOLYDRAW structure holds information about a vector polydraw object.
Member | Description | |
Object | Abstract object. | |
Point | An array of VECTORPOINT structures that contain the points that define a vector polydraw object in space. | |
nPointCount | Number of points in the array. | |
pbyType | Pointer to an array that specifies how each point in the Point array is used. The values given below behave like the PT_MOVETO, PT_LINETO, PT_BEZIERTO and PT_CLOSEFIGURE values under PolyDraw in the Microsoft SDK. For a more detailed explanation, refer to the Microsoft SDK documentation. Possible values are: | |
Value | Meaning | |
VECTOR_PT_MOVETO | Beginning of a disjoint figure. This will be the new current position. | |
VECTOR_PT_LINETO | Draw a line from the current position to this point. This point becomes the new current position. | |
VECTOR_PT_BEZIERTO | Control point or end point for a Bzier curve. These occur in threes. The first two are control points and the third is the end point. For more information, refer to the Microsoft SDK documentation. | |
VECTOR_PT_CLOSEFIGURE | Automatically close the figure after VECTOR_PT_LINETO or VECTOR_PT_BEZIERTO is done. This can be combined with VECTOR_PT_LINETO or VECTOR_PT_BEZIERTO using a bitwise OR. | |
Pen | VECTORPEN structure that contains information about the pen to use when drawing the vector polydraw object. | |
Brush | VECTORBRUSH structure that contains information about the brush to use when drawing the vector polydraw object. |
nSize of the Object member must be the sizeof this structure.
nType of the Object member must be VECTOR_POLYDRAW.
pVECTORPOLYDRAW is a pointer to a VECTORPOLYDRAW structure.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET