文件名称:绘制多边形-《go语言学习笔记》_雨痕
文件大小:2.41MB
文件格式:PDF
更新时间:2024-06-29 04:56:07
C++Builder
(3)绘制矩形、椭圆形和圆角矩形 矩形:Canvas->Rectangle(0, 0, 100, 400); 椭圆形:Canvas->Ellipse(0, 0, Image1->Width, Image1->Height); 圆角矩形:Canvas->RoundRect(x, y, x + Dx, y + Dy, Dx/2, Dy/2); (4)绘制多边形 Windows::TPoint points[4]; points[0] = Point(10,10); points[1] = Point(30,10); points[2] = Point(130,30);