Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - GDI/GDI+ rendering and transformations
  FAQ FAQ  Forum Search   Register Register  Login Login

GDI/GDI+ rendering and transformations

 Post Reply Post Reply
Author
Message
pdfuserxx View Drop Down
Beginner
Beginner


Joined: 05 Feb 16
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote pdfuserxx Quote  Post ReplyReply Direct Link To This Post Topic: GDI/GDI+ rendering and transformations
    Posted: 06 Feb 18 at 7:43AM
Are there any known limitations when using using GDI/GDI+ to draw on pdf canvas obtained by calling GetCanvasDC.

 

I’m using GDI to generate PDF document, the code is as follows:

 

pdfLibrary.GetCanvasDC(..

 

..Paint on the canvas with GDI

 

 pdfLibrary.NewPageFromCanvasDC

 

int capturedPage = pdfLibrary.CapturePageEx(..produce vector graphics

 

pdfLibrary.SelectPage(currentPage + 1);

 

pdfLibrary.DrawCapturedPage(capturedPage,...

 

This works fine when all the elements have rotation 0 or. no transformations applied, but the output will be incorrect when elements are rotated or. GDI transformation is applied.

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store