개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
MarkupToPDF/Common/CommentUserInfo.cs | ||
---|---|---|
81 | 81 |
public virtual void OnTranslate(double dx, double dy) |
82 | 82 |
{ |
83 | 83 |
var path = (this as IPath); |
84 |
for(int i=0; i < path.PointSet.Count;++i)
|
|
84 |
for (int i = 0; i < path.PointSet.Count; ++i)
|
|
85 | 85 |
{ |
86 | 86 |
path.PointSet[i] = new Point(path.PointSet[i].X + dx, path.PointSet[i].Y + dy); |
87 | 87 |
} |
... | ... | |
103 | 103 |
/// </summary> |
104 | 104 |
public virtual ControlType ControlType { get; set; } |
105 | 105 |
|
106 |
private double _CommentAngle; |
|
107 |
|
|
106 | 108 |
/// <summary> |
107 |
/// subclass has to override this property |
|
109 |
/// 컨트롤의 ANGLE |
|
110 |
/// </summary> |
|
111 |
public virtual double CommentAngle |
|
112 |
{ |
|
113 |
get { return _CommentAngle; } |
|
114 |
set |
|
115 |
{ |
|
116 |
_CommentAngle = value; |
|
117 |
System.Diagnostics.Debug.WriteLine($"CommentInfo CommentAngle {value}"); |
|
118 |
} |
|
119 |
} |
|
120 |
|
|
121 |
private double _PageAngle; |
|
122 |
|
|
123 |
/// <summary> |
|
124 |
/// 실제 저장된 Page의 ANGLE |
|
125 |
/// DB에 저장됨 |
|
126 |
/// </summary> |
|
127 |
public virtual double PageAngle |
|
128 |
{ |
|
129 |
get { return _PageAngle; } |
|
130 |
set |
|
131 |
{ |
|
132 |
_PageAngle = value; |
|
133 |
System.Diagnostics.Debug.WriteLine($"CommentInfo PageAngle {value}"); |
|
134 |
} |
|
135 |
} |
|
136 |
|
|
137 |
private double _VisualPageAngle; |
|
138 |
|
|
139 |
/// <summary> |
|
140 |
/// Display되는 Page의 ANGLE |
|
141 |
/// PageAngle에서 변형됨 |
|
108 | 142 |
/// </summary> |
109 |
public virtual double Angle { get; set; } |
|
143 |
public virtual double VisualPageAngle |
|
144 |
{ |
|
145 |
get { return _VisualPageAngle; } |
|
146 |
set |
|
147 |
{ |
|
148 |
_VisualPageAngle = value; |
|
149 |
//System.Diagnostics.Debug.WriteLine($"CommentInfo VisualPageAngle {value}"); |
|
150 |
} |
|
151 |
} |
|
110 | 152 |
|
111 | 153 |
public virtual SolidColorBrush StrokeColor { get; set; } |
112 | 154 |
|
내보내기 Unified diff