private void UpdateRect(DenseMatrix matrix) { RectExt.Set(ref Rect, 0, 0, _layerModel.SolidWidth, _layerModel.SolidHeight); matrix.MapRect(ref Rect); }
public void GetClipBounds(out Rect bounds) { RectExt.Set(ref bounds, _currentClip.X, _currentClip.Y, _currentClip.Width, _currentClip.Height); }
public override void GetBounds(out Rect outBounds, DenseMatrix parentMatrix) { base.GetBounds(out outBounds, parentMatrix); UpdateRect(BoundsMatrix); RectExt.Set(ref outBounds, Rect); }
public override void GetBounds(out Rect outBounds, Matrix3X3 parentMatrix) { base.GetBounds(out outBounds, parentMatrix); RectExt.Set(ref outBounds, 0, 0, 0, 0); }