Archived

This topic is now archived and is closed to further replies.

D3D8 in 2d question

This topic is 5091 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If you want to put a bitmap at (10,10), you would need to load the bitmap into a surface. You could either use the whole bitmap or just part of it (like a tile) by using a RECT struct to hold the tile dimensions. Then you would need to use the POINT struct and set the dimensions to (10, 10).
Using the CopyRects() method of the IDirect3DDevice8 object, you could put the bitmap at (10, 10).

-Noix-

In this world gone mad, we won''t spank the monkey; the monkey will spank us.

Share this post


Link to post
Share on other sites