Jump to content
  • Advertisement
Sign in to follow this  
jdub

[SlimDX] using GDI drawing along with SlimDX

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

Is it possible to draw with C#'s/Winform's GDI along with SlimDX? I want to use some of the font drawing functions in my game.

Share this post


Link to post
Share on other sites
Advertisement
Yes. But how you do so and how effective it will be depends on what exactly you are trying to do.

Share this post


Link to post
Share on other sites
All I want to do right now is use GDI to draw the fps rate in the upper left hand corner of the window. I am going to wait until I learn more about directX sprites and fonts before I use them in my game.
Right now, I am coding up a frame timing system and I want to know the FPS to see if my system works right.

I have read that if you are using GDI to draw along side DirectX GDI does not know which back buffer to write to and can crash your program. Is this true for SlimDX, and if so what do I have to do in order to avoid crashing my game?

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!