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
pdfuserxx View Drop Down

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:




..Paint on the canvas with GDI




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


pdfLibrary.SelectPage(currentPage + 1);




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
kevindebenu View Drop Down
Moderator Group
Moderator Group

Joined: 16 Apr 12
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote kevindebenu Quote  Post ReplyReply Direct Link To This Post Posted: 24 May 18 at 8:41AM
Hello pdfuserxx,

The EMF to PDF conversion code in Quick PDF Library is quite complex as there are many differences in the graphics APIs of GDI and the PDF side of things.

In general, only a subset of the GDI API is available. GDI+ is not supported.

It's sometimes difficult to make changes to the code as we don't want to negatively affect existing software using this functionality.

However the QPL team might be able to support changes to support transformations in a future version of QPL. Please post a few example commands that you use and we will run some tests to analyse the EMF commands and work out the corresponding PDF commands.


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