321 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

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...