개정판 a6fbd8a6
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