Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nercury/glstext
Automatically exported from code.google.com/p/glstext
https://github.com/nercury/glstext
Last synced: about 2 months ago
JSON representation
Automatically exported from code.google.com/p/glstext
- Host: GitHub
- URL: https://github.com/nercury/glstext
- Owner: Nercury
- License: mit
- Created: 2015-03-12T19:07:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T20:19:15.000Z (almost 10 years ago)
- Last Synced: 2023-04-10T01:59:32.022Z (almost 2 years ago)
- Language: C++
- Size: 1000 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
> Resurrection of old text rendering lib written in 2009 from google code.
# GLSText 0.0.1
Uses ttf fonts to render text with OpenGL.
To achieve better performance, text glyphs are automatically prerendered
to textures. Supports utf8 text, uses lazy rendering for glyphs and
automatically destroys font textures when font is no longer used.Smooth blending to background, different text colors, alpha blending,
alignment, text measurements, text can be rapidly changed at render time.Requires SDL, SDL_ttf, OpenGL libraries.
To quickly check it out, you can look at included test project.
More details about the way this works are in GLST_Text.h file.
This file is also the main class you will need to include.
It is also a nice and small frontend for GLSText, and does the most
obvious job if you would need to change the way rendering is performed.# LICENSE
MIT