0

I need to render SVG vector image files (static images and animation) on DirectX 11. Is there a way to do this, or I have to convert SVG to a DirectX 11 compatible format file?

NOTE: I don't have a problem if I have to working with XML directly, and I use DirectX SDK 2010.

7
  • You can use Direct2D, D2D1DeviceContext5::CreateSvgDocument method, etc. learn.microsoft.com/en-us/windows/win32/api/d2d1_3/… however I don't think it supports animated SVG. Experience also demonstrates some rendering limitations but they are not documented. Commented Jul 20 at 5:12
  • The function is in d2d1_3.h, Is there other way for d2d1.h?
    – M 027
    Commented Jul 20 at 7:54
  • Not sure what you mean by that? Commented Jul 20 at 9:03
  • 1
    No, you must use d2d1_3.h. From the header ID2D1DeviceContext5 requires NTDDI_WIN10_RS1 (=> Windows 10 1607 "Redstone 1" learn.microsoft.com/en-us/windows/win32/winprog/…, aka "Windows 10 Anniversary Update", released in august 2016) Commented Jul 20 at 18:46
  • 1
    So, there's nothing builtin in Windows do do that. Commented Jul 20 at 19:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.