网站首页  词典首页

请输入您要查询的函数:

 

术语 chord
释义 Chord
语法:
BOOL Chord(
__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
);
和弦功能
在弦函数绘制的共鸣(一个地区范围内由椭圆交叉和线段,称为割线)。概述了弦使用目前的笔和使用当前画笔填补。
参数
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坐标,在逻辑坐标,对界定弦年底径向端点。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
的弦曲线的定义是一个椭圆适合指定的边界矩形。开始时的曲线相交的椭圆第一径向和延伸逆时针的地步椭圆相交的第二个径向点。在弦关闭引来了第一径向交线和对第二径向和曲线的交点曲线。
如果出发点和结束点的曲线是一样的,一个完整的椭圆绘制。
当前位置是既没使用也没更新和弦。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
填充形状概述
填充形状函数
AngleArc

ArcTo
馅饼
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==Chord Function
The Chord function draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant). The chord is outlined by using the current pen and filled by using the current brush.
Syntax
BOOL Chord(
__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 in which the chord appears.
nLeftRect [in]
The x-coordinate, in logical coordinates, of the upper-left corner of the bounding rectangle.
nTopRect [in]
The y-coordinate, in logical coordinates, of the upper-left corner of the bounding rectangle.
nRightRect [in]
The x-coordinate, in logical coordinates, of the lower-right corner of the bounding rectangle.
nBottomRect [in]
The y-coordinate, in logical coordinates, of the lower-right corner of the bounding rectangle.
nXRadial1 [in]
The x-coordinate, in logical coordinates, of the endpoint of the radial defining the beginning of the chord.
nYRadial1 [in]
The y-coordinate, in logical coordinates, of the endpoint of the radial defining the beginning of the chord.
nXRadial2 [in]
The x-coordinate, in logical coordinates, of the endpoint of the radial defining the end of the chord.
nYRadial2 [in]
The y-coordinate, in logical coordinates, of the endpoint of the radial defining the end of the chord.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The curve of the chord is defined by an ellipse that fits the specified bounding rectangle. The curve begins at the point where the ellipse intersects the first radial and extends counterclockwise to the point where the ellipse intersects the second radial. The chord is closed by drawing a line from the intersection of the first radial and the curve to the intersection of the second radial and the curve.
If the starting point and ending point of the curve are the same, a complete ellipse is drawn.
The current position is neither used nor updated by Chord.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Filled Shapes Overview
Filled Shape Functions
AngleArc
Arc
ArcTo
Pie
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183428(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:32:04