private ApplyRectangle ( |
||
surface | ||
rect | ||
return | void |
private unsafe void ApplyRectangle(FastBitmap surface, Rectangle rect)
{
for (int y = rect.Left; y < rect.Bottom; ++y) {
PixelData* ptr = surface.GetPointAddress (rect.Left, y);
Apply (ptr, rect.Width);
}
}