Exemplo n.º 1
0
 private double GetSliceOriginPosY(PhotoSlice pSlice)
 {
     return (double)(pSlice.GetValue(Canvas.TopProperty)) + pSlice.Height / 2 - _target.Height / 2 + (double)_targetShadow.GetValue(Canvas.TopProperty); ;
 }
Exemplo n.º 2
0
 private double GetSliceOriginPosX(PhotoSlice pSlice)
 {
     return (double)(pSlice.GetValue(Canvas.LeftProperty)) + pSlice.Width / 2 - _target.Width / 2 + (double)_targetShadow.GetValue(Canvas.LeftProperty);
 }