개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
MarkupToPDF/Controls/Etc/SignControl.cs | ||
---|---|---|
190 | 190 |
RaisePropertyChanged("LeftBottomPoint"); |
191 | 191 |
} |
192 | 192 |
} |
193 |
public override double Angle |
|
193 |
public override double CommentAngle
|
|
194 | 194 |
{ |
195 | 195 |
get { return (double)GetValue(AngleProperty); } |
196 | 196 |
set |
197 | 197 |
{ |
198 |
if (this.Angle != value) |
|
198 |
if (this.CommentAngle != value)
|
|
199 | 199 |
{ |
200 | 200 |
SetValue(AngleProperty, value); |
201 | 201 |
} |
... | ... | |
251 | 251 |
this.TopRightPoint, |
252 | 252 |
}); |
253 | 253 |
|
254 |
double AngleData = this.Angle * -1; |
|
254 |
double AngleData = this.CommentAngle * -1;
|
|
255 | 255 |
|
256 | 256 |
PathFigure pathFigure = new PathFigure(); |
257 | 257 |
pathFigure.StartPoint = MathSet.RotateAbout(mid, this.StartPoint, AngleData); |
... | ... | |
409 | 409 |
{ |
410 | 410 |
using (S_SignControl STemp = new S_SignControl()) |
411 | 411 |
{ |
412 |
STemp.Angle = this.Angle; |
|
412 |
STemp.Angle = this.CommentAngle;
|
|
413 | 413 |
STemp.EndPoint = this.EndPoint; |
414 | 414 |
STemp.UserID = this.UserID; |
415 | 415 |
STemp.LB = this.LeftBottomPoint; |
... | ... | |
440 | 440 |
{ |
441 | 441 |
instance = new SignControl |
442 | 442 |
{ |
443 |
Angle = s.Angle, |
|
443 |
CommentAngle = s.Angle,
|
|
444 | 444 |
StartPoint = s.StartPoint, |
445 | 445 |
TopRightPoint = s.TR, |
446 | 446 |
EndPoint = s.EndPoint, |
내보내기 Unified diff