Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 1070

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>imagefilledarc</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="Image functions"
HREF="ref.image.html"><LINK
REL="PREVIOUS"
TITLE="imagefill"
HREF="function.imagefill.html"><LINK
REL="NEXT"
TITLE="imagefilledellipse"
HREF="function.imagefilledellipse.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.imagefill.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.imagefilledellipse.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.imagefilledarc"
></A
>imagefilledarc</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN35518"
></A
><P
>    (PHP 4 &#62;= 4.0.6)</P
>imagefilledarc&nbsp;--&nbsp;Draw a partial ellipse and fill it</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN35521"
></A
><H2
>Description</H2
>int <B
CLASS="methodname"
>imagefilledarc</B
> ( resource image, int cx, int cy, int w, int h, int s, int e, int col, int style)<BR
></BR
><P
>&#13;    <B
CLASS="function"
>imagefilledarc()</B
> draws a partial ellipse centered at
    <TT
CLASS="parameter"
><I
>cx</I
></TT
>, <TT
CLASS="parameter"
><I
>cy</I
></TT
> (top left is
    0, 0) in the image represented by <TT
CLASS="parameter"
><I
>image</I
></TT
>.
    <TT
CLASS="parameter"
><I
>W</I
></TT
>
    and <TT
CLASS="parameter"
><I
>h</I
></TT
> specifies the ellipse's width and
    height respectively while the start and end points are specified
    in degrees indicated by the <TT
CLASS="parameter"
><I
>s</I
></TT
> and
    <TT
CLASS="parameter"
><I
>e</I
></TT
> arguments.
    <TT
CLASS="parameter"
><I
>style</I
></TT
> is a bitwise OR of the following possibilities:
    <P
></P
><OL
TYPE="1"
><LI
><P
><TT
CLASS="literal"
>IMG_ARC_PIE</TT
></P
></LI
><LI
><P
><TT
CLASS="literal"
>IMG_ARC_CHORD</TT
></P
></LI
><LI
><P
><TT
CLASS="literal"
>IMG_ARC_NOFILL</TT
></P
></LI
><LI
><P
><TT
CLASS="literal"
>IMG_ARC_EDGED</TT
></P
></LI
></OL
>
    <TT
CLASS="literal"
>IMG_ARC_PIE</TT
> and <TT
CLASS="literal"
>IMG_ARC_CHORD</TT
> are 
    mutually exclusive; <TT
CLASS="literal"
>IMG_ARC_CHORD</TT
> just
    connects the starting and ending angles with a straight line, while
    <TT
CLASS="literal"
>IMG_ARC_PIE</TT
> produces a rounded edge. 
    <TT
CLASS="literal"
>IMG_ARC_NOFILL</TT
> indicates that the arc
    or chord should be outlined, not filled.  <TT
CLASS="literal"
>IMG_ARC_EDGED</TT
>, 
    used together with <TT
CLASS="literal"
>IMG_ARC_NOFILL</TT
>, indicates that the 
    beginning and ending angles should be connected to the center - this is a 
    good way to outline (rather than fill) a 'pie slice'.
   </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>This function was added in PHP 4.0.6 and requires GD 2.0.1</P
></BLOCKQUOTE
></DIV
></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.imagefill.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.imagefilledellipse.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>imagefill</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.image.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>imagefilledellipse</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>