개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
MarkupToPDF/Controls/Text/TextControl.cs | ||
---|---|---|
937 | 937 |
} |
938 | 938 |
} |
939 | 939 |
|
940 |
public override double Angle |
|
940 |
public override double CommentAngle
|
|
941 | 941 |
{ |
942 | 942 |
get { return (double)GetValue(AngleProperty); } |
943 | 943 |
set |
944 | 944 |
{ |
945 |
if (this.Angle != value) |
|
945 |
if (this.CommentAngle != value)
|
|
946 | 946 |
{ |
947 | 947 |
SetValue(AngleProperty, value); |
948 | 948 |
|
... | ... | |
1181 | 1181 |
Point start = new Point(this.CanvasX, this.CanvasY); |
1182 | 1182 |
|
1183 | 1183 |
Point length = new Point(); |
1184 |
double angle = this.Angle * Math.PI / 180; |
|
1184 |
double angle = this.CommentAngle * Math.PI / 180;
|
|
1185 | 1185 |
|
1186 | 1186 |
length.X = this.BoxWidth * Math.Cos(angle) - this.BoxHeight * Math.Sin(angle); |
1187 | 1187 |
length.Y = this.BoxWidth * Math.Sin(angle) + this.BoxHeight * Math.Cos(angle); |
... | ... | |
1237 | 1237 |
STemp.EndPoint = this.EndPoint; |
1238 | 1238 |
STemp.Opac = this.Opacity; |
1239 | 1239 |
STemp.PointSet = this.PointSet; |
1240 |
STemp.Angle = this.Angle; |
|
1240 |
STemp.Angle = this.CommentAngle;
|
|
1241 | 1241 |
STemp.paintMethod = this.ControlType_No; |
1242 | 1242 |
STemp.BoxW = this.BoxWidth; |
1243 | 1243 |
STemp.BoxH = this.BoxHeight; |
... | ... | |
1291 | 1291 |
FontSize = 10, |
1292 | 1292 |
UserID = s.UserID, |
1293 | 1293 |
IsHighLight = s.isHighLight, |
1294 |
Angle = s.Angle, |
|
1294 |
CommentAngle = s.Angle,
|
|
1295 | 1295 |
PointSet = s.PointSet, |
1296 | 1296 |
Opacity = s.Opac, |
1297 | 1297 |
|
내보내기 Unified diff