Anyone knows an algorithm for rotating a bitmap in Compact Framework?
Please advice.
(One possibility is to use SetPixel() and GetPixel() but these are
increadably slow).
Paul G. Tobey [eMVP] - 18 Sep 2006 19:44 GMT
A search via GoogleGroups, groups.google.com, of this group,
microsoft.public.dotnet.framework.compactframework will find you a number of
old threads on this topic.
Paul T.
> Anyone knows an algorithm for rotating a bitmap in Compact Framework?
> Please advice.
> (One possibility is to use SetPixel() and GetPixel() but these are
> increadably slow).
Sergey Bogdanov - 19 Sep 2006 14:06 GMT
See my example here:
http://www.sergeybogdanov.com/samples/PictureRotating.zip
For CF2.0 you can use LockBits and use the same technique like shown in
my sample.
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
> Anyone knows an algorithm for rotating a bitmap in Compact Framework?
> Please advice.
> (One possibility is to use SetPixel() and GetPixel() but these are
> increadably slow).