16,551
社区成员
发帖
与我相关
我的任务
分享
ppoint[m_Number] = ppoint[0];
pDC->MoveTo(ppoint[0].x, ppoint[0].y);
for( int i = 0 ; i < m_Number ; i++ )
pDC->LineTo(ppoint[i].x, ppoint[i].y);
for( int i = 0 ; i < m_Number ; i++ )
pDC->LineTo(ppoint[i].x, ppoint[i].y);
pDC->LineTo(ppoint[0].x, ppoint[0].y);