didou Tue Jan 6 07:50:51 2004 EDT
Modified files:
/phpdoc/en/reference/pdf/functions pdf-arc.xml pdf-arcn.xml
pdf-circle.xml
Log:
WS : *don't* use tabulations
CS : examples start at col 0
Index: phpdoc/en/reference/pdf/functions/pdf-arc.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-arc.xml:1.7
phpdoc/en/reference/pdf/functions/pdf-arc.xml:1.8
--- phpdoc/en/reference/pdf/functions/pdf-arc.xml:1.7 Mon Sep 15 07:20:11 2003
+++ phpdoc/en/reference/pdf/functions/pdf-arc.xml Tue Jan 6 07:50:51 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.65 -->
<refentry id="function.pdf-arc">
<refnamediv>
@@ -30,30 +30,32 @@
<programlisting role="php">
<![CDATA[
<?php
- // prepare document
- $pdf = pdf_new();
- pdf_open_file($pdf, "");
- pdf_begin_page($pdf, 595, 842);
-
- // an outlined arc
- pdf_arc($pdf, 200, 700, 100, 0, 90);
- pdf_stroke($pdf);
-
- // a filled arc
- pdf_arc($pdf, 200, 700, 50, 0, 90);
- pdf_fill($pdf);
-
- // an outlined and filled arc
- pdf_setcolor($pdf, "fill", "gray", 0.8);
- pdf_arc($pdf, 400, 700, 50, 0, 90);
- pdf_fill_stroke($pdf);
-
- // finish document
- pdf_end_page($pdf);
- pdf_close($pdf);
- header("Content-type: application/pdf");
- echo pdf_get_buffer($pdf);
- pdf_delete($pdf);
+// prepare document
+$pdf = pdf_new();
+pdf_open_file($pdf, "");
+pdf_begin_page($pdf, 595, 842);
+
+// an outlined arc
+pdf_arc($pdf, 200, 700, 100, 0, 90);
+pdf_stroke($pdf);
+
+// a filled arc
+pdf_arc($pdf, 200, 700, 50, 0, 90);
+pdf_fill($pdf);
+
+// an outlined and filled arc
+pdf_setcolor($pdf, "fill", "gray", 0.8);
+pdf_arc($pdf, 400, 700, 50, 0, 90);
+pdf_fill_stroke($pdf);
+
+// finish document
+pdf_end_page($pdf);
+pdf_close($pdf);
+
+header("Content-type: application/pdf");
+echo pdf_get_buffer($pdf);
+
+pdf_delete($pdf);
?>
]]>
</programlisting>
Index: phpdoc/en/reference/pdf/functions/pdf-arcn.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-arcn.xml:1.8
phpdoc/en/reference/pdf/functions/pdf-arcn.xml:1.9
--- phpdoc/en/reference/pdf/functions/pdf-arcn.xml:1.8 Mon Sep 15 07:20:11 2003
+++ phpdoc/en/reference/pdf/functions/pdf-arcn.xml Tue Jan 6 07:50:51 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
<refentry id="function.pdf-arcn">
<refnamediv>
@@ -30,30 +30,33 @@
<programlisting role="php">
<![CDATA[
<?php
- // prepare document
- $pdf = pdf_new();
- pdf_open_file($pdf, "");
- pdf_begin_page($pdf, 595, 842);
-
- // an outlined arcn
- pdf_arcn($pdf, 200, 700, 100, 0, 90);
- pdf_stroke($pdf);
-
- // a filled arcn
- pdf_arcn($pdf, 200, 700, 50, 0, 90);
- pdf_fill($pdf);
-
- // an outlined and filled arcn
- pdf_setcolor($pdf, "fill", "gray", 0.8);
- pdf_arcn($pdf, 400, 700, 50, 0, 90);
- pdf_fill_stroke($pdf);
-
- // finish document
- pdf_end_page($pdf);
- pdf_close($pdf);
- header("Content-type: application/pdf");
- echo pdf_get_buffer($pdf);
- pdf_delete($pdf);
+
+// prepare document
+$pdf = pdf_new();
+pdf_open_file($pdf, "");
+pdf_begin_page($pdf, 595, 842);
+
+// an outlined arcn
+pdf_arcn($pdf, 200, 700, 100, 0, 90);
+pdf_stroke($pdf);
+
+// a filled arcn
+pdf_arcn($pdf, 200, 700, 50, 0, 90);
+pdf_fill($pdf);
+
+// an outlined and filled arcn
+pdf_setcolor($pdf, "fill", "gray", 0.8);
+pdf_arcn($pdf, 400, 700, 50, 0, 90);
+pdf_fill_stroke($pdf);
+
+// finish document
+pdf_end_page($pdf);
+pdf_close($pdf);
+
+header("Content-type: application/pdf");
+echo pdf_get_buffer($pdf);
+
+pdf_delete($pdf);
?>
]]>
</programlisting>
Index: phpdoc/en/reference/pdf/functions/pdf-circle.xml
diff -u phpdoc/en/reference/pdf/functions/pdf-circle.xml:1.6
phpdoc/en/reference/pdf/functions/pdf-circle.xml:1.7
--- phpdoc/en/reference/pdf/functions/pdf-circle.xml:1.6 Mon Sep 15 07:17:15
2003
+++ phpdoc/en/reference/pdf/functions/pdf-circle.xml Tue Jan 6 07:50:51 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
<refentry id="function.pdf-circle">
<refnamediv>
@@ -30,30 +30,32 @@
<programlisting role="php">
<![CDATA[
<?php
- // prepare document
- $pdf = pdf_new();
- pdf_open_file($pdf, "");
- pdf_begin_page($pdf, 595, 842);
-
- // an outlined circle
- pdf_circle($pdf, 200, 700, 100);
- pdf_stroke($pdf);
-
- // a filled circle
- pdf_circle($pdf, 200, 700, 50);
- pdf_fill($pdf);
-
- // an outlined and filled circle
- pdf_setcolor($pdf, "fill", "gray", 0.3);
- pdf_circle($pdf, 400, 700, 50);
- pdf_fill_stroke($pdf);
-
- // finish document
- pdf_end_page($pdf);
- pdf_close($pdf);
- header("Content-type: application/pdf");
- echo pdf_get_buffer($pdf);
- pdf_delete($pdf);
+// prepare document
+$pdf = pdf_new();
+pdf_open_file($pdf, "");
+pdf_begin_page($pdf, 595, 842);
+
+// an outlined circle
+pdf_circle($pdf, 200, 700, 100);
+pdf_stroke($pdf);
+
+ // a filled circle
+pdf_circle($pdf, 200, 700, 50);
+pdf_fill($pdf);
+
+// an outlined and filled circle
+pdf_setcolor($pdf, "fill", "gray", 0.3);
+pdf_circle($pdf, 400, 700, 50);
+pdf_fill_stroke($pdf);
+
+// finish document
+pdf_end_page($pdf);
+pdf_close($pdf);
+
+header("Content-type: application/pdf");
+echo pdf_get_buffer($pdf);
+
+pdf_delete($pdf);
?>
]]>
</programlisting>