VECTORRASTER

typedef  struct  tagVECTORRASTER
{
     VECTOROBJECT  Object;
     VECTORPOINT  Point[2];
     VECTORBITMAP  Bitmap;
}  VECTORRASTER,  *  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.

VECTOR_OBJECT_ENABLE_TRANSPARENCY (32) //currently works for png files

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

pVECTORRASTER is a pointer to a VECTORRASTER structure.