这是代码:
using (backbuffer = D3Ddev.GetBackBuffer(0, 0, BackBufferType.Mono))
{
using (g = backbuffer.GetGraphics())
{
g.SmoothingMode = SmoothingMode.AntiAlias;
g.FillPie(myBrush, 256F - distanceFromCenterPixels, 255F - distanceFromCenterPixels,
distanceFromCenterPixels * 2F, distanceFromCenterPixels * 2F, angleF - 23F, 46F);
if (angleF < 360)
g.(@"c:\coneimages\" + angleF + ".gif");
}
}
g.Save不是正确的方法。 但不知何故,我想将Pie FillPie保存为硬盘上的gif文件。