canvas->polygon()
muzhi 2003-02-14 01:54:08 程序如处:
POINT vertices[3];
vertices[0]=Point(0,0);
vertices[1]=Point(0,ClientHeight);
vertices[2]=Point(ClientWidth,ClientHeight);
Canvas->Polygon(vertices,2);
错误提示:
[C++ Error] Unit1.cpp(42): E2034 Cannot convert 'tagPOINT *' to 'const TPoint *'
[C++ Error] Unit1.cpp(42): E2342 Type mismatch in parameter 'Points' (wanted 'const TPoint *', got 'tagPOINT *')