用PolyBezier函数,它可以将折线变成平滑曲线。画平滑曲线用API PolyBeZier来画二次曲线 PolyBezier(const Points: array of TPoint);三次曲线: BOOL PolyPolygon( HDC hdc, // handle of device context CONST POINT *lpPoints, // points to array of vertices for all polygons CONST INT *lpPolyCounts, // points to array with count of vertices for each polygon int nCount // count of polygons );
PolyBezier(const Points: array of TPoint);三次曲线:
BOOL PolyPolygon(
HDC hdc, // handle of device context
CONST POINT *lpPoints, // points to array of vertices for all polygons
CONST INT *lpPolyCounts, // points to array with count of vertices for each polygon
int nCount // count of polygons
);