DGL https://delphigl.com/forum/ |
|
How to rotate font with wglUseFontBitmaps ? https://delphigl.com/forum/viewtopic.php?f=19&t=4051 |
Seite 1 von 1 |
Autor: | joseph74 [ Di Apr 19, 2005 10:42 ] |
Betreff des Beitrags: | How to rotate font with wglUseFontBitmaps ? |
hi, i have problem with fonts ! How to rotate font with wglUseFontBitmaps ? Code:
help me !!!!! thanks Moderiert von Lossy eX: Pascal Tags added |
Autor: | Lossy eX [ Di Apr 19, 2005 11:27 ] | ||
Betreff des Beitrags: | |||
I don't know if it possible. I've never tryed out. But BitmapFonts are not very flexible. It's better you use Texturefonts. There where normally polygons with some parts of an textur they contained a complete list of chars. Then it's possible to rotate the text dynamically. I've made an class that contains this functionality. But at this moment i dosn't uploaded the generation tool. But i can do it. glText.pas with Font classes (TglTextureText is intresting for you) glBitmap.pas where needed. You also need our OpenGL Header.
|
Autor: | joseph74 [ Mi Apr 20, 2005 09:31 ] |
Betreff des Beitrags: | |
thanks for your answer ! i am beginer. I can find some example? thanks. |
Autor: | Lossy eX [ Mi Apr 20, 2005 11:12 ] |
Betreff des Beitrags: | |
Creating Font Code:
Destroying Font Code:
Texture can be shared so you must create and free it separately. Drawing with Font Code:
|
Autor: | joseph74 [ Di Apr 26, 2005 08:35 ] |
Betreff des Beitrags: | |
Thank !! |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |