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