level 1
蛋蛋的有点甜
楼主
GraphicsPath path;
path.AddEllipse(0, 0, 140, 70);
PathGradientBrush pthGrBrush(&path);
pthGrBrush.SetCenterColor(Color(255, 0, 0, 255));
Color colors[] = {Color(255, 0, 255, 255)};int count = 1;
pthGrBrush.SetSurroundColors(colors, &count);
graphics.FillEllipse(&pthGrBrush, 0, 0, 140, 70);
//这里的graphics显示未定义标识符
2017年08月20日 14点08分
1
path.AddEllipse(0, 0, 140, 70);
PathGradientBrush pthGrBrush(&path);
pthGrBrush.SetCenterColor(Color(255, 0, 0, 255));
Color colors[] = {Color(255, 0, 255, 255)};int count = 1;
pthGrBrush.SetSurroundColors(colors, &count);
graphics.FillEllipse(&pthGrBrush, 0, 0, 140, 70);
//这里的graphics显示未定义标识符