개정판 0c575433
issue #0000 compare 수정
Change-Id: I9b57c124b64674f7ae618978955093b399008da5
KCOM/Services/BaseServices.cs | ||
---|---|---|
78 | 78 |
BaseClient.DeleteMarkupCompleted += BaseClient_DeleteMarkupCompleted; |
79 | 79 |
BaseClient.GetVPRevisionHistoryCompleted += BaseClient_GetVPRevisionHistoryCompleted; |
80 | 80 |
BaseClient.SetFinalPDFCompleted += BaseClient_SetFinalPDFCompleted; |
81 |
BaseClient.GetCompareRectCompleted += BaseClient_GetCompareRectCompleted;
|
|
81 |
BaseClient.GetCompareRectsTargetSizeCompleted += BaseClient_GetCompareRectsTargetSizeCompleted;
|
|
82 | 82 |
BaseClient.DeleteMarkupCompleted += BaseClient_DeleteMarkupCompleted; |
83 | 83 |
BaseClient.DelFavoriteVPCompleted += BaseClient_DelFavoriteVPCompleted; |
84 | 84 |
BaseClient.EditFavoriteVPCompleted += BaseClient_EditFavoriteVPCompleted; |
... | ... | |
123 | 123 |
/// </summary> |
124 | 124 |
/// <param name="sender"></param> |
125 | 125 |
/// <param name="e"></param> |
126 |
private void BaseClient_GetCompareRectCompleted(object sender, GetCompareRectCompletedEventArgs e)
|
|
126 |
private void BaseClient_GetCompareRectsTargetSizeCompleted(object sender, GetCompareRectsTargetSizeCompletedEventArgs e)
|
|
127 | 127 |
{ |
128 | 128 |
if (e.Error != null || e.Result == null) |
129 | 129 |
{ |
... | ... | |
140 | 140 |
{ |
141 | 141 |
e.Result.ForEach(d => |
142 | 142 |
{ |
143 |
d.Width = d.Width;
|
|
144 |
d.Height = d.Height; |
|
143 |
d.Inflate(new Size(10, 10));
|
|
144 |
|
|
145 | 145 |
var point = MarkupToPDF.Controls.Common.MathSet.getRectMiddlePoint(d); |
146 | 146 |
System.Windows.Shapes.Rectangle myEllipse = new System.Windows.Shapes.Rectangle(); |
147 | 147 |
myEllipse.Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromArgb(150, 33, 215, 119)); |
148 | 148 |
myEllipse.Opacity = 1; |
149 |
//myEllipse.Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Green); |
|
150 |
//myEllipse.StrokeThickness = 2; |
|
149 | 151 |
myEllipse.Width = d.Width; |
150 | 152 |
myEllipse.Height = d.Height; |
151 | 153 |
Canvas.SetLeft(myEllipse, d.X - ((point.X - d.X) / 2.0)); |
내보내기 Unified diff