网站首页  词典首页

请输入您要查询的函数:

 

术语 linedda
释义 LineDDA
语法:
BOOL LineDDA(
__in int nXStart,
__in int nYStart,
__in int nXEnd,
__in int nYEnd,
__in LINEDDAPROC lpLineFunc,
__in LPARAM lpData
);
LineDDA功能
该LineDDA函数确定哪些像素应该由指定的起点和终点定义的行突出。
参数
nXStart [in]
指定的x坐标,按逻辑单位,该行的出发点。
nYStart [in]
指定的Y -逻辑单位协调,该行的出发点。
nXEnd [in]
指定的x坐标,按逻辑单位,该行的终点。
nYEnd [in]
指定的Y -逻辑单位协调,该行的终点。
lpLineFunc [in]
指向一个应用程序定义的回调函数。有关详细信息,请参阅LineDDAProc回调函数。
lpData [in]
指向应用程序定义的数据。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该LineDDA传递函数坐标线沿线各点,除了线的终点,应用程序定义的回调函数。除了通过一个点的坐标,这个功能通过任何现有的应用程序定义的数据。
坐标传递给回调函数的匹配像素只有默认的转换和映射模式用于视频显示。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
LineDDAProc
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==LineDDA Function
The LineDDA function determines which pixels should be highlighted for a line defined by the specified starting and ending points.
Syntax
BOOL LineDDA(
__in int nXStart,
__in int nYStart,
__in int nXEnd,
__in int nYEnd,
__in LINEDDAPROC lpLineFunc,
__in LPARAM lpData
);
Parameters
nXStart [in]
Specifies the x-coordinate, in logical units, of the line's starting point.
nYStart [in]
Specifies the y-coordinate, in logical units, of the line's starting point.
nXEnd [in]
Specifies the x-coordinate, in logical units, of the line's ending point.
nYEnd [in]
Specifies the y-coordinate, in logical units, of the line's ending point.
lpLineFunc [in]
Pointer to an application-defined callback function. For more information, see the LineDDAProc callback function.
lpData [in]
Pointer to the application-defined data.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The LineDDA function passes the coordinates for each point along the line, except for the line's ending point, to the application-defined callback function. In addition to passing the coordinates of a point, this function passes any existing application-defined data.
The coordinates passed to the callback function match pixels on a video display only if the default transformations and mapping modes are used.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Lines and Curves Overview
Line and Curve Functions
LineDDAProc
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145025(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 11:28:44