网站首页  词典首页

请输入您要查询的函数:

 

术语 anglearc
释义 AngleArc
语法:
BOOL AngleArc(
__in HDC hdc,
__in int X,
__in int Y,
__in DWORD dwRadius,
__in FLOAT eStartAngle,
__in FLOAT eSweepAngle
);
AngleArc功能
该AngleArc函数绘制一条线段和圆弧。该生产线部分是来自目前的立场,弧的开始。弧绘制沿一给定的半径和中心圆的周长。弧的长度定义为给定的开始和扫描角度。
参数
hdc [in]
句柄设备上下文。
X [in]
指定的x坐标,按逻辑单位,在圆圈的中心。
y [in]
指定的Y -逻辑单位协调,在圆圈的中心。
dwRadius [in]
指定的半径,在逻辑单位圆。此值必须为正。
eStartAngle [in]
指定开始角度,以度,相对于X轴。
eSweepAngle [in]
指定后掠角,以度,相对于开始角度。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该AngleArc函数将当前位置到弧终点。
这个函数得出的电弧可能会显示为椭圆形,根据当前转型和映射模式。在拟定的弧线,AngleArc提请从当前位置线段弧的开始。
绘制弧通过构建一个与周围半径指定指定的中心点假想圆。弧的出发点是通过测量从X圆轴由度的角度数量开始逆时针。终点是位于同样通过测量起点由度的后掠角人数逆时针。
如果后掠角大于360度,弧席卷多次。
借鉴了这个函数使用当前笔线。这个数字是没有填写。
实例
有关示例,请参见绘制饼图。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数

ArcTo
MoveToEx
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==AngleArc Function
The AngleArc function draws a line segment and an arc. The line segment is drawn from the current position to the beginning of the arc. The arc is drawn along the perimeter of a circle with the given radius and center. The length of the arc is defined by the given start and sweep angles.
Syntax
BOOL AngleArc(
__in HDC hdc,
__in int X,
__in int Y,
__in DWORD dwRadius,
__in FLOAT eStartAngle,
__in FLOAT eSweepAngle
);
Parameters
hdc [in]
Handle to a device context.
X [in]
Specifies the x-coordinate, in logical units, of the center of the circle.
Y [in]
Specifies the y-coordinate, in logical units, of the center of the circle.
dwRadius [in]
Specifies the radius, in logical units, of the circle. This value must be positive.
eStartAngle [in]
Specifies the start angle, in degrees, relative to the x-axis.
eSweepAngle [in]
Specifies the sweep angle, in degrees, relative to the starting angle.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The AngleArc function moves the current position to the ending point of the arc.
The arc drawn by this function may appear to be elliptical, depending on the current transformation and mapping mode. Before drawing the arc, AngleArc draws the line segment from the current position to the beginning of the arc.
The arc is drawn by constructing an imaginary circle around the specified center point with the specified radius. The starting point of the arc is determined by measuring counterclockwise from the x-axis of the circle by the number of degrees in the start angle. The ending point is similarly located by measuring counterclockwise from the starting point by the number of degrees in the sweep angle.
If the sweep angle is greater than 360 degrees, the arc is swept multiple times.
This function draws lines by using the current pen. The figure is not filled.
Examples
For an example, see Drawing a Pie Chart .
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
Arc
ArcTo
MoveToEx
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183354(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:45