Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GETVECTORPENSIZE
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define GETVECTORPENSIZE 26 
short Control(lpDevice, GETVECTORPENSIZE, lpInData, lpOutData)
LPPDEVICE lpDevice;
LPPEN lpInData;
LPPOINT lpOutData;
 
The GETVECTORPENSIZE escape retrieves the size in device units of a plotter
pen. GDI uses this information to prevent hatched brush patterns from
overwriting the border of a closed figure.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpInData   Points to a LPEN structure that specifies the pen for which the
           width is to be retrieved.
 
lpOutData  Points to a POINT structure that receives the pen width in device
           units. The escape copies the pen width to the y member.
 
Return Value
 
The return value is 1 if the escape is successful. Otherwise, it is 0 if the
escape is not successful or not implemented.
 
See Also
 
LOGPEN, PDEVICE, POINT