如何绘制一个点坐标是double类型的三角形,不要int型
POINT pts[3] = { {0.0,0.0},{100.0,100.0 },{100.0,0.0 } };
fillpolygon(pts, 3);
如何绘制一个点坐标是double类型的三角形,不要int型
POINT pts[3] = { {0.0,0.0},{100.0,100.0 },{100.0,0.0 } };
fillpolygon(pts, 3);
手动显式转换呗,坐标最后总会呗取整