didou Wed Jul 16 13:18:24 2003 EDT Modified files: /phpdoc/en/reference/pdf/functions pdf-setcolor.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/pdf/functions/pdf-setcolor.xml diff -u phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.3 phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.4 --- phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.3 Wed Feb 12 13:02:20 2003 +++ phpdoc/en/reference/pdf/functions/pdf-setcolor.xml Wed Jul 16 13:18:24 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-setcolor"> <refnamediv> @@ -40,10 +40,12 @@ <parameter>c2</parameter>, and <parameter>c3</parameter> specify the red, green and blue values respectively. <informalexample> - <programlisting role="php"> + <programlisting role="php"> <![CDATA[ +<?php // Set fill and stroke colors to white. pdf_setcolor($pdf, "both", "rgb", 1, 1, 1); +?> ]]> </programlisting> </informalexample> @@ -56,8 +58,10 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php // Set fill and stroke colors to white. pdf_setcolor($pdf, "both", "cmyk", 0, 0, 0, 1); +?> ]]> </programlisting> </informalexample>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php