I am trying to rotate a second image and then paste that into the other but is not working. I don’t see the second image.
I have 1 image that is 200 x 200 (the compass rose) and a second image that is 15 x 149 (the compassPointer)
I tried the following.
Bitmap compass = compassBitmap;
compass.RotateImage(WeatherData.windDirection, 92, 25, compassPointerBitmap, 0, 0, 15, 149, 255);
compassImage.Bitmap = compass;
compassImage.Invalidate();
If I create the pointer image as a 149 x 149 and use this it works. I can’t get the thinner image to work. It needs to be to prevent over writing the underlying image.
compass.RotateImage(WeatherData.windDirection, 92, 25, compassPointerBitmap, 0, 0, 15, 149, 255);
Have I used the command correct? i.e. is the coordinates correct?