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

Use of srcRect in DrawImage
https://forum.pdfsharp.net/viewtopic.php?f=2&t=566
Page 1 of 1

Author:  Hades32 [ Sun Dec 07, 2008 9:30 pm ]
Post subject:  Use of srcRect in DrawImage

Hello,

first of all, thanks for your great library!

I wanted to extend the 2UP sample to respect the CropBox of pages, but somehow it didn't work...
While debugging your lib I found this: :)

Code:
    // TODO: incomplete - srcRect not used
    public void DrawImage(XImage image, XRect destRect, XRect srcRect, XGraphicsUnit srcUnit)


Is there a live repository of the PdfSharp code with more current code? Has this already been implemented?

Thanks in advance!

Author:  Thomas Hoevel [ Mon Dec 08, 2008 9:18 am ]
Post subject: 

Hi!

This is not yet implemented (and I heard from the responsible team members that this is no simple task).

Author:  Hades32 [ Tue Dec 09, 2008 11:05 am ]
Post subject: 

Is there a workaround?

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