Sophie

Sophie

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

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
>ps_get_value</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="PostScript document creation"
HREF="ref.ps.html"><LINK
REL="PREVIOUS"
TITLE="ps_get_parameter"
HREF="function.ps-get-parameter.html"><LINK
REL="NEXT"
TITLE="ps_hyphenate"
HREF="function.ps-hyphenate.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.ps-get-parameter.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.ps-hyphenate.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.ps-get-value"
></A
>ps_get_value</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN191360"
></A
><P
>    (PECL)</P
>ps_get_value&nbsp;--&nbsp;Gets certain values</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN191363"
></A
><H2
>说明</H2
>float <B
CLASS="methodname"
>ps_get_value</B
> ( resource psdoc, string name [, float modifier] )<BR
></BR
><P
>Gets several values which were set by
   <A
HREF="function.ps-set-value.html"
><B
CLASS="function"
>ps_set_value()</B
></A
>. Values are by definition float values.
  </P
><P
>&#13;   The parameter <CODE
CLASS="parameter"
>name</CODE
> can have the following values.
  </P
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="literal"
>fontsize</TT
></DT
><DD
><P
>&#13;       The size of the currently active font or the font whose
       identifier is passed in parameter <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>font</TT
></DT
><DD
><P
>&#13;       The currently active font itself.
      </P
></DD
><DT
><TT
CLASS="literal"
>imagewidth</TT
></DT
><DD
><P
>&#13;       The width of the image whose id is passed in the parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>imageheight</TT
></DT
><DD
><P
>&#13;       The height of the image whose id is passed in the parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>capheight</TT
></DT
><DD
><P
>&#13;       The height of a capital M in the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>ascender</TT
></DT
><DD
><P
>&#13;       The ascender of the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>descender</TT
></DT
><DD
><P
>&#13;       The descender of the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>italicangle</TT
></DT
><DD
><P
>&#13;       The italicangle of the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>underlineposition</TT
></DT
><DD
><P
>&#13;       The underlineposition of the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>underlinethickness</TT
></DT
><DD
><P
>&#13;       The underlinethickness of the currently active font or the font
       whose identifier is passed in parameter
       <CODE
CLASS="parameter"
>modifier</CODE
>.
      </P
></DD
><DT
><TT
CLASS="literal"
>textx</TT
></DT
><DD
><P
>&#13;       The current x-position for text output.
      </P
></DD
><DT
><TT
CLASS="literal"
>texty</TT
></DT
><DD
><P
>&#13;       The current y-position for text output.
      </P
></DD
><DT
><TT
CLASS="literal"
>textrendering</TT
></DT
><DD
><P
>&#13;       The current mode for text rendering.
      </P
></DD
><DT
><TT
CLASS="literal"
>textrise</TT
></DT
><DD
><P
>&#13;       The space by which text is risen above the base line.
      </P
></DD
><DT
><TT
CLASS="literal"
>leading</TT
></DT
><DD
><P
>&#13;       The distance between text lines in points.
      </P
></DD
><DT
><TT
CLASS="literal"
>wordspacing</TT
></DT
><DD
><P
>&#13;       The space between words as a multiple of the width of a space char.
      </P
></DD
><DT
><TT
CLASS="literal"
>charspacing</TT
></DT
><DD
><P
>&#13;       The space between chars. If charspacing is != 0.0 ligatures will
       always be dissolved.
      </P
></DD
><DT
><TT
CLASS="literal"
>hyphenminchars</TT
></DT
><DD
><P
>&#13;       Minimum number of chars hyphenated at the end of a word.
      </P
></DD
><DT
><TT
CLASS="literal"
>parindent</TT
></DT
><DD
><P
>&#13;       Indention of the first n line in a paragraph.
      </P
></DD
><DT
><TT
CLASS="literal"
>numindentlines</TT
></DT
><DD
><P
>&#13;       Number of line in a paragraph to indent if parindent != 0.0.
      </P
></DD
><DT
><TT
CLASS="literal"
>parskip</TT
></DT
><DD
><P
>&#13;       Distance between paragraphs.
      </P
></DD
><DT
><TT
CLASS="literal"
>linenumberspace</TT
></DT
><DD
><P
>&#13;       Overall space in front of each line for the line number.
      </P
></DD
><DT
><TT
CLASS="literal"
>linenumbersep</TT
></DT
><DD
><P
>&#13;       Space between the line and the line number.
      </P
></DD
><DT
><TT
CLASS="literal"
>major</TT
></DT
><DD
><P
>&#13;       The major version number of pslib.
      </P
></DD
><DT
><TT
CLASS="literal"
>minor</TT
></DT
><DD
><P
>&#13;       The minor version number of pslib.
      </P
></DD
><DT
><TT
CLASS="literal"
>subminor</TT
>, <TT
CLASS="literal"
>revision</TT
></DT
><DD
><P
>&#13;       The subminor version number of pslib.
      </P
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN191523"
></A
><H2
>参数</H2
><P
>&#13;   <P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><CODE
CLASS="parameter"
>psdoc</CODE
></DT
><DD
><P
>&#13;       Resource identifier of the postscript file
       as returned by <A
HREF="function.ps-new.html"
><B
CLASS="function"
>ps_new()</B
></A
>.
      </P
></DD
><DT
><CODE
CLASS="parameter"
>name</CODE
></DT
><DD
><P
>&#13;       Name of the value.
      </P
></DD
><DT
><CODE
CLASS="parameter"
>modifier</CODE
></DT
><DD
><P
>&#13;       The parameter <CODE
CLASS="parameter"
>modifier</CODE
> specifies the resource
       for which the value is to be retrieved. This can be the id of a font or
       an image.
      </P
></DD
></DL
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN191544"
></A
><H2
>返回值</H2
><P
>&#13;   Returns the value of the parameter or <TT
CLASS="constant"
><B
>FALSE</B
></TT
>.
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN191548"
></A
><H2
>参见</H2
><P
>&#13;   <P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
><A
HREF="function.ps-set-value.html"
><B
CLASS="function"
>ps_set_value()</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.ps-get-parameter.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.ps-hyphenate.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>ps_get_parameter</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.ps.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>ps_hyphenate</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>