Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 5671

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>cpdf_curveto</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="ClibPDF Functions"
HREF="ref.cpdf.html"><LINK
REL="PREVIOUS"
TITLE="cpdf_continue_text"
HREF="function.cpdf-continue-text.html"><LINK
REL="NEXT"
TITLE="cpdf_end_text"
HREF="function.cpdf-end-text.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></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 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.cpdf-continue-text.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.cpdf-end-text.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.cpdf-curveto"
></A
>cpdf_curveto</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN18400"
></A
><P
>    (PHP 3 &#62;= 3.0.8, PHP 4, PHP 5 &#60;= 5.0.4)</P
>cpdf_curveto&nbsp;--&nbsp;Draws a curve</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN18403"
></A
><H2
>说明</H2
>bool <B
CLASS="methodname"
>cpdf_curveto</B
> ( int pdf_document, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode] )<BR
></BR
><P
>&#13;   Draws a Bezier curve from the current point to the point
   (<CODE
CLASS="parameter"
>x3</CODE
>, <CODE
CLASS="parameter"
>y3</CODE
>) using
   (<CODE
CLASS="parameter"
>x1</CODE
>, <CODE
CLASS="parameter"
>y1</CODE
>) and
   (<CODE
CLASS="parameter"
>x2</CODE
>, <CODE
CLASS="parameter"
>y2</CODE
>) as control points.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN18439"
></A
><H2
>参数</H2
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><CODE
CLASS="parameter"
>&#13;pdf_document</CODE
></DT
><DD
><P
>The document handle, returned by
<A
HREF="function.cpdf-open.html"
><B
CLASS="function"
>cpdf_open()</B
></A
>.</P
></DD
><DT
><CODE
CLASS="parameter"
>x1</CODE
></DT
><DD
><P
>&#13;       x-coordinate for the first control point
      </P
></DD
><DT
><CODE
CLASS="parameter"
>y1</CODE
></DT
><DD
><P
>&#13;       y-coordinate for the first control point
      </P
></DD
><DT
><CODE
CLASS="parameter"
>x2</CODE
></DT
><DD
><P
>&#13;       x-coordinate for the second control point
      </P
></DD
><DT
><CODE
CLASS="parameter"
>y2</CODE
></DT
><DD
><P
>&#13;       y-coordinate for the second control point
      </P
></DD
><DT
><CODE
CLASS="parameter"
>x3</CODE
></DT
><DD
><P
>&#13;       x-coordinate for the target
      </P
></DD
><DT
><CODE
CLASS="parameter"
>y3</CODE
></DT
><DD
><P
>&#13;       y-coordinate for the target
      </P
></DD
><DT
><CODE
CLASS="parameter"
>&#13;mode</CODE
></DT
><DD
><P
>The optional parameter <CODE
CLASS="parameter"
>mode</CODE
>
determines the unit length. If it is 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
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN18485"
></A
><H2
>返回值</H2
><P
>&#13;   如果成功则返回 <TT
CLASS="constant"
><B
>TRUE</B
></TT
>,失败则返回 <TT
CLASS="constant"
><B
>FALSE</B
></TT
>。
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN18490"
></A
><H2
>参见</H2
><P
>&#13;   <P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
><A
HREF="function.cpdf-moveto.html"
><B
CLASS="function"
>cpdf_moveto()</B
></A
></TD
></TR
><TR
><TD
><A
HREF="function.cpdf-rmoveto.html"
><B
CLASS="function"
>cpdf_rmoveto()</B
></A
></TD
></TR
><TR
><TD
><A
HREF="function.cpdf-rlineto.html"
><B
CLASS="function"
>cpdf_rlineto()</B
></A
></TD
></TR
><TR
><TD
><A
HREF="function.cpdf-lineto.html"
><B
CLASS="function"
>cpdf_lineto()</B
></A
></TD
></TR
></TBODY
></TABLE
><P
></P
>
  </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-continue-text.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.cpdf-end-text.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>cpdf_continue_text</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.cpdf.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>cpdf_end_text</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>