VECTORSTOCK

Summary

The VECTORSTOCK structure holds information about a vector stock object.

Syntax

typedef struct tagVECTORSTOCK 
{ 
   VECTOROBJECT Object; 
   L_INT nId; 
   HINSTANCE hInstDLL; 
   L_CHAR * pszDLLName; 
   VECTORPOINT Point[2]; 
   VECTORPEN Pen; 
   VECTORBRUSH Brush; 
} VECTORSTOCK, * pVECTORSTOCK; 

Members

VECTOROBJECT Object

Abstract object.

L_INT nId

Stock object ID in its DLL. The documentation for the stock object DLL should include valid object IDs.

HINSTANCE hInstDLL

Instance handle of the stock object DLL. This can be NULL only if pszDLLName is not NULL.

L_CHAR * pszDLLName

Character string that contains the name of the stock object DLL. This can be NULL only if hInstDLL is not NULL.

VECTORPOINT Point

Array of VECTORPOINT structures that contains the vertices of the bounding parallelogram.

VECTORPEN Pen

VECTORPEN structure that contains information about the pen to use when drawing the vector stock object.

VECTORBRUSH Brush

VECTORBRUSH structure that contains information about the brush to use when drawing the vector stock object.

Comments

nSize of the Object member must be the sizeof this structure.

nType of the Object member must be VECTOR_STOCK.

Either hInstDLL or pszDLLName can be NULL. They cannot both be NULL. If hInstDLL is not NULL, the toolkit will load the requested object from this DLL handle. If hInstDLL is NULL, the toolkit will assume that pszDLLName indicates the complete path to the requested library.

pVECTORSTOCK is a pointer to a VECTORSTOCK structure.

Usage

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.