This is a migrated thread and some comments may be shown as answers.

Rotation Center

2 Answers 59 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Adolfo Marinucci
Top achievements
Rank 1
Adolfo Marinucci asked on 23 Jan 2013, 03:06 PM
Hi,
I've to say that the diagram editor is really great.
I've just a small question for the community: I need to change the rotation orgin of the shape so that is also used from the designer. At moment if I just set the RenderTransformOrigin of the shap to a custom value the adorner continues to rotate using the center of the shape:


Do you have any hint on how I can force the adorner to use a different center for the rotation?

Thanks,
Adolfo Marinucci

2 Answers, 1 is accepted

Sort by
0
Accepted
Francois Vanderseypen
Top achievements
Rank 2
answered on 23 Jan 2013, 03:29 PM
Adolfo,

the usage of the center is hardcoded in the RotationService and altering the RenderTransformOrigin will not have much effect. So, for now there is no way you can change this. 
The good news is that we'll release a new version of RadDiagram in a couple of weeks (Q1 2013, around Feb 15) and we have made it possible to plug into the core services, including the RotationService. This means that you will be able to alter where the pivot point of the rotation is. 
A visual way of altering the rotation origin is not something we plan to do, but you can always speak out through the various channels (PITS in particular).

Hope this helps, Fr.
0
Adolfo Marinucci
Top achievements
Rank 1
answered on 23 Jan 2013, 04:28 PM
Thank you very much for your prompt answer, I need just to wait a couple of weeks so no bid deal.
Understand that changing the rotation origin is not a popular request anyway I'm using the diagram control to build a vector editor application and this is a must have in my case.
I'm going to add a PITS feature request as you suggest,

thanks again,
Adolfo Marinucci
Tags
Diagram
Asked by
Adolfo Marinucci
Top achievements
Rank 1
Answers by
Francois Vanderseypen
Top achievements
Rank 2
Adolfo Marinucci
Top achievements
Rank 1
Share this question
or