mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
922701224e
commit
6cbc3f732d
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue