public static unsafe PixelData* GetPointAddress(this FastBitmap surf, int x, int y) { if (x < 0 || x >= surf.Width) throw new ArgumentOutOfRangeException ("x", "Out of bounds: x=" + x.ToString ()); return surf.GetPointAddressUnchecked (x, y); }