Rotated rectangle

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
NoeMurr
Knows some wx things
Knows some wx things
Posts: 32
Joined: Sat Mar 31, 2018 2:26 pm

Rotated rectangle

Post by NoeMurr »

I need to store a rotated rectangle. Is there a wx object that represents such type of graphic object?
User avatar
doublemax
Moderator
Moderator
Posts: 19162
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Rotated rectangle

Post by doublemax »

No. You could easily create a class with a wxRect and an additional double for the rotating angle.

Can you explain what exactly you need?
Use the source, Luke!
NoeMurr
Knows some wx things
Knows some wx things
Posts: 32
Joined: Sat Mar 31, 2018 2:26 pm

Re: Rotated rectangle

Post by NoeMurr »

Thank you, I've already wrote a class that can rotate a wxRect. I was only asking for beeing sure that there was not a standard alternative.
Post Reply