fixed error in example: added unit parameter to cpdf_page_init call

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68136 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
irc-html 2002-01-19 22:30:45 +00:00
parent 922701224e
commit 6cbc3f732d

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.37 $ -->
<!-- $Revision: 1.38 $ -->
<reference id="ref.cpdf">
<title>ClibPDF functions</title>
<titleabbrev>ClibPDF</titleabbrev>
@ -66,7 +66,7 @@
<![CDATA[
<?php
$cpdf = cpdf_open(0);
cpdf_page_init($cpdf, 1, 0, 595, 842);
cpdf_page_init($cpdf, 1, 0, 595, 842, 1.0);
cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
cpdf_begin_text($cpdf);
cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding");