개정판 b1c2c6fe
Fit Sign image
Change-Id: I6a39244055366aa7e3804836f2bad8235e8b9246
KCOM/Controls/SignManager.xaml.cs | ||
---|---|---|
65 | 65 |
var _startY = pointes.Min(x => x.Y); |
66 | 66 |
|
67 | 67 |
var _actualWidth = pointes.Max(x => x.Right); |
68 |
_actualWidth = Math.Abs(_startX - _actualWidth); |
|
68 | 69 |
var _actualHeight = pointes.Max(x => x.Bottom); |
70 |
_actualHeight = Math.Abs(_startY - _actualHeight); |
|
69 | 71 |
|
70 | 72 |
var result = await ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseTaskClient.SetSignDataAsync( |
71 | 73 |
App.ViewInfo.UserID, signImage, (int)_startX, (int)_startY, (int)_actualWidth, (int)_actualHeight); |
내보내기 Unified diff