SOVECTORHEADERSOVECTORHEADER*
*



Contents  *



Index  *Topic Contents
*Previous Topic: SOTRANSFORM
*Next Topic: STRRET

SOVECTORHEADER

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

Syntax

typedef struct SOVECTORHEADERtag {
    WORD wStructSize; 
    SORECT BoundingRect; 
    WORD wHDPI; 
    WORD wVDPI; 
    WORD wImageFlags; 
    SOCOLOR BkgColor; 
} 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_VECTORCOLORPALETTEUses a color palette. Color values must be palette entry indexes or palette-relative RGB values.
SO_VECTORRGBCOLORUses RGB color values.
SO_XISLEFTHas positive x-coordinates left of the y-axis.
SO_YISUPHas 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: SOPALETTEINDEX, SORGB, or SOPALETTERGB. However, SORGB should not be used if a palette is defined.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.