网站首页  词典首页

请输入您要查询的函数:

 

术语 movetoex
释义 MoveToEx
语法:
BOOL MoveToEx(
__in HDC hdc,
__in int X,
__in int Y,
__out LPPOINT lpPoint
);
MoveToEx函数
该MoveToEx函数更新当前位置到指定点,并可以选择返回先前的立场。
参数
hdc [in]
句柄设备上下文。
X [in]
指定的x坐标,按逻辑单位,在新的职位,按逻辑单位。
y [in]
指定的Y -逻辑单位协调,在新的职位,在逻辑单位。
lpPoint [out]
指针POINT结构,它接收前的当前位置。如果这个参数是NULL指针,与先前的情况是不会返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该MoveToEx函数影响到所有的绘图函数。
实例
有关示例,请参见图标记。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
AngleArc
LineTo

PolyBezierTo
PolylineTo
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==MoveToEx Function
The MoveToEx function updates the current position to the specified point and optionally returns the previous position.
Syntax
BOOL MoveToEx(
__in HDC hdc,
__in int X,
__in int Y,
__out LPPOINT lpPoint
);
Parameters
hdc [in]
Handle to a device context.
X [in]
Specifies the x-coordinate, in logical units, of the new position, in logical units.
Y [in]
Specifies the y-coordinate, in logical units, of the new position, in logical units.
lpPoint [out]
Pointer to a POINT structure that receives the previous current position. If this parameter is a NULL pointer, the previous position is not returned.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The MoveToEx function affects all drawing functions.
Examples
For an example, see Drawing Markers .
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
AngleArc
LineTo
POINT
PolyBezierTo
PolylineTo
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145069(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 9:23:46