The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context.
BOOL PolyTextOut(
HDC hdc, |
// handle of device context |
CONST POLYTEXT *pptxt, |
// address of array of structures that identify strings |
int cStrings |
// number of structures in array |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Each POLYTEXT structure contains the coordinates of a reference point that Windows uses to align the corresponding string of text. An application can specify how the reference point is used by calling the SetTextAlign function. An application can determine the current text-alignment setting for the specified device context by calling the GetTextAlign function.
To draw a single string of text, the application should call the ExtTextOut function.
ExtTextOut, GetTextAlign, POLYTEXT, SetTextAlign
file: /Techref/os/win/api/win32/func/src/f68_2.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 08:30,
18.190.153.77:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f68_2.htm"> PolyTextOut</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.