short Escape(hdc, SETMITERLIMIT, sizeof(int),lpNewMiter,lpOldMiter)
The SETMITERLIMIT printer escape sets the miter limit for a device. The miter limit controls the angle at which a device driver replaces a miter join with a bevel join.
hdc
HDC Identifies the device context.
lpNewMiter
LPINT Points to a short integer that specifies the desired miter limit. Only values greater than or equal to –1 are valid. If the value is –1, the driver will use the default graphics device interface (GDI) miter limit.
lpOldMiter
LPINT Points to a short integer that specifies the previous miter-limit setting.
The return value specifies the outcome of the escape. This value is positive if the escape is successful. Otherwise, it is negative.
This escape is used only by PostScript printer drivers.
The miter limit is defined as follows:
miter length / line width = 1 / sin(x/2)
where x is the angle of the line join, in radians.
The interpretation of this escape varies with page-description languages (PDLs). For its exact meaning, consult the PDL documentation.