Apachai.Effects.Core.UnaryPixelOp.ApplyRectangle C# (CSharp) Метод

ApplyRectangle() приватный Метод

private ApplyRectangle ( FastBitmap surface, Rectangle rect ) : void
surface System.Drawing.FastBitmap
rect System.Drawing.Rectangle
Результат 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);
            }
        }