PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

rotation and AlphaBlt()

ten foot ninja · 02 Feb 2006, 20:17 UTC
hello,
you can rotate images with Blt, but not alphaBlt according to the docs? is this true?

i am writing for symbian, i want to add images with transparency (using a mask) and rotate them as well. Is this possible? what is the best way to go about doing this?

thanks in advance
ten foot ninja · 06 Feb 2006, 09:57 UTC
am i to assume then that there is no way to rotate an image with any sort of transparency on symbian with gapidraw?
am i to assume then that there is no way to rotate an image with any sort of transparency on symbian with gapidraw?


Wrong, you can use Blt and mask away a color using the COLORKEY flag. You cannot just do variable depth alpha + rotation. The reason is it not there is that it's simply too slow without hardware acceleration.
ten foot ninja · 09 Feb 2006, 22:38 UTC
i see... thanks for the explaination.

i will need to make a few rotated images, but not many. the rest will need to be dealt with by using the MIRRORUPDOWN flag and crafty programming ingenuity... *sigh*