Jump to content
  • Advertisement

Archived

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

RedRabbit

Device Contexts?

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

Could somebody kindly go over device contexts (DC''s) in more depth. From what I can tell they are used in Win32 to draw and are basicly the event or action of drawing. I dont really know how to explain my thought on/about them so im hoping if reading somebody elses explanation I can relate my thoughts with theirs etc etc etc. Ty in advance

Share this post


Link to post
Share on other sites
Advertisement
Device contexts, aka DC''s, are basically handles to memory that the operating system manages. What makes them different from standard memory handles, is the fact that they act as graphics interfaces to let the programmer draw stuff in a standardised manner.

See MSDN for a formal introduction and documentation on DC''s and GDI (Graphics Device Interface) for Windows. For other platforms, very similar paradigms apply.

-Nik

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!