Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ps_get_value(3) [php man page]

PS_GET_VALUE(3) 							 1							   PS_GET_VALUE(3)

ps_get_value - Gets certain values

SYNOPSIS
float ps_get_value (resource $psdoc, string $name, [float $modifier]) DESCRIPTION
Gets several values which were set by ps_set_value(3). Values are by definition float values. The parameter $name can have the following values. o fontsize - The size of the currently active font or the font whose identifier is passed in parameter $modifier. o font - The currently active font itself. o imagewidth - The width of the image whose id is passed in the parameter $modifier. o imageheight - The height of the image whose id is passed in the parameter $modifier. o capheight - The height of a capital M in the currently active font or the font whose identifier is passed in parameter $modifier. o ascender - The ascender of the currently active font or the font whose identifier is passed in parameter $modifier. o descender - The descender of the currently active font or the font whose identifier is passed in parameter $modifier. o italicangle - The italicangle of the currently active font or the font whose identifier is passed in parameter $modifier. o underlineposition - The underlineposition of the currently active font or the font whose identifier is passed in parameter $modi- fier. o underlinethickness - The underlinethickness of the currently active font or the font whose identifier is passed in parameter $mod- ifier. o textx - The current x-position for text output. o texty - The current y-position for text output. o textrendering - The current mode for text rendering. o textrise - The space by which text is risen above the base line. o leading - The distance between text lines in points. o wordspacing - The space between words as a multiple of the width of a space char. o charspacing - The space between chars. If charspacing is != 0.0 ligatures will always be dissolved. o hyphenminchars - Minimum number of chars hyphenated at the end of a word. o parindent - Indention of the first n line in a paragraph. o numindentlines - Number of line in a paragraph to indent if parindent != 0.0. o parskip - Distance between paragraphs. o linenumberspace - Overall space in front of each line for the line number. o linenumbersep - Space between the line and the line number. o major - The major version number of pslib. o minor - The minor version number of pslib. o subminor, revision - The subminor version number of pslib. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $name - Name of the value. o $modifier - The parameter $modifier specifies the resource for which the value is to be retrieved. This can be the id of a font or an image. RETURN VALUES
Returns the value of the parameter or FALSE. SEE ALSO
ps_set_value(3). PHP Documentation Group PS_GET_VALUE(3)

Check Out this Related Man Page

PS_GET_PARAMETER(3)							 1						       PS_GET_PARAMETER(3)

ps_get_parameter - Gets certain parameters

SYNOPSIS
string ps_get_parameter (resource $psdoc, string $name, [float $modifier]) DESCRIPTION
Gets several parameters which were directly set by ps_set_parameter(3) or indirectly by one of the other functions. Parameters are by def- inition string values. This function cannot be used to retrieve resources which were also set by ps_set_parameter(3). The parameter $name can have the following values. o fontname - The name of the currently active font or the font whose identifier is passed in parameter $modifier. o fontencoding - The encoding of the currently active font. o dottedversion - The version of the underlying pslib library in the format <major>.<minor>.<subminor> o scope - The current drawing scope. Can be object, document, null, page, pattern, path, template, prolog, font, glyph. o ligaturedisolvechar - The character which dissolves a ligature. If your are using a font which contains the ligature `ff' and `|' is the char to dissolve the ligature, then `f|f' will result in two `f' instead of the ligature `ff'. o imageencoding - The encoding used for encoding images. Can be either hex or 85. hex encoding uses two bytes in the postscript file each byte in the image. 85 stand for Ascii85 encoding. o linenumbermode - Set to paragraph if lines are numbered within a paragraph or box if they are numbered within the surrounding box. o linebreak - Only used if text is output with ps_show_boxed(3). If set to TRUE a carriage return will add a line break. o parbreak - Only used if text is output with ps_show_boxed(3). If set to TRUE a carriage return will start a new paragraph. o hyphenation - Only used if text is output with ps_show_boxed(3). If set to TRUE the paragraph will be hyphenated if a hypen dic- tionary is set and exists. o hyphendict - Filename of the dictionary used for hyphenation pattern. PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $name - Name of the parameter. o $modifier - An identifier needed if a parameter of a resource is requested, e.g. the size of an image. In such a case the resource id is passed. RETURN VALUES
Returns the value of the parameter or FALSE on failure. SEE ALSO
ps_set_parameter(3). PHP Documentation Group PS_GET_PARAMETER(3)
Man Page