PHP: PDF_translate - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDF_utf16_to_utf8 PDF_suspend_page

Last updated: Fri, 26 Jan 2007

view this page in

# PDF_translate

(PHP 3 >= 3.0.6, PHP 4, PECL)

PDF_translate -- Set origin of coordinate system

## Описание

bool PDF_translate ( resource p, float tx, float ty )

Translates the origin of the coordinate system.

add a note User Contributed Notes
PDF_translate
php at mijav dot dk
14-Apr-2005 02:29
`Note that this function does NOT eliminate the need for reverse-thinking when designing PDFs.
Origin 0, 0 is the lower left corner. This function only MOVES this origin (0,0) - it does not reverse the Y-axis as some people might belive and want (including myself).`
david at mubo dot nl
27-Jul-2001 03:36
`Not only this function is useful if you are tired of using the lowerleft side of the page, but it is also great if you need to rotate your page..
I have a project in which I need to rotate the page 180 due to calibration problems.. With this function I could reset the origin and the rest of the PDF worked just fine..
I also think that this function primarly has been mode for situations like these...
This function can also be used as a calibration feature, though I dont do it myself, I can think that it will work very nice if your whole document is out of calibration for lets say 1 mm..`
hazelnutlatte at hotmail dot com
07-Jan-2001 02:13
`This function is useful if you're tired of trying to deal with an axis that has a point of origin in the lower left-hand corner of the page. Enjoy.`
add a note
PDF_utf16_to_utf8 PDF_suspend_page

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST