788 views
in GUI Development by
Hi,

 Is there any way to rotate Canvas? I'm trying to make widget similar to 'XFlat' Variance Controller, but want it to strat not at 0'. So i'm looking to Canvas rotating functions or may be any other ways to make it.

1 Answer

+1 vote
by

The XFlat Variance Controller is implemented to start/end at 0 - if you are looking for some indicator, that can start/end at any possion, please have a look to the class Charts::PieChart. This PieChart is able to draw a user defined bitmap as pie segment at any start/end angle.

You can either re-use this class or just the drawPie() method.

Does this answer your question? Otherwise, let us know the appearance and behavior of your widget.

by
Yes, that helped. It turned to be much easier then i thought. Thanks.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...