public void ScaleBlock(STR_Bitmap <T> strbmBitmap, int iScaleFactor, int iX, int iY, T gen_Color) { for (int y = 0; y < iScaleFactor; y++) { for (int x = 0; x < iScaleFactor; x++) { strbmBitmap.SetPixelAtCoord(x + iX, y + iY, gen_Color); } } }
private void DrawScaledPixel(STR_Bitmap <T> strbmBitmap, int iScaleFactor, int iX, int iY, T gen_Color) { for (int y = 0; y < iScaleFactor; y++) { for (int x = 0; x < iScaleFactor; x++) { strbmBitmap.SetPixelAtCoord(x + iX, y + iY, gen_Color); } } }