cvs: /phpdoc/functions image.sgml

From: Date: Tue, 24 Aug 1999 18:42:27 +0000
Subject: cvs: /phpdoc/functions image.sgml
Groups: php.dev 
Request: Send a blank email to php-dev+get-10160@lists.php.net to get a copy of this message
eschmid Tue Aug 24 14:42:27 1999 EDT Modified files: /phpdoc/functions image.sgml Log: The last four arguments are optional for imagepstext. Index: phpdoc/functions/image.sgml diff -u phpdoc/functions/image.sgml:1.3 phpdoc/functions/image.sgml:1.4 --- phpdoc/functions/image.sgml:1.3 Sat Jul 31 20:37:07 1999 +++ phpdoc/functions/image.sgml Tue Aug 24 14:42:26 1999 @@ -1202,45 +1202,57 @@ <paramdef>int <parameter>background</parameter></paramdef> <paramdef>int <parameter>x</parameter></paramdef> <paramdef>int <parameter>y</parameter></paramdef> - <paramdef>int <parameter>space</parameter></paramdef> - <paramdef>int <parameter>tightness</parameter></paramdef> - <paramdef>float <parameter>angle</parameter></paramdef> - <paramdef>int <parameter>antialias_steps</parameter></paramdef> + <paramdef>int <parameter> + <optional>space</optional></parameter></paramdef> + <paramdef>int <parameter> + <optional>tightness</optional></parameter></paramdef> + <paramdef>float <parameter> + <optional>angle</optional></parameter></paramdef> + <paramdef>int <parameter> + <optional>antialias_steps</optional></parameter></paramdef> </funcsynopsis> <para> <parameter>size</parameter> is expressed in pixels. <para> - <parameter>foreground</parameter> is the color in which the text will be painted. - <parameter>background</parameter> is the color to which the text will try to fade in - with antialiasing. No pixels with the color <parameter>background</parameter> are - actually painted, so the background image does not need to be of solid color. - <para> - The coordinates given by <parameter>x</parameter>, <parameter>y</parameter> - will define the origin (or reference point) of the first character - (roughly the lower-left corner of the character). This is different from the + <parameter>foreground</parameter> is the color in which the text + will be painted. <parameter>background</parameter> is the color + to which the text will try to fade in with antialiasing. No + pixels with the color <parameter>background</parameter> are + actually painted, so the background image does not need to be of + solid color. + <para> + The coordinates given by <parameter>x</parameter>, + <parameter>y</parameter> will define the origin (or reference + point) of the first character (roughly the lower-left corner of + the character). This is different from the <function>ImageString</function>, where x, y define the - upper-right corner of the first character. Refer to PostScipt documentation - about fonts and their measuring system if you have trouble understanding - how this works. + upper-right corner of the first character. Refer to PostScipt + documentation about fonts and their measuring system if you have + trouble understanding how this works. + <para> + <parameter>space</parameter> allows you to change the default + value of a space in a font. This amount is added to the normal + value and can also be negative. + <para> + <parameter>tightness</parameter> allows you to control the amount + of white space between characters. This amount is added to the + normal character width and can also be negative. <para> - <parameter>space</parameter> allows you to change the default value of a space in a font. - This amount is added to the normal value and can also be negative. - <para> - <parameter>tightness</parameter> allows you to control the amount of white space - between characters. This amount is added to the normal character width and can also be negative. - <para> <parameter>angle</parameter> is in degrees. - <para> - <parameter>antialias_steps</parameter> allows you to control the number of colours - used for antialiasing text. Allowed values are 4 and 16. The higher value is - recommended for text sizes lower than 20, where the effect in text quality is quite visible. - With bigger sizes, use 4. It's less computationally intensive. - <para> - Parameters <parameter>space</parameter> and <parameter>tightness</parameter> - are expressed in character space units, where 1 unit is 1/1000th of an em-square. <para> - Parameters <parameter>space</parameter>, <parameter>tightness</parameter>, - <parameter>angle</parameter> and <parameter>antialias</parameter> are optional. + <parameter>antialias_steps</parameter> allows you to control the + number of colours used for antialiasing text. Allowed values are + 4 and 16. The higher value is recommended for text sizes lower + than 20, where the effect in text quality is quite visible. With + bigger sizes, use 4. It's less computationally intensive. + <para> + Parameters <parameter>space</parameter> and + <parameter>tightness</parameter> are expressed in character space + units, where 1 unit is 1/1000th of an em-square. + <para> + Parameters <parameter>space</parameter>, + <parameter>tightness</parameter>, <parameter>angle</parameter> + and <parameter>antialias</parameter> are optional. <para> This function returns an array containing the following elements: <informaltable>

« previous php.dev (#10160) next »