PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 9:07 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: XPS to PDF Path problems
PostPosted: Fri Mar 05, 2010 4:52 pm 
Offline

Joined: Fri Mar 05, 2010 10:27 am
Posts: 1
Hi all,

PdfSharp.Xps version 1.0.0.0 (?)
PdfSharp-WPF version 1.31

The folowing xps/wpf code is not correctly converted to pdf.
(see the pdf and the xps in the attached zip)

1/ The first path is a closed filled path, but a blue line remains at the bottom of the figure.
2/ The second path is not perfectly connected to the first one. It's depends of the zooming rate.

<Canvas RenderTransform="1,0,0,1,10,10">
<Path Fill="#FF3C70AC" Data="M8.75,0L663.15,0A8.75,8.75 0 0 1 671.9,8.75L671.9,30 0,30 0,8.75A8.75,8.75 0 0 1 8.75,0ZM8.75,1.5L663.15,1.5A7.25,7.25 0 0 1 670.4,8.75L670.4,30 1.5,30 1.5,8.75A7.25,7.25 0 0 1 8.75,1.5Z" />
<Path Stroke="#FF3C70AC" StrokeThickness="1.5" StrokeMiterLimit="10" RenderTransform="1,0,0,1,407.8433,0" Clip="M0,0L93.39,0 93.39,30 0,30Z" Data="M0.75,0L0.75,30" />
</Canvas>

Thanks and regards


Attachments:
test.zip [1.88 KiB]
Downloaded 509 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group