• Advertisement

Archived

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

DrawRotate using Direct X headers

This topic is 6451 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

Hi- Is it possible to do a drawrotate using the headers? Every example I have seen uses bitmaps with the sprite drawn at the different angles. Thanks for any help. Supps

Share this post


Link to post
Share on other sites
Advertisement
Hi Supps,


What headers are you using, DelphiX, DGC, Erik''s headers ?

Share this post


Link to post
Share on other sites
In PowerDraw unit you could hack around with the source of DrawRotate routine (which is bilinear). The image parameter is TPictureCollectionItem. Inside I get the correct surface from it, so you could change the routine so you pass surface directly.

Share this post


Link to post
Share on other sites

  • Advertisement