I Have a Really Complex Question...
Moderator: Coders of Rage
- unholysavagery
- Chaos Rift Cool Newbie
- Posts: 73
- Joined: Tue Oct 28, 2008 4:27 am
I Have a Really Complex Question...
So I want to draw text to an off screen area in memory then copy it to a DirectX texture, how would I do this? I hear I need to some how draw the text to a HBITMAP and copy that to the texture but how?
Last edited by unholysavagery on Mon Dec 01, 2008 11:10 am, edited 1 time in total.
This is the internet, men are men, women are men and children are the FBI.
Re: How to use the Windows GDI to draw text?
directx accomodates bitmap fonts that you can directly print to textures.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- unholysavagery
- Chaos Rift Cool Newbie
- Posts: 73
- Joined: Tue Oct 28, 2008 4:27 am
Re: How to use the Windows GDI to draw text?
Yeah I'm using them right now but the sprite interface wont let me layer them the way I want. I need to do it this way, it's hard to explain why but I do and I don't know how.avansc wrote:directx accomodates bitmap fonts that you can directly print to textures.
Last edited by unholysavagery on Mon Dec 01, 2008 11:11 am, edited 1 time in total.
This is the internet, men are men, women are men and children are the FBI.
- unholysavagery
- Chaos Rift Cool Newbie
- Posts: 73
- Joined: Tue Oct 28, 2008 4:27 am
Re: How to use the Windows GDI to draw text?
I need a diagram on how the ID3DX10Font interface works, anyone know where I can find one? I'd like to copy the process.
This is the internet, men are men, women are men and children are the FBI.