Exemplo n.º 1
0
 public static void DrawEnhancementSet(ref Graphics iTarget, int iImageIndex)
 {
     iTarget.DrawImage((Image)I9Gfx.Borders.Bitmap, iTarget.ClipBounds, I9Gfx.GetOverlayRectF(Origin.Grade.SetO), GraphicsUnit.Pixel);
     iTarget.DrawImage((Image)I9Gfx.Sets.Bitmap, iTarget.ClipBounds, I9Gfx.GetImageRectF(iImageIndex), GraphicsUnit.Pixel);
 }
Exemplo n.º 2
0
 public static void DrawEnhancement(ref Graphics iTarget, int iImageIndex, Origin.Grade iGrade)
 {
     iTarget.DrawImage((Image)I9Gfx.Borders.Bitmap, iTarget.ClipBounds, I9Gfx.GetOverlayRectF(iGrade), GraphicsUnit.Pixel);
     iTarget.DrawImage((Image)I9Gfx.Enhancements[iImageIndex], iTarget.ClipBounds, new RectangleF(0.0f, 0.0f, 30f, 30f), GraphicsUnit.Pixel);
 }