user519986
user519986

Reputation: 203

Direct2D equivalent 2D graphics API for WindowsXP

As you all know, Direct2D can be used for 2D animation in case of Windows7. Since Direct2D is not supported in WindowsXP, can you specify some equivalent 2D graphics API that is supported both in Windows7 and WindowsXP

Upvotes: 3

Views: 2814

Answers (2)

Arty
Arty

Reputation: 763

You may check out agge - https://github.com/tyoma/agge. It's a CPU-only rendering engine that beats Direct2D in the cases it supports. The library is limited at the moment, it doesn't support textured/gradient filling, but otherwise is quite simple to use and has STL-lite spirit (in the sense it's more a set of algorithms than a fat interface like GDI's HDC or ID2D1RenderTarget). Since it's CPU only, it's a cross-platform solution (samples can be compiled for Windows/Mac/Android/ Linux (there's no support for X11 XImage as underlying surface yet)).

Upvotes: 0

user475353
user475353

Reputation:

SDL. check out http://www.libsdl.org/

It's what i've used for simple top down games and such, very very easy to learn!

Upvotes: 4

Related Questions