CF 2.0 - Rotate an image ?

Hi,

I saw somewhere that on CF 2.0, an image rotating will be feasible.
I installed the vs 2005 with the new framework and new cf but couldnt find any rotating ability.
Does anyone can give me a hint?

thanks,

[222 byte] By [Quammy] at [2007-12-16]
# 1
No, rotating bitmaps is not supported in CF 2.0. You will need to do it manually
AlexFeinman at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 2

Thanks Alex,

Amm, is there a better (faster) way than do it pixel by pixel ?

And what about the Win Mobile 5.0, maybe does it have the API for doing an image rotation?

thanks again,

Quammy at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 3
WM5 has direct3d. Direct3d has rotation. You still gotta set up vertices and stuff tho. Playing around with the emulator I was suprised at how easy it is, coming from direct draw. How fast it will work with software rendering, i'm looking forward to finding out. I'm actually looking to rotate images in cf2 as well.
Adiraz at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 4

Hi Adiraz,

can you give me some 'kick start' :-) for using the direct3d ? a small code snippet or such will be great.

thanks,

Quammy at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 5

Check out this article:
http://www.mperfect.net/cfMDX/

Cheers
Daniel

DanielMoth at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 6
It sure looks interesting. 10X.
Quammy at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 7

Do you want to be able to rotate the image on any angle or some predefined values like 90, 180, 270 degrees?

AlexY at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 8
sorry for the late reply...

yes, I need to rotate the image to any angle and not just predefined...

Quammy at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...