Re: How to rotate an bitmap / image

Phil <[email protected]> Tue, 6 Jul 2021 15:46:28 +1000
Newsgroups gmane.comp.python.wxpython
Message-ID <[email protected]>
On 6/7/21 1:25 pm, Tim Roberts wrote:
> On 7/4/21 9:40 PM, Phil wrote:
>
>>
>> I have a jpeg image that I'd like to rotate about it's bottom centre 
>> point.
>
> I'm going to focus on this for a moment, rather than the more 
> important questions you asked.

Thank Tim for your explanation, however the pivot point is the bottom 
centre of the bitmap rather than the centre of the bitmap. For example, 
say I wanted to rotate a vertical line|

                            |

                          x

with x being the pivot point like this.   \        /

                   \    /

                 x

That might be 10 degrees either side of 90 degrees.

If it's possible I'd like the pivot point (x) to be the x, y coordinates 
where the bitmap is placed on the frame rather that it's default upper 
left hand corner.

I hope my explanation and poor graphics are understandable.

-- 

Regards,
Phil

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/792a1ece-837f-05ea-8b26-7457f1ce7adc%40gmail.com.