프로젝트

일반

사용자정보

개정판 a6fbd8a6

IDa6fbd8a6283d2dff3a836a6f9e28c61b2a2b57fe
상위 836132c4
하위 90575900

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

issue #937: circle이 그려지지 않는 오류 수정

Change-Id: I8b4661f0165676f4b640ffc182cbea2d83fbefcc

차이점 보기:

FinalService/KCOM_FinalService/MarkupToPDF/Controls_PDF/HoneyPDFLib_DrawSet_Shape.cs
97 97
            HoneyPDFLib_DrawSet_Shape.PaintFill(contentByte, PaintStyle, bs, opac);
98 98
            contentByte.RestoreState();
99 99
        }
100

  
101
        /// <summary>
102
        /// draw circle
103
        /// </summary>
104
        /// <param name="sp"></param>
105
        /// <param name="ep"></param>
106
        /// <param name="lineSize"></param>
107
        /// <param name="contentByte"></param>
108
        /// <param name="DashSize"></param>
109
        /// <param name="color"></param>
110
        /// <param name="PaintStyle"></param>
111
        /// <param name="opac"></param>
112
        /// <param name="Angle"></param>
113
        /// <param name="pointSet"></param>
100 114
        public static void DrawCircle(Point sp, Point ep, double lineSize, PdfContentByte contentByte, System.Windows.Media.DoubleCollection DashSize,
101 115
                                     SolidColorBrush color, PaintSet PaintStyle, double opac, double Angle, List<Point> pointSet)
102 116
        {
......
183 197
                    contentByte.Fill();
184 198
            }
185 199

  
200
            if (PaintStyle == PaintSet.Outline)
201
            {
202
                contentByte.SetColorStroke(bs);
203
                contentByte.ClosePathStroke();
204
            }
205

  
186 206
            if (PaintStyle == PaintSet.None)
187 207
            {
188 208
                contentByte.SetColorStroke(bs);

내보내기 Unified diff

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