Point Enumeration The Point enumeration is used to specify how a point is to be used in a drawing call. typedef enum { PT_CLOSEFIGURE = 0x01, PT_LINETO = 0x02, PT_BEZIERTO = 0x04, PT_MOVETO = 0x06 } Point; PT_CLOSEFIGURE: A PT_LINETO or PT_BEZIERTO type can be combined with this value by using the bitwise operator OR to indicate that the corresponding point is the last point in a figure and the figure is closed. The current position is set to the ending point of the closing line. PT_LINETO: Specifies that a line is to be drawn from the current position to this point, which then becomes the new current position. PT_BEZIERTO: Specifies that this point is a control point or ending point for a Bezier curve. PT_BEZIERTO types always occur in sets of three. The current position defines the starting point for the Bezier curve. The first two PT_BEZIERTO points are the control points, and the third PT_BEZIERTO point is the ending point. The ending point becomes the new current position. If there are not three consecutive PT_BEZIERTO points, an error results. PT_MOVETO: Specifies that this point starts a disjoint figure. This point becomes the new current position. PolygonFillMode Enumeration The PolygonFillMode enumeration defines values that specify how to calculate the region of a polygon that is to be filled. typedef enum { ALTERNATE = 0x01, WINDING = 0x02 } PolygonFillMode; ALTERNATE: Selects alternate mode (fills the area between odd-numbered and even-numbered polygon sides on each scan line). WINDING: Selects winding mode (fills any region with a nonzero winding value). Proportion Enumeration The Proportion enumeration defines values for one of the characteristics in the PANOSE system for classifying typefaces. typedef enum { PAN_ANY = 0x00, PAN_NO_FIT = 0x01, PAN_PROP_OLD_STYLE = 0x02, PAN_PROP_MODERN = 0x03,
Point Enumeration The Point enumeration is used to specify how a point is to be used in a drawing call. typedef enum { PT_CLOSEFIGURE = 0x01, PT_LINETO = 0x02, PT_BEZIERTO = 0x04, PT_MOVETO = 0x06 } Point; PT_CLOSEFIGURE: A PT_LINETO or PT_BEZIERTO type can be combined with this value by using the bitwise operator OR to indicate that the corresponding point is the last point in a figure and the figure is closed. The current position is set to the ending point of the closing line. PT_LINETO: Specifies that a line is to be drawn from the current position to this point, which then becomes the new current position. PT_BEZIERTO: Specifies that this point is a control point or ending point for a Bezier curve. PT_BEZIERTO types always occur in sets of three. The current position defines the starting point for the Bezier curve. The first two PT_BEZIERTO points are the control points, and the third PT_BEZIERTO point is the ending point. The ending point becomes the new current position. If there are not three consecutive PT_BEZIERTO points, an error results. PT_MOVETO: Specifies that this point starts a disjoint figure. This point becomes the new current position. PolygonFillMode Enumeration The PolygonFillMode enumeration defines values that specify how to calculate the region of a polygon that is to be filled. typedef enum { ALTERNATE = 0x01, WINDING = 0x02 } PolygonFillMode; ALTERNATE: Selects alternate mode (fills the area between odd-numbered and even-numbered polygon sides on each scan line). WINDING: Selects winding mode (fills any region with a nonzero winding value). Proportion Enumeration The Proportion enumeration defines values for one of the characteristics in the PANOSE system for classifying typefaces. typedef enum { PAN_ANY = 0x00, PAN_NO_FIT = 0x01, PAN_PROP_OLD_STYLE = 0x02, PAN_PROP_MODERN = 0x03,
%5BMS-EMF%5D-150630.docx