Ejemplo n.º 1
0
 private void UpdateRect(DenseMatrix matrix)
 {
     RectExt.Set(ref Rect, 0, 0, _layerModel.SolidWidth, _layerModel.SolidHeight);
     matrix.MapRect(ref Rect);
 }
Ejemplo n.º 2
0
 public void GetClipBounds(out Rect bounds)
 {
     RectExt.Set(ref bounds, _currentClip.X, _currentClip.Y, _currentClip.Width, _currentClip.Height);
 }
Ejemplo n.º 3
0
 public override void GetBounds(out Rect outBounds, DenseMatrix parentMatrix)
 {
     base.GetBounds(out outBounds, parentMatrix);
     UpdateRect(BoundsMatrix);
     RectExt.Set(ref outBounds, Rect);
 }
Ejemplo 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);
 }