/[gzz]/gzz/gfx/libtext/Text.hxx
ViewVC logotype

Diff of /gzz/gfx/libtext/Text.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by tjl, Sat Jan 25 12:12:51 2003 UTC revision 1.14 by tjl, Tue Jan 28 08:28:26 2003 UTC
# Line 269  namespace Text { Line 269  namespace Text {
269           */           */
270          template<class Vertex, class TexBind>          template<class Vertex, class TexBind>
271                  float renderChar(Char c, float x, float y, Vertex &vertex,                  float renderChar(Char c, float x, float y, Vertex &vertex,
272                                      const TexBind &t)                                      TexBind t)
273          { // returns new x pos          { // returns new x pos
274              QuadGlyph &glyph = g[(unsigned)c];              QuadGlyph &glyph = g[(unsigned)c];
275              if(!glyph.valid()) return x;              if(!glyph.valid()) return x;
# Line 299  namespace Text { Line 299  namespace Text {
299                  RandomRenderer &r,                  RandomRenderer &r,
300                  Iterator begin, Iterator end,                  Iterator begin, Iterator end,
301                  float x, float y,                  float x, float y,
302                  Vertex &vertex, const TexBind &t) {                  Vertex &vertex, TexBind t) {
303          r.startRendering();          r.startRendering();
304          while(begin != end) {          while(begin != end) {
305              x = r.renderChar(*begin, x, y, vertex, t);              x = r.renderChar(*begin, x, y, vertex, t);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26