VECTORRASTER

typedef struct tagVECTORRASTER
{
   VECTOROBJECT Object;
   VECTORPOINT Point[2];
   VECTORBITMAP Bitmap;
} VECTORRASTER, L_FAR * pVECTORRASTER;

The VECTORRASTER structure holds information about a raster object.

Member

Description

Object

Abstract object.

Point

An array of VECTORPOINT structures that contain the defining points of a bounding rectangle. Point[0] contains the top left position and Point[1] contains the bottom right position.

Bitmap

VECTORBITMAP structure that contains the bitmap image to draw.

Comments

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

nType of the Object member must be VECTOR_RASTER.

The OpenGL and DirectX engines give optimal performance when working with 3D raster images.

For more information about setting the vector engine, refer to LVectorBase::AttachToWindow or LVectorWindow::SetEngine.

For more information about vector objects, refer to Working with Vector Objects.

pVECTORRASTER is a pointer to a VECTORRASTER structure.