网站首页  词典首页

请输入您要查询的函数:

 

术语 polytextout
释义 PolyTextOut
语法:
BOOL PolyTextOut(
__in HDC hdc,
__in const POLYTEXT *pptxt,
__in int cStrings
);
PolyTextOut功能
该PolyTextOut函数绘制使用的字体和文字颜色目前在指定的设备上下文选定几个字符串。
参数
hdc [in]
一个句柄,设备上下文。
pptxt [in]
一个一个POLYTEXT描述字符串数组指针结构要绘制。该数组包含一个结构为每个字符串要绘制。
cStrings [in]
在pptxt数组数POLYTEXT结构。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
每个POLYTEXT结构包含一个参考点,Windows使用,使该文本相应的字符串的坐标。应用程序可以指定的参考点是通过调用SetTextAlign函数中使用。应用程序可确定为指定的设备上下文通过调用函数GetTextAlign当前文本对齐设置。
要绘制文本单个字符串,应用程序应调用ExtTextOut函数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode和ANSI namesPolyTextOutW(Unicode)和PolyTextOutA(ANSI)的
参见
字体和文字概述
字体和文本函数
ExtTextOut
GetTextAlign
POLYTEXT
SetTextAlign
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PolyTextOut Function
The PolyTextOut function draws several strings using the font and text colors currently selected in the specified device context.
Syntax
BOOL PolyTextOut(
__in HDC hdc,
__in const POLYTEXT *pptxt,
__in int cStrings
);
Parameters
hdc [in]
A handle to the device context.
pptxt [in]
A pointer to an array of POLYTEXT structures describing the strings to be drawn. The array contains one structure for each string to be drawn.
cStrings [in]
The number of POLYTEXT structures in the pptxt array.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
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.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
Unicode and ANSI namesPolyTextOutW (Unicode) and PolyTextOutA (ANSI)
See Also
Fonts and Text Overview
Font and Text Functions
ExtTextOut
GetTextAlign
POLYTEXT
SetTextAlign
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162821(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:39