php-doc-en/reference/pdf/functions/pdf-begin-pattern.xml
Mehdi Achour 8cc28e49c2 fixing protos
unified deprecated functions layout
adding tags
adding some user notes and examples
corrected c/p errors
fixed some ugly WS
changed the pdf_object notation to pdfdoc to make it less confusing
(thank you philip ;))


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@137061 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-09 04:31:34 +00:00

54 lines
2 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
<refentry id="function.pdf-begin-pattern">
<refnamediv>
<refname>pdf_begin_pattern</refname>
<refpurpose>Starts new pattern</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pdf_begin_pattern</methodname>
<methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam>
<methodparam><type>float</type><parameter>width</parameter></methodparam>
<methodparam><type>float</type><parameter>height</parameter></methodparam>
<methodparam><type>float</type><parameter>xstep</parameter></methodparam>
<methodparam><type>float</type><parameter>ystep</parameter></methodparam>
<methodparam><type>int</type><parameter>painttype</parameter></methodparam>
</methodsynopsis>
<para>
Starts a new pattern definition and returns a pattern handle.
<parameter>width</parameter>, and <parameter>height</parameter>
define the bounding box for the pattern. <parameter>xstep</parameter>
and <parameter>ystep</parameter> give the repeated pattern offsets.
<parameter>painttype</parameter>=1 means that the pattern has its
own colour settings whereas a value of 2 indicates that the current
colour is used when the pattern is applied.
</para>
<para>
See also <function>pdf_end_pattern</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->