采用多次循环画点性成树叶
void CMyView::OnDraw(CDC* pDC)
{
CMyDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
int cordX=300, cordY=400, factor=40;COLORREF color;
int n; //n:循环次数
double a[4]={0,0.85,0.2,-0.15};
double b[4]={0,0.04,-0.26,0.28};
double c[4]={0,0.04,0.23,0.26};
double d[4]={0.16,0.85,0.22,0.24};
double e[4]={0,0,0,0};
double f[4]={0,1.6,1.6,0.44};
double p[4]={0.01,0.85,0.07,0.07};
1