SOVECTORHEADER

Contains information defining the size and attributes of the rectangle in which vector graphics are drawn.

typedef struct SOVECTORHEADERtag { 

    WORD wStructSize;    // see below

    SORECT BoundingRect; // see below

    WORD wHDPI;          // see below

    WORD wVDPI;          // see below

    WORD wImageFlags;    // see below

    SOCOLOR BkgColor;    // see below

} SOVECTORHEADER, VWPTR *PSOVECTORHEADER;

 

Members

wStructSize

Size, in bytes, of the structure.

BoundingRect

Rectangle that bounds all drawing commands.

wHDpI

Dots per inch resolution along the x-axis.

wVDpI

Dots per inch resolution along the y-axis.

wImageFlags

Image flags. This member can be a combination of these values:

SO_VECTORCOLORPALETTE

Uses a color palette. Color values must be palette entry indexes or palette-relative RGB values.

SO_VECTORRGBCOLOR

Uses RGB color values.

SO_XISLEFT

Has positive x-coordinates left of the y-axis.

SO_YISUP

Has positive y-coordinates up from the x-axis.

 

BkgColor

Color of the background in the bounding rectangle. This value must be set by using one of the three color macros: SOPALETTEINDEX2MF4FEZ, SORGB4846_I8, or SOPALETTERGBA.Y65V. However, SORGB should not be used if a palette is defined.