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!
GDI/GDI+ rendering and transformations |
Post Reply |
Author | |
pdfuserxx
Beginner Joined: 05 Feb 16 Status: Offline Points: 18 |
Post Options
Thanks(0)
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.
|
|
kevindebenu
Moderator Group Joined: 16 Apr 12 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
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. Regards, Kevin |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store