常用的用来绘制图形的win32GDI函数
2009-11-13 21:55
411 查看
一.LineTo 画直线
二.使用Polyline和Polylineto 画一系列相连的直线
PolyPolyline 画多组相连的线
Arc 画椭圆线
PolyBesier 和PolyBesierTo 画贝赛尔样条
三.Rectangle 画矩形
四.使用Ellipse 画椭圆
五.RoundRect 画带圆角的矩形
Pie 画椭圆的一部分,使其看起来像一个扇形
Chord 画椭圆的一部分,以成弓形
BOOL LineTo( HDC hdc, // device context handle int nXEnd, // x-coordinate of ending point int nYEnd // y-coordinate of ending point );
二.使用Polyline和Polylineto 画一系列相连的直线
PolyPolyline 画多组相连的线
Arc 画椭圆线
PolyBesier 和PolyBesierTo 画贝赛尔样条
三.Rectangle 画矩形
BOOL Rectangle( HDC hdc, // handle to DC int nLeftRect, // x-coord of upper-left corner of rectangle int nTopRect, // y-coord of upper-left corner of rectangle int nRightRect, // x-coord of lower-right corner of rectangle int nBottomRect // y-coord of lower-right corner of rectangle );
四.使用Ellipse 画椭圆
BOOL Ellipse( HDC hdc, // handle to DC int nLeftRect, // x-coord of upper-left corner of rectangle int nTopRect, // y-coord of upper-left corner of rectangle int nRightRect, // x-coord of lower-right corner of rectangle int nBottomRect // y-coord of lower-right corner of rectangle );
五.RoundRect 画带圆角的矩形
BOOL RoundRect(HDC hdc, int nLeftRect, //指定矩形左上角的X坐标 int nTopRect, //指定矩形左上角的Y坐标 int nRightRect, //指定矩形右下角的X坐标 int nBottomRect, //指定矩形右下角的Y坐标 int nWidth, //指定用来画圆角的椭圆的宽 int nHeight); //指定用来画圆角的椭圆的高
Pie 画椭圆的一部分,使其看起来像一个扇形
Chord 画椭圆的一部分,以成弓形
相关文章推荐
- 常用的用来绘制图形的win32GDI函数
- Win32App绘制封闭图形函数
- 【win32】day07-图形绘制/GDI绘图对象-画笔/画刷
- 数学建模常用Matlab/Lingo/c代码总结系列——Matlab图形绘制函数汇总
- GDI基础函数使用绘制线条和图形
- OpenGL 3D图形常用绘制函数
- 第一个VC++ win32程序 绘制简单图形
- 用Lu图形库Lu2D绘制(动态)函数图形
- [win32] GDI绘图常用的三种坐标系
- 深入C# winform清除由GDI绘制出来的所有线条或图形的解决方法
- Windows 图形编程(Windows Graphics Programming Win32 GDI and DirectDraw)
- Python:使用pycha快速绘制办公常用图(饼图、垂直直方图、水平直方图、散点图等七种图形)
- 【JAVA语言程序设计基础篇】--图形-- 使用抽象方法绘制函数图形
- win32常用函数-1
- gdi常用函数
- 使用cairo绘制图形的部分函数总结
- Step 4:Processing基本函数绘制图形
- Win32 API 常用函数之三——注册表操作(上)
- 使用cairo绘制图形的部分函数总结
- DX内置的绘制几何图形的函数