Changeset 7874 in orxonox.OLD for branches/gui/src/lib/graphics/text_engine
- Timestamp:
- May 26, 2006, 3:54:11 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/text_engine/text.cc
r7873 r7874 243 243 if(this->font->getGlyphArray()[this->text[i]] != NULL) 244 244 width += this->font->getGlyphArray()[this->text[i]]->advance; 245 this->setSizeX2D(width *this->getSize()); 245 this->setSizeX2D(width * this->getSize()); 246 printf("%s:: %f\n", this->text.c_str(), width * this->getSize()); 246 247 } 247 248
Note: See TracChangeset
for help on using the changeset viewer.