<HTML ><HEAD ><TITLE >cpdf_rlineto</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="ClibPDF functions" HREF="ref.cpdf.html"><LINK REL="PREVIOUS" TITLE="cpdf_restore" HREF="function.cpdf-restore.html"><LINK REL="NEXT" TITLE="cpdf_rmoveto" HREF="function.cpdf-rmoveto.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.cpdf-restore.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.cpdf-rmoveto.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.cpdf-rlineto" ></A >cpdf_rlineto</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN12717" ></A ><P > (PHP 3>= 3.0.9, PHP 4 )</P >cpdf_rlineto -- Draws a line</DIV ><DIV CLASS="refsect1" ><A NAME="AEN12720" ></A ><H2 >Description</H2 >void <B CLASS="methodname" >cpdf_rlineto</B > ( int pdf document, float x-coor, float y-coor [, int mode])<BR ></BR ><P > The <B CLASS="function" >cpdf_rlineto()</B > function draws a line from the current point to the relative point with coordinates (<TT CLASS="parameter" ><I >x-coor</I ></TT >, <TT CLASS="parameter" ><I >y-coor</I ></TT >). </P ><P > The optional parameter <TT CLASS="parameter" ><I >mode</I ></TT > determines the unit length. If it's 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit. </P ><P > See also <A HREF="function.cpdf-moveto.html" ><B CLASS="function" >cpdf_moveto()</B ></A >, <A HREF="function.cpdf-rmoveto.html" ><B CLASS="function" >cpdf_rmoveto()</B ></A >, <A HREF="function.cpdf-curveto.html" ><B CLASS="function" >cpdf_curveto()</B ></A >. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.cpdf-restore.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.cpdf-rmoveto.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >cpdf_restore</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.cpdf.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >cpdf_rmoveto</TD ></TR ></TABLE ></DIV ></BODY ></HTML >