pfuMakeRasterXFont man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pfuXFont(3pf)  OpenGL Performer 3.2.2 libpfutil Reference Pages	 pfuXFont(3pf)

NAME
     pfuLoadXFont, pfuMakeXFontBitmaps, pfuMakeRasterXFont, pfuGetXFontWidth,
     pfuGetXFontHeight, pfuGetCurXFont, pfuSetXFont, pfuCharPos,
     pfuDrawString, pfuDrawStringPos - X Window string drawing routines

FUNCTION SPECIFICATION
     #include <Performer/pfutil.h>

     void   pfuLoadXFont(char *fontName, pfuXFont *fnt);

     void   pfuMakeXFontBitmaps(pfuXFont *fnt);

     void   pfuMakeRasterXFont(char *fontName, pfuXFont *fnt);

     int    pfuGetXFontWidth(pfuXFont *f, const char *str);

     int    pfuGetXFontHeight(pfuXFont *f);

     void   pfuGetCurXFont(pfuXFont *f);

     void   pfuSetXFont(pfuXFont *f);

     void   pfuCharPos(float x, float y, float z);

     void   pfuDrawString(const char *s);

     void   pfuDrawStringPos(const char *s, float x, float y, float z);

	  typedef struct pfuXFont
	  {
	      int   size;
	      int    handle;
	      XFontStruct *info;
	  } pfuXFont;

DESCRIPTION
     These functions do simple text drawing using X Windows fonts and string
     drawing facilities.

     Call pfuLoadXFont to load the X Window font named by fontName into fnt.
     Application programs will usually call pfuMakeRasterXFont rather than
     calling this function directly.

     pfuMakeXFontBitmaps allocates display lists under OpenGL for writing the
     font fnt on the screen.  This is a necessary step after calling
     pfuLoadXFont and before calling pfuDrawString or pfuDrawStringPos.
     Application programs will usually call pfuMakeRasterXFont rather than
     calling this function directly.

									Page 1

pfuXFont(3pf)  OpenGL Performer 3.2.2 libpfutil Reference Pages	 pfuXFont(3pf)

     pfuMakeRasterXFont loads the font specified in fontName into fnt and,
     under OpenGL, allocates display lists for displaying the font.  This
     function is normally used to load and initialize the font; this can be
     followed by pfuDrawString or pfuDrawStringPos.

     pfuGetXFontWidth returns the width (X dimension) in pixels of the string
     str drawn on the screen in font f.

     pfuGetXFontHeight returns the height (Y dimension) in pixels of the font
     f.

     pfuGetCurXFont sets f to the current X Window font for drawing.

     pfuSetXFont sets the current X Window font to be f.

     pfuCharPos sets the current drawing position on the screen.  See
     glRasterPos3f in OpenGL for more details.

     pfuDrawString draws the string s at the current drawing position.

     pfuDrawStringPos draws the string s at the provided coordinates.

NOTES
     The libpfutil source code, object code and documentation are provided as
     unsupported software.  Routines are subject to change in future releases.

SEE ALSO
     pfDataPool, glRasterPos3f

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net