Print Page | Close Window

Flip / Mirror - horizontally / vertically

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3514
Printed Date: 29 Apr 24 at 2:42PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Flip / Mirror - horizontally / vertically
Posted By: mLipok
Subject: Flip / Mirror - horizontally / vertically
Date Posted: 15 Oct 17 at 3:00AM
I need to Flip / Mirror    page.
Once horizontally / sometimes vertically .

Do you have any conceptual idea how to make it happend ?

Regards,
mLipok



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Replies:
Posted By: mLipok
Date Posted: 15 Oct 17 at 12:32PM
... to be more specyfic:   I do not think about rotate feature.

-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: mLipok
Date Posted: 22 Oct 17 at 5:48PM
little bump.

Any body have some concepts ?
As you know I always share results of my works.

So if somebody could point me in to a good direction this can this can result in a nice result for everyone.

Regards,
mLipok



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: tfrost
Date Posted: 23 Oct 17 at 10:59AM
I would approach this issue by capturing the page, and then using DrawCapturedPageMatrix with a suitable matrix which will flip it.  Problem is that the quick PDF documentation assumes you know how to set up a transformation matrix, and I don't!  In theory a negative scale should flip the image, but when I tried this running this function after modifying one of the provided scripts (the second one in 'page manipulation'), 1,0,0,1,0,0 did nothing and the same with -1,0,0,1,0,0.  You could also try rendering the page to a bitmap and using drawimagematrix.  Good luck!


Posted By: mLipok
Date Posted: 23 Oct 17 at 12:36PM
Thanks for you comment. I must try.

btw. as to your concerns about matrix, look here:
http://www.quickpdf.org/forum/drawcapturedpagematrix-matrix-howto_topic2932.html

ooops I know this guy, hay wait a moment it was me .. :)



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: tfrost
Date Posted: 24 Oct 17 at 10:56AM
I was certain that there had been a discussion here about using a matrix, and searched for it before my last posting, but it did not appear in the results!  I even contributed (minimally) to the topic you started (and I had not remembered that it was you who asked for info).

Having said that, I cannot get either of the two 'matrix' API functions I mentioned to do anything useful.  They return 1, which means that the matrix-transformed item was applied successfully, but it was not visible on the output.  I tried this in the scripting utility, and I even patched one of my applications which applies an image to use DrawImageMatrix (with various settings), but all it does for me is make the applied image disappear.

Exactly as before, I await your findings with interest!
 


Posted By: mLipok
Date Posted: 24 Oct 17 at 11:15AM
Interesting discussion :)



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk