Help!! Rotate coordinate and Rotate image

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Albert
Knows some wx things
Knows some wx things
Posts: 25
Joined: Sun Sep 16, 2012 8:54 am

Help!! Rotate coordinate and Rotate image

Post by Albert » Fri Oct 05, 2012 3:23 am

Hello,All.Now I encounter such a tough problem.I want to constantly draw a bitmap by a certain angle.If I choose to transfer the bitmap to image and rotate the image,that must be a hard work.So I consider to rotate the coordinate.But how can I rotate the coordinate by any angle.It seems that it is possible.How can I solve this tough project.It makes me crazy.Help!!
Anyone who has a good idea? I will appreciate that.Thanks

User avatar
bishop.gis
Earned a small fee
Earned a small fee
Posts: 20
Joined: Fri May 25, 2012 6:47 pm

Re: Help!! Rotate coordinate and Rotate image

Post by bishop.gis » Fri Oct 05, 2012 6:36 am

Look at wxGraphicsContext and it method SetTransform

Albert
Knows some wx things
Knows some wx things
Posts: 25
Joined: Sun Sep 16, 2012 8:54 am

Re: Help!! Rotate coordinate and Rotate image

Post by Albert » Sat Oct 06, 2012 6:52 am

Thanks bishop.gis .I will get a try.

Post Reply