术语 | arc |
释义 | Arc 语法: BOOL Arc( __in HDC hdc, __in int nLeftRect, __in int nTopRect, __in int nRightRect, __in int nBottomRect, __in int nXStartArc, __in int nYStartArc, __in int nXEndArc, __in int nYEndArc ); 弧功能 在Arc函数绘制一个椭圆弧。 参数 hdc [in] 阿处理设备环境下绘图发生。 nLeftRect [in] 的x坐标,按逻辑单位,对边界矩形的左上角。 nTopRect [in] 该y坐标,按逻辑单位,对边界矩形的左上角。 nRightRect [in] 的x坐标,按逻辑单位,在较低的边界矩形右下角。 nBottomRect [in] 在y坐标,按逻辑单位低,的边界矩形右下角。 nXStartArc [in] 的x坐标,按逻辑单位,对径向定义弧的起点线终点。 nYStartArc [in] The y-coordinate, in logical units, of the ending point of the radial line defining the starting point of the arc. nXEndArc [in] 的x坐标,按逻辑单位,对径向定义弧终点线终点。 nYEndArc [in] 在y坐标,按逻辑单位,对径向定义弧终点线终点。 返回值 如果弧绘制,则返回值为非零。 如果弧不中,返回值是零。 备注 点(nLeftRect,nTopRect)和(nRightRect,nBottomRect)指定的边界矩形。由指定的边界矩形组成的一个椭圆定义的弧线。弧范围从相交点从边界矩形的中心辐射到(nXStartArc,nYStartArc)点,在当前绘图方向。弧线相交的地方结束了从边界矩形中心辐射到(nXEndArc,nYEndArc)点。如果起点和终点都是一样的,一个完整的椭圆绘制。 绘制弧使用当前的笔,它是没有填写。 当前位置既不是使用电弧或更新。 使用GetArcDirection和SetArcDirection函数获取和设置设备上下文当前绘图方向。默认的绘图方向是逆时针。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 直线和曲线概述 线和曲线函数 AngleArc ArcTo 和弦 椭圆 GetArcDirection 馅饼 SetArcDirection 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==Arc Function The Arc function draws an elliptical arc. Syntax BOOL Arc( __in HDC hdc, __in int nLeftRect, __in int nTopRect, __in int nRightRect, __in int nBottomRect, __in int nXStartArc, __in int nYStartArc, __in int nXEndArc, __in int nYEndArc ); 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. nXStartArc [in] The x-coordinate, in logical units, of the ending point of the radial line defining the starting point of the arc. nYStartArc [in] The y-coordinate, in logical units, of the ending point of the radial line defining the starting point of the arc. nXEndArc [in] The x-coordinate, in logical units, of the ending point of the radial line defining the ending point of the arc. nYEndArc [in] The y-coordinate, in logical units, of the ending point of the radial line defining the ending point of the arc. Return Value If the arc is drawn, the return value is nonzero. If the arc is not drawn, the return value is zero. Remarks 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 in the current drawing direction from the point where it intersects the radial from the center of the bounding rectangle to the (nXStartArc, nYStartArc) point. The arc ends where it intersects the radial from the center of the bounding rectangle to the (nXEndArc, nYEndArc) point. If the starting point and ending point are the same, a complete ellipse is drawn. The arc is drawn using the current pen; it is not filled. The current position is neither used nor updated by Arc. Use the GetArcDirection and SetArcDirection functions to get and set the current drawing direction for a device context. The default drawing direction is counterclockwise. 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 ArcTo Chord Ellipse GetArcDirection Pie SetArcDirection Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd183357(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。