GETVECTORBRUSHSIZE

Syntax

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

This escape retrieves in device units the size of a plotter pen used to fill closed figures. GDI uses this information to prevent the plotter pen from writing over the borders of the figure when filling closed figures.

Parameter Type/Description  

hDC HDC Identifies the device context.  
lpInData LOGBRUSH FAR * Points to a LOGBRUSH data structure that specifies the brush for which data are to be returned.  
lpOutData LPPOINT Points to a POINT data structure that contains in its second word the width of the pen in device units.  

Return Value

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