public void CopyPixelsBlend( TextureData source, Rectangle sourceRect, int destX, int destY, float alpha ) { for (int x = 0; x < sourceRect.Width; ++x) for (int y = 0; y < sourceRect.Height; ++y) CopyPixelBlend(source, sourceRect.X + x, sourceRect.Y + y, destX + x, destY + y, alpha); }
public void CopyPixelBlend( TextureData source, int sourceX, int sourceY, int destX, int destY, float alpha ) { SetPixelBlend(destX, destY, source[sourceX, sourceY] * alpha); }
public void CopyPixels( TextureData source, Rectangle sourceRect, int destX, int destY ) { for (int x = 0; x < sourceRect.Width; ++x) for (int y = 0; y < sourceRect.Height; ++y) CopyPixel(source, sourceRect.X + x, sourceRect.Y + y, destX + x, destY + y); }
public void CopyPixel( TextureData source, int sourceX, int sourceY, int destX, int destY ) { SetPixel(destX, destY, source[sourceX, sourceY]); }