<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >ps_show</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="PostScript document creation" HREF="ref.ps.html"><LINK REL="PREVIOUS" TITLE="ps_show2" HREF="function.ps-show2.html"><LINK REL="NEXT" TITLE="ps_string_geometry" HREF="function.ps-string-geometry.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" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ps-show2.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ps-string-geometry.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.ps-show" ></A >ps_show</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN189368" ></A ><P > (PECL)</P >ps_show -- Output text</DIV ><DIV CLASS="refsect1" ><A NAME="AEN189371" ></A ><H2 >Descrição</H2 >bool <B CLASS="methodname" >ps_show</B > ( resource psdoc, string text )<BR ></BR ><P > Output a text at the current text position. The text position can be set by storing the x and y coordinates into the values <TT CLASS="literal" >textx</TT > and <TT CLASS="literal" >texty</TT > with the function <A HREF="function.ps-set-value.html" ><B CLASS="function" >ps_set_value()</B ></A >. The function will issue an error if a font was not set before with <A HREF="function.ps-setfont.html" ><B CLASS="function" >ps_setfont()</B ></A >. </P ><P > <B CLASS="function" >ps_show()</B > evaluates the following parameters and values as set by <A HREF="function.ps-set-parameter.html" ><B CLASS="function" >ps_set_parameter()</B ></A > and <A HREF="function.ps-set-value.html" ><B CLASS="function" >ps_set_value()</B ></A >. </P ><P ></P ><DIV CLASS="variablelist" ><DL ><DT >charspacing (value)</DT ><DD ><P > Distance between two consecutive glyphs. If this value is unequal to zero then all ligatures will be resolved. Values less than zero are allowed. </P ></DD ><DT >kerning (parameter)</DT ><DD ><P > Setting this parameter to "false" will turn off kerning. Kerning is turned on by default. </P ></DD ><DT >ligatures (parameter)</DT ><DD ><P > Setting this parameter to "false" will turn off the use of ligatures. Ligatures are turned on by default. </P ></DD ><DT >underline (parameter)</DT ><DD ><P > Setting this parameter to "true" will turn on underlining. Underlining is turned off by default. </P ></DD ><DT >overline (parameter)</DT ><DD ><P > Setting this parameter to "true" will turn on overlining. Overlining is turned off by default. </P ></DD ><DT >strikeout (parameter)</DT ><DD ><P > Setting this parameter to "true" will turn on striking out. Striking out is turned off by default. </P ></DD ></DL ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN189416" ></A ><H2 >Parâmetros</H2 ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><CODE CLASS="parameter" >psdoc</CODE ></DT ><DD ><P > 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" >text</CODE ></DT ><DD ><P > The text to be output. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN189431" ></A ><H2 >Valores de retornado</H2 ><P > Retorna <TT CLASS="constant" ><B >TRUE</B ></TT > em caso de sucesso ou <TT CLASS="constant" ><B >FALSE</B ></TT > em falhas. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN189436" ></A ><H2 >Veja também</H2 ><P > <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD ><A HREF="function.ps-continue-text.html" ><B CLASS="function" >ps_continue_text()</B ></A ></TD ></TR ><TR ><TD ><A HREF="function.ps-show-xy.html" ><B CLASS="function" >ps_show_xy()</B ></A ></TD ></TR ><TR ><TD ><A HREF="function.ps-setfont.html" ><B CLASS="function" >ps_setfont()</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-show2.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ps-string-geometry.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >ps_show2</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.ps.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ps_string_geometry</TD ></TR ></TABLE ></DIV ></BODY ></HTML >