Esempio n. 1
0
        public TShapeInfo MakeShapeStorageInfo <TPoint>(IntRect storageRect, Func <TPoint, bool> isInside)
        {
            var shapeInfo = (TShapeInfo)(object)new ShapeStorageInfo <TPoint>(storageRect, isInside);

            return(MakeShapeStorageInfo(shapeInfo));
        }
Esempio n. 2
0
 public ShapeStorageInfo(IntRect storageRect, Func <TPoint, bool> contains)
 {
     this.storageRect = storageRect;
     this.contains    = contains;
 }
Esempio n. 3
0
		public IntRect Difference(IntRect otherRect)
		{
			// Not tight
			return this;
		}