Gemery

导航

2012年7月11日 #

GDI+绘制圆角矩形

摘要: 1. 生成圆角矩形路径对象。 1) 创建CGraphicsRoundRectPath对象objRoundPath。 2)objRoundPath调用添加圆角矩形路径的函数AddRoundRect。2. 使用Graphic::DrawPath绘制圆角矩形。CGraphicsRoundRectPath的头文件:1 class CGraphicsRoundRectPath: public Gdiplus::GraphicsPath2 {3 public:4 CGraphicsRoundRectPath();5 CGraphicsRoundRectPath(INT x, INT y, ... 阅读全文

posted @ 2012-07-11 17:16 Gemery 阅读(5710) 评论(0) 推荐(0) 编辑