I'm looking for something that can generate primitives (e.g. rounded rectangles for dialog boxes etc) so I can load them into a DirectX textured Sprite. Functionality is like SPriG.
+1
A:
Its pretty easy and there are 2 ways :
1) If you are using DirectX10+ use Direct2D.
2) Use GDI+ to draw them onto a texture.
Both are integrated with the system and do not need for any external library. Just pick and use.
As far as Direct2D, I don't know all the details, but I can assure you can do whatever you want with GDI+. (You generate them once, so you don't care about speed)
feal87
2010-02-16 15:34:46
I'd like to use Direct2D, yes. But it actually only works on Windows 7.The GDI+ option isn't terribly bad, though.
bobobobo
2010-02-16 16:36:59
As far as I know, Direct2D works fine on Vista too, if you installed the platform update.
feal87
2010-02-16 16:52:45