graphic

  • Thread starter Thread starter m.pfeffer
  • Start date Start date
M

m.pfeffer

hi
i want to write a simple spriteclass.
I must draw a polygon for example in black and then when moving i must
delete it and draw it on next position.
I try it with repaint with background color and it works. but i search
for a way to save the background where i draw -- draw the polygon --
and then while moving i restore the saved background .
How to do that?
thx
martin
 
Hi Martin,

Are you using DirectX 9.0 for managed or creating your own classes?

If you haven't checked it out, DirectX has a lot of good functionality for
this kind of thing:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.as
p



Thanks,
David [MS-SDK]

-Please do not send email directly to this alias. This alias is for
newsgroup purposes only
-This posting is provided “AS IS” with no warranties, and confers no rights.
-To provide additional feedback about your community experience please send
e-mail to: (e-mail address removed)
--------------------
 
Back
Top