Sign in to follow this  
kgaurav4

Sprite Text Problem

Recommended Posts

I am using Sprite function to display text on Directx device, but when i intilized it get it origin from the MFC, rather than it should bind with the directx. Can any one give me any idea to bind a sprite text with directx device. Thanks in Advance.

Share this post


Link to post
Share on other sites
What is this "Sprite" function? What do you mean by "get it origin from the MFC"? What does MFC have anything to do with this? And what do you mean by "bind"?

In other words, some details would be nice.

Share this post


Link to post
Share on other sites
I apologize that i haven't explain my question clearly
-
I am using directx 9.0 (with VC++) for drawing 2D graphics.
My graphics contains figures and text also, for drawing 2D graphics in directx I used orthographic projection.
But due to orthographic projection my font height not remains constant through the drawing as I increase length of my figure my font height get reduced because of zooming effect. I want to make it fixed size for all length.

I am using mesh for drawing text.

(for that i had also tried D3DXCreateSprite Function...)

if there is any solution for the above issue, that would be great!! ( not necessary to use sprite.. any think can work...)

Thanks in Advance..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this