Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Strange behavior when resizing a rotated box (Read 2976 times)
MagnusSpeychal
Junior Member
**
Offline



Posts: 53
Joined: Jun 18th, 2007
Strange behavior when resizing a rotated box
Aug 31st, 2007 at 1:31pm
Print Post  
Hi

When a box have been rotated to an angle greater than 0 it behaves strange when resized.
Any ideas why this happens and how to prevent this?


Best regards,
Magnus
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Strange behavior when resizing a rotated box
Reply #1 - Aug 31st, 2007 at 4:29pm
Print Post  
Hi,

I've tried resizing rotated boxes in the Rotation page of the FCDemo and can't see anything strange. What do you find wrong with that?

Stoyan
  
Back to top
 
IP Logged
 
MagnusSpeychal
Junior Member
**
Offline



Posts: 53
Joined: Jun 18th, 2007
Re: Strange behavior when resizing a rotated box
Reply #2 - Sep 3rd, 2007 at 4:32am
Print Post  
Hi Stoyan

Thanks for your answer. I have also tried the Rotation page of the FCDemo and when I resize e.g. the green car up to the right, quite rapidly everything works well. However, If I try to adjust the size slowly, the car glides over to the left lane. Adjusting the size by decreasing and increasing it slowly will result in the car moving more and more to the bottom of the page. This is even more apparent when the page is zoomed in. In my application the user often works with the page zoomed in so that is why this is kind of a problem.


Best regards,
Magnus
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Strange behavior when resizing a rotated box
Reply #3 - Sep 3rd, 2007 at 4:52am
Print Post  
Hi Magnus,

This likely happens because FlowChartX stores the node coordinates in integer fields, and some precision is lost when applying the rotation transformation. We'll see if we can use float coordinates at least while the modification is being carried out.

Stoyan
  
Back to top
 
IP Logged
 
MagnusSpeychal
Junior Member
**
Offline



Posts: 53
Joined: Jun 18th, 2007
Re: Strange behavior when resizing a rotated box
Reply #4 - Sep 3rd, 2007 at 5:13am
Print Post  
Hi Stoyan

Thank you for looking into this matter. I realize that using float coordinates might be a bit tricky but I am glad you are investigating.


Best regards,
Magnus
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint