pib wrote:
hi guys,
i'm interested in the drawrotated() even w/o the clipping. i've tried it but i get a coloured morphing box instead of my rotated sprite. it's very suggestive, but it's not what i need...
is there some constraints on the parameters to pass to it (like sprite size or such)?
thx
huhu looks like everybody has this marvelous "morphing" you're talking about...
i think that one reason could be the stranges 3024.0f in the code, witch gives much better results in size if you replace with 1024.0f (4 times)
but that's not all ... there's some other obscur reason why it doesn't do the stuff... may it come from the sub pixel of the device Jacco's using and wich is different from Ipaqs...
that code is too difficult to understand :') ... sorry
OUPS ! i also saw a 63 high in the code ... that looks like "hard" value ... hmmm ?

let's try width m_width instead ...
Give me some Good data, i give it back as is
==================================================
(later...)
ok!!! i think i get it now, the 63 is not good
and also the ((vs >> 10) << 6) in the end, 6 is also a hard value... 1<<6 = 64. looks like Jacco was working with a 64x64 sprite
i finish cleaning/optimizing and post it later.