Jump to content
  • Advertisement
Sign in to follow this  
kgaurav4

Sprite Text Problem

This topic is 3913 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!