Pinta.Core.BitVector2DSurfaceAdapter.GetUnchecked C# (CSharp) Method

GetUnchecked() public method

public GetUnchecked ( int x, int y ) : bool
x int
y int
return bool
        public unsafe bool GetUnchecked(int x, int y)
        {
            int cx = x / 32;
            int sx = x % 32;
            uint mask = surface.GetPointAddressUnchecked(cx, y)->Bgra;
            return 0 != (mask & (1 << sx));
        }