프로젝트

일반

사용자정보

개정판 e6a9ddaf

IDe6a9ddaff1d8d2d0c1caa78bf31241e824450f09
상위 3593d746
하위 5423f26d, 29cf2c0c

백흠경이(가) 5년 이상 전에 추가함

issue #923: fixed ControlType.ChainLine drawing

Change-Id: Iee05d32624f7260c51cf31dc4827fcee6085be55

차이점 보기:

MarkupToPDF/Controls/Text/TextControl.cs
1146 1146
        {
1147 1147
            get
1148 1148
            {
1149
                Point start = new Point();
1150
                start.X = this.CanvasX;
1151
                start.Y = this.CanvasY;
1149
                Point start = new Point(this.CanvasX, this.CanvasY);
1152 1150

  
1153 1151
                Point length = new Point();
1154 1152
                double angle = this.Angle * Math.PI / 180;
......
1161 1159
            }
1162 1160
        }
1163 1161

  
1164
    /// <summary>
1165
    /// Serialize this
1166
    /// </summary>
1167
    /// <param name="sUserId"></param>
1168
    /// <returns></returns>
1169
    public override string Serialize()
1162
        /// <summary>
1163
        /// translate TextControl by given dx, dy
1164
        /// </summary>
1165
        /// <param name="dx"></param>
1166
        /// <param name="dy"></param>
1167
        public override void Move(double dx, double dy)
1168
        {
1169
            Canvas.SetLeft(this, Canvas.GetLeft(this) + dx);
1170
            Canvas.SetTop(this, Canvas.GetTop(this) + dy);
1171
            this.StartPoint = new Point(this.StartPoint.X + dx, this.StartPoint.Y + dy);
1172
            this.EndPoint = new Point(this.EndPoint.X + dx, this.EndPoint.Y + dy);
1173
        }
1174

  
1175
        /// <summary>
1176
        /// Serialize this
1177
        /// </summary>
1178
        /// <param name="sUserId"></param>
1179
        /// <returns></returns>
1180
        public override string Serialize()
1170 1181
        {
1171 1182
            using (S_TextControl STemp = new S_TextControl())
1172 1183
            {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)