public OverlapRemovalFixedSegmentsBitmap(Rectangle[] moveableRectangles, Rectangle[] fixedRectangles, SymmetricSegment[] fixedSegments) { _moveableRectangles = moveableRectangles; _fixedRectangles = fixedRectangles; _fixedSegments = fixedSegments; _bbox = GetInitialBoundingBox(); _bbox.ScaleAroundCenter(1.25); InitBitmap(); InitTransform(); movedRectangles = new Rectangle[moveableRectangles.Length]; }
public void ScaleBbox(double scale) { _bbox.ScaleAroundCenter(1.25); InitBitmap(); InitTransform(); }