Hi. I have an image of a scroll which is a png so the edges are alphablended and there are full transparent areas too. I'd like to draw some text onto the scroll but I have no idea how to do this!
I could cls the screen, draw the scroll, then the text, then regrab the whole thing but then the grabbed image will have no alpha data so I won't be able to use it properly in-game anymore...
So is there a way to draw text directly (using DrawText) onto an image using maybe Pixmaps or some DirectX render to texture jiggery pokery? I'm using draw text because the actual text changes all the time, I can't predraw it outside of the game.
Any advice much appreciated. Thanks :-)
I could cls the screen, draw the scroll, then the text, then regrab the whole thing but then the grabbed image will have no alpha data so I won't be able to use it properly in-game anymore...
So is there a way to draw text directly (using DrawText) onto an image using maybe Pixmaps or some DirectX render to texture jiggery pokery? I'm using draw text because the actual text changes all the time, I can't predraw it outside of the game.
Any advice much appreciated. Thanks :-)