15,980
社区成员




Bitmap bmp(ii.Width,ii.Height);
Graphics bmpGraphics(&bmp);
bmpGraphics.SetSmoothingMode(SmoothingModeAntiAlias);
bmpGraphics.DrawImage(OnPaintImage,0,0,ii.Width,ii.Height);
/*Important! Create a CacheBitmap object for quick drawing*/
CachedBitmap cachedBmp(&bmp,graphics);
//graphics->DrawCachedBitmap(&cachedBmp,Pos.X,Pos.Y);
graphics->DrawImage(&bmp,Pos.X,Pos.Y);