What native API is recommended by Microsoft for rendering 2D graphics?

According to the MSDN listing , GDI and GDI + are both legacies. So, when writing an application using the Windows API, what should you use to render 2D graphics?

Direct2D, WIC, DirectComposition (is this new to me), GDI +, GDI?

Note: not 2d games - only 2d images.

+5
source share
2 answers

Either GDI or GDI + is a great choice for basic needs.

- GDI , , "". , , . , API "", , , , Win32 - , , "" , , Win32 .

GDI +, , (, ..) / ++ API API GDI GDI. , GDI +, Gdiplus.dll , Windows 2000 . GDI .

, . , Direct2D GDI GDI+. , , Windows Vista . XP - ( , ), , Direct2D . Direct2D - ( , , 3D-). Direct2D GDI, API- .

+4

XP ( !), Direct2D. , Direct2D :

  • ( )
  • Vista , GDI HW accelleration crippeld (- drivermodel)
  • Direct3D ( ), DirectWrite, DirectComposition ..
  • .
  • ,
  • GDI Metro-Style

, , Direct2D GDI/GDI +.

+2

All Articles