Logo Search packages:      
Sourcecode: pango-graphite version File versions  Download package

virtual void gr::XftGrFont::getGlyphPoint ( gid16  gid,
unsigned int  pointNum,
gr::Point &  xyReturn 
) [virtual]

Converts the point number of a glyph’s on-curve point to a pair of x/y coordinates in pixels. The default implementation will read the curve information directly from the font and perform a simple transformation to pixels. Some subclasses (e.g., WinFont) will use a system-level API call to return hinted metrics. Note that the coordinates returned are floating point values, using a special floating-point point class.

Parameters:
gid glyph id
pointNum within glyph
xyReturn reference to a Point object to hold the x,y result


Generated by  Doxygen 1.6.0   Back to index