PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

PathFigure IsFilled is ignored.
https://forum.pdfsharp.net/viewtopic.php?f=3&t=3197
Page 1 of 1

Author:  jogibear9988 [ Tue Sep 22, 2015 5:48 pm ]
Post subject:  PathFigure IsFilled is ignored.

PDFSharp ignores the IsFilled property of a Path Figure!

Author:  () => true [ Tue Sep 22, 2015 6:56 pm ]
Post subject:  Re: PathFigure IsFilled is ignored.

Hi!

Which version?
Sample code to replicate the problem?

See also:
viewtopic.php?f=3&t=3197

Author:  jogibear9988 [ Wed Sep 23, 2015 6:19 pm ]
Post subject:  Re: PathFigure IsFilled is ignored.

I use my forked version @github (cause I need XPS support), but it will also not work in the Nuget-Version!
https://github.com/jogibear9988/PdfSharp

I looked at the DLL with Reflector, and the Path Code Looks the same! The "IsFilled" of a PathFigure is not used! The Fill Brush of the Path is used, but not the IsFilled of the Figure, some of the Fgures can be filled and some not!

I've fixed it for me with this code: https://github.com/jogibear9988/PdfShar ... 8ea84518c4 but that removes the Fill when One Figure is not filled, so it is not the correct fix!

Author:  () => true [ Thu Sep 24, 2015 6:15 am ]
Post subject:  Re: PathFigure IsFilled is ignored.

You should have mentioned that you were talking about XPS conversion.

Author:  jogibear9988 [ Thu Sep 24, 2015 1:10 pm ]
Post subject:  Re: PathFigure IsFilled is ignored.

() => true wrote:
You should have mentioned that you were talking about XPS conversion.


Okay, and will that be fixed? Or is that fixable? I looked at the PDF Doc while trying to fix, and my problem is that in PDF only the whole Path can be filled, while in XAML also a PathFigure can be Filled or not! Any Idea how to fix?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/