Prev Next
The POLYTEXT structure describes how the PolyTextOut
function should draw a string of text. 
typedef struct _POLYTEXT { // ptxt 
    int     x; 
    int     y; 
    UINT    n; 
    LPCTSTR lpstr; 
    UINT    uiFlags; 
    RECT    rcl; 
    int     *pdx; 
} POLYTEXT; 
 
Members
- 
x
- 
Specifies the horizontal reference point for the string. The string is aligned
to this point using the current text-alignment mode. 
 
- 
y
- 
Specifies the vertical reference point for the string. The string is aligned
to this point using the current text-alignment mode. 
 
- 
n
- 
Specifies the number of characters in the string. 
 
- 
uiFlags
- 
Specifies whether the string is to be opaque or clipped and whether the string
is accompanied by an array of character-width values. This member can be one
or more of the following values: 
| 
Value
 | 
Meaning
 |  
| 
ETO_OPAQUE
 | 
The rectangles given for each string is to be opaqued with the current
background color.
 |  
| 
ETO_CLIPPED
 | 
Each string is to be clipped to its given rectangle.
 |  
 
- 
lpstr
- 
Points to a string of text to be drawn by the PolyTextOut function. 
 
- 
rcl
- 
Specifies a rectangle structure that contains the dimensions of the opaquing
or clipping rectangle. This member is ignored if neither of the ETO_OPAQUE nor
the ETO_CLIPPED value is specified for the uiFlags member. 
 
- 
pdx
- 
Specifies in an array the width value for each character in the string. 
See Also
PolyTextOut