Original Post
🔒 Locked
Rotating Bitmaps with Directdraw
Advertisement
You will need to lock the surface, read data from the surface
*possibly resize the surface through reallocation* do a rotation function on the image''s original pixels than write the pixels back to the surface memory.
this is going to be very slow,
directdraw was ''supposed'' to have support for rotation but like most things in directdraw support for it is spotty at best.
best to go with Direct3D or some other 3D API,
otherwise your in for a painful journey
and substandard performance at the end of the road.
Raymond Jacobs,
Profesional Web Applications Developer,
Weekend Game Developer,
www.EtherealDarkness.com
*possibly resize the surface through reallocation* do a rotation function on the image''s original pixels than write the pixels back to the surface memory.
this is going to be very slow,
directdraw was ''supposed'' to have support for rotation but like most things in directdraw support for it is spotty at best.
best to go with Direct3D or some other 3D API,
otherwise your in for a painful journey
and substandard performance at the end of the road.
Raymond Jacobs,
Profesional Web Applications Developer,
Weekend Game Developer,
www.EtherealDarkness.com
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement