Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I'm developing a compass application. In the application need to rotate the image for the pointer , if use ITransform to do the folilowing operations on a Bitmap.there are some special,e.g: angles,TRANSFORM_ROTATE_90,, TRANSFORM_ROTATE_180,TRANSFORM_ROTATE_270,I want to rotate any angle for the image.

 

thanks in advance

Yes,  ITransform or other class like Rotate widget supports only specific angles like you mentioned. I would suggest having an image strip with images in different angles and then get specific tile from the strip and draw it.

Yes,  ITransform or other class like Rotate widget supports only specific angles like you mentioned. I would suggest having an image strip with images in different angles and then get specific tile from the strip and draw it.

If according to you suggest,the images in different angles ,need 359  images  for different angles. When the API get the data from the sensor device,the  Rotate  angles change quickly.    BTW ,thank for your answer.

If according to you suggest,the images in different angles ,need 359  images  for different angles. When the API get the data from the sensor device,the  Rotate  angles change quickly.    BTW ,thank for your answer.

HI there
As for me ,i usually rotate the image using an Image Rotator Library Control which supports to fast and accurate image rotation from 1 to 360 degrees.You can have a try.Hope to help you.

HI there
As for me ,i usually rotate the image using an Image Rotator Library Control which supports to fast and accurate image rotation from 1 to 360 degrees.You can have a try.Hope to help you.