개정판 a860bafc
issue #0000 compare 기능 수정
Change-Id: Idbac07b170a08bc67f50d315912f314da1ef8938
KCOM/Services/BaseServices.cs | ||
---|---|---|
138 | 138 |
} |
139 | 139 |
else |
140 | 140 |
{ |
141 |
e.Result.ForEach(d => |
|
142 |
{ |
|
143 |
d.Inflate(new Size(10, 10)); |
|
144 |
|
|
145 |
var point = MarkupToPDF.Controls.Common.MathSet.getRectMiddlePoint(d); |
|
146 |
System.Windows.Shapes.Rectangle myEllipse = new System.Windows.Shapes.Rectangle(); |
|
147 |
myEllipse.Fill = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Color.FromArgb(150, 33, 215, 119)); |
|
148 |
myEllipse.Opacity = 1; |
|
149 |
//myEllipse.Stroke = new System.Windows.Media.SolidColorBrush(System.Windows.Media.Colors.Green); |
|
150 |
//myEllipse.StrokeThickness = 2; |
|
151 |
myEllipse.Width = d.Width; |
|
152 |
myEllipse.Height = d.Height; |
|
153 |
Canvas.SetLeft(myEllipse, d.X - ((point.X - d.X) / 2.0)); |
|
154 |
Canvas.SetTop(myEllipse, d.Y - ((point.Y - d.Y) / 2.0)); |
|
155 |
myEllipse.RenderTransformOrigin = point; |
|
156 |
canvas_compareBorder.Children.Add(myEllipse); |
|
157 |
}); |
|
158 |
canvas_compareBorder.Visibility = Visibility.Visible; |
|
159 |
da.From = 1; |
|
160 |
da.To = 0.5; |
|
161 |
da.Duration = new Duration(TimeSpan.FromSeconds(1)); |
|
162 |
da.AutoReverse = true; |
|
163 |
canvas_compareBorder.BeginAnimation(OpacityProperty, da); |
|
141 |
CompareDisplay(e.Result); |
|
164 | 142 |
} |
165 | 143 |
} |
166 | 144 |
|
145 |
|
|
167 | 146 |
/// <summary> |
168 | 147 |
/// FinalPDF를 수행 후 관련 메시지를 표시한다. |
169 | 148 |
/// </summary> |
내보내기 Unified diff