Rotation Center

3 posts, 1 answers
  1. Adolfo Marinucci
    Adolfo Marinucci avatar
    9 posts
    Member since:
    Sep 2009

    Posted 23 Jan 2013 Link to this post

    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. Answer
    Francois Vanderseypen
    Francois Vanderseypen avatar
    46 posts
    Member since:
    Oct 2009

    Posted 23 Jan 2013 Link to this post

    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.
  3. DevCraft banner
  4. Adolfo Marinucci
    Adolfo Marinucci avatar
    9 posts
    Member since:
    Sep 2009

    Posted 23 Jan 2013 Link to this post

    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
Back to Top