Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.



This topic is 5827 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


In earlier versions you would do something like this:

TextOut(hdc, x,y, szText, lstrlen(szText));

But I do not think that this is possible anymore under DX8...But I''m not 100% sure.....

Share this post

Link to post
Share on other sites
you still can.

make a surface first, or just get a buffer from the chain buffer ..

then you can getdc from it .. very very slow though..

i normally use GDI for fonts. since it saves me the time of making the fonts myself.

Its my duty, to please that booty ! - John Shaft

Share this post

Link to post
Share on other sites
You can, but it is highly recommended against. Long story short, mixing the two forces the device to stop, allow GDI stuff, and regroup. It can cause big performance issue.

What are you actually trying to do?

Share this post

Link to post
Share on other sites

  • 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!