网站首页  词典首页

请输入您要查询的函数:

 

术语 arcto
释义 ArcTo
语法:
BOOL ArcTo(
__in HDC hdc,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect,
__in int nXRadial1,
__in int nYRadial1,
__in int nXRadial2,
__in int nYRadial2
);
ArcTo功能
该ArcTo函数绘制一个椭圆弧。
参数
hdc [in]
阿处理设备环境下绘图发生。
nLeftRect [in]
的x坐标,按逻辑单位,对边界矩形的左上角。
nTopRect [in]
该y坐标,按逻辑单位,对边界矩形的左上角。
nRightRect [in]
的x坐标,按逻辑单位,在较低的边界矩形右下角。
nBottomRect [in]
在y坐标,按逻辑单位低,的边界矩形右下角。
nXRadial1 [in]
的x坐标,按逻辑单位,对确定弧的起点径向端点。
nYRadial1 [in]
在y坐标,按逻辑单位,对确定弧的起点径向端点。
nXRadial2 [in]
的x坐标,按逻辑单位,对确定弧终点径向端点。
nYRadial2 [in]
在y坐标,按逻辑单位,对确定弧终点径向端点。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
ArcTo类似弧功能,除了目前的位置更新。
点(nLeftRect,nTopRect)和(nRightRect,nBottomRect)指定的边界矩形。由指定的边界矩形组成的一个椭圆定义的弧线。弧范围从逆时针方向点相交的地方,从边界矩形的中心辐射线的(nXRadial1,nYRadial1)点。弧线相交的地方结束了从边界矩形中心辐射线的(nXRadial2,nYRadial2)点。如果起点和终点都是一样的,一个完整的椭圆绘制。
一条线是来自目前的立场,弧的起点。如果没有错误发生,当前位置设置为弧的终点。
绘制弧使用当前的笔,它是没有填写。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
AngleArc

SetArcDirection
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==ArcTo Function
The ArcTo function draws an elliptical arc.
Syntax
BOOL ArcTo(
__in HDC hdc,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect,
__in int nXRadial1,
__in int nYRadial1,
__in int nXRadial2,
__in int nYRadial2
);
Parameters
hdc [in]
A handle to the device context where drawing takes place.
nLeftRect [in]
The x-coordinate, in logical units, of the upper-left corner of the bounding rectangle.
nTopRect [in]
The y-coordinate, in logical units, of the upper-left corner of the bounding rectangle.
nRightRect [in]
The x-coordinate, in logical units, of the lower-right corner of the bounding rectangle.
nBottomRect [in]
The y-coordinate, in logical units, of the lower-right corner of the bounding rectangle.
nXRadial1 [in]
The x-coordinate, in logical units, of the endpoint of the radial defining the starting point of the arc.
nYRadial1 [in]
The y-coordinate, in logical units, of the endpoint of the radial defining the starting point of the arc.
nXRadial2 [in]
The x-coordinate, in logical units, of the endpoint of the radial defining the ending point of the arc.
nYRadial2 [in]
The y-coordinate, in logical units, of the endpoint of the radial defining the ending point of the arc.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
ArcTo is similar to the Arc function, except that the current position is updated.
The points (nLeftRect, nTopRect) and (nRightRect, nBottomRect) specify the bounding rectangle. An ellipse formed by the specified bounding rectangle defines the curve of the arc. The arc extends counterclockwise from the point where it intersects the radial line from the center of the bounding rectangle to the (nXRadial1, nYRadial1) point. The arc ends where it intersects the radial line from the center of the bounding rectangle to the (nXRadial2, nYRadial2) point. If the starting point and ending point are the same, a complete ellipse is drawn.
A line is drawn from the current position to the starting point of the arc. If no error occurs, the current position is set to the ending point of the arc.
The arc is drawn using the current pen; it is not filled.
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
Arc
SetArcDirection
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183358(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:27:31