Esempio n. 1
0
        public void QuickRejectIsCorrect()
        {
            using var region = new SKRegion(SKRectI.Create(10, 10, 100, 100));

            Assert.False(region.QuickReject(SKRectI.Create(50, 50, 100, 100)));
            Assert.False(region.QuickReject(SKRectI.Create(20, 20, 50, 50)));
            Assert.True(region.QuickReject(SKRectI.Create(200, 20, 50, 50)));
        }