.TH "PS_STRINGWIDTH3" "3" .SH "NAME" PS_string_geometry \(em Gets geometry of a string .SH "SYNOPSIS" .PP #include .PP float PS_string_geometry(PSDoc *psdoc, const char *text, int len, int fontid, float size, float *dimension) .SH "DESCRIPTION" .PP This function is identical to \fBPS_stringwidth2(3)\fP but has an extra parameter \fBdimension\fR which, if not NULL, will be used to return further dimensions of the string. .PP \fBdimension[0]\fR contains the width as returned by the function. \fBdimension[1]\fR contains the maximum descender and \fBdimension[2]\fR the maximum ascender of the string. .SH "RETURN VALUE" .PP Width of a string in points. .SH "SEE ALSO" .PP PS_stringwidth(3), PS_stringwidth2(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man