개정판 340a9bf3
issue #937: fixed leader line position of arrow text control
Change-Id: Idb28cc59a5526b39b04d20e9730a39822cd79f67
FinalService/KCOM_FinalService/MarkupToPDF/Controls_PDF/HoneyPDFLib_DrawSet_DrawString.cs | ||
---|---|---|
111 | 111 |
} |
112 | 112 |
else if (((PaintStyle & PaintSet.Highlight) == PaintSet.Highlight) || ((PaintStyle & PaintSet.Fill) == PaintSet.Fill)) |
113 | 113 |
{ |
114 |
if (PaintStyle == PaintSet.Fill) |
|
115 |
{ |
|
116 |
PaintStyle = PaintSet.None; |
|
117 |
} |
|
114 |
if (PaintStyle == PaintSet.Fill) PaintStyle = PaintSet.Outline; |
|
118 | 115 |
|
119 | 116 |
contentByte.NewPath(); |
120 | 117 |
contentByte.MoveTo(transformed[0].X, transformed[0].Y); |
... | ... | |
294 | 291 |
List<Point> ptConns = new List<Point>(); |
295 | 292 |
for (int i = 0; i < border.Count; ++i) |
296 | 293 |
{ |
297 |
ptConns.Add(border[i]); |
|
298 | 294 |
ptConns.Add(new Point((border[i].X + border[(i + 1) % border.Count].X) * 0.5, (border[i].Y + border[(i + 1) % border.Count].Y) * 0.5)); |
299 | 295 |
} |
300 | 296 |
/// up to here |
... | ... | |
362 | 358 |
contentByte.Fill(); |
363 | 359 |
} |
364 | 360 |
|
365 |
if (PaintStyle == PaintSet.None)
|
|
361 |
if (PaintStyle == PaintSet.Outline)
|
|
366 | 362 |
{ |
367 | 363 |
contentByte.SetColorStroke(bs); |
368 | 364 |
contentByte.ClosePathStroke(); |
내보내기 Unified diff