GETVECTORBRUSHSIZE

short Escape(hdc, GETVECTORBRUSHSIZE, sizeof(LOGBRUSH),lpInData,lpOutData)

The GETVECTORBRUSHSIZE printer escape retrieves, in device units, the size of a plotter pen used to fill closed figures. Graphics device interface (GDI) uses this information to prevent the plotter pen from writing over the borders of the figure when filling closed figures.

Parameters

hdc

HDC Identifies the device context.

lpInData

LOGBRUSH FAR * Points to a LOGBRUSH structure that specifies the brush for which data is to be returned.

lpOutData

LPPOINT Points to a POINT structure whose y member contains the width of the pen, in device units.

Return Value

The return value specifies the outcome of the escape. This value is 1 if the escape is successful. It is zero if the escape is not successful or is not implemented.