术语 | beginpath |
释义 | BeginPath 语法: BOOL BeginPath( __in HDC hdc ); BeginPath函数 该BeginPath函数打开一个指定的设备上下文路径支架。 参数 hdc [in] 一个句柄,设备上下文。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。 备注 路径后支架打开时,一个应用程序就可以开始调用GDI的绘图功能界定点在于路径。应用程序可以通过调用关闭EndPath函数一个开放路径括号。 当应用程序调用的设备上下文BeginPath,任何以前的路径是从该设备上下文丢弃。下面的列表显示的绘图功能都可以使用。 AngleArc 弧 ArcTo 和弦 CloseFigure 椭圆 ExtTextOut LineTo MoveToEx 馅饼 PolyBezier PolyBezierTo PolyDraw 多边形 折线 PolylineTo PolyPolygon PolyPolyline 矩形 RoundRect TextOut 实例 有关示例,请参阅使用路径。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 路径概览 路径功能 EndPath FillPath PathToRegion SelectClipPath StrokeAndFillPath StrokePath WidenPath 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==BeginPath Function The BeginPath function opens a path bracket in the specified device context. Syntax BOOL BeginPath( __in HDC hdc ); Parameters hdc [in] A handle to the device context. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. Remarks After a path bracket is open, an application can begin calling GDI drawing functions to define the points that lie in the path. An application can close an open path bracket by calling the EndPath function. When an application calls BeginPath for a device context, any previous paths are discarded from that device context. The following list shows which drawing functions can be used. AngleArc Arc ArcTo Chord CloseFigure Ellipse ExtTextOut LineTo MoveToEx Pie PolyBezier PolyBezierTo PolyDraw Polygon Polyline PolylineTo PolyPolygon PolyPolyline Rectangle RoundRect TextOut Examples For an example, see Using Paths . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWingdi.h (include Windows.h) LibraryGdi32.lib DLLGdi32.dll See Also Paths Overview Path Functions EndPath FillPath PathToRegion SelectClipPath StrokeAndFillPath StrokePath WidenPath Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd183363(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。