Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom made shapes aligned to the grid (Read 2590 times)
MagnusSpeychal
Junior Member
**
Offline



Posts: 53
Joined: Jun 18th, 2007
Custom made shapes aligned to the grid
Jun 20th, 2007 at 6:34am
Print Post  
Hi,

I have created several shaps using ShapeTemplates. When using these shapes (created programmatically) they get offset to the grid making attached arrows look funny.
Is there any way to allign shapes to the grid?


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom made shapes aligned to the grid
Reply #1 - Jun 20th, 2007 at 7:29am
Print Post  
Hi,

The apex points in the shape outline must lie at 0 or 100 coordinates to make them aligned to the grid. Or you could define anchor points where the arrows should connect, such that their coordinates coincide with the ones from the shape definition.

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



Posts: 53
Joined: Jun 18th, 2007
Re: Custom made shapes aligned to the grid
Reply #2 - Jun 20th, 2007 at 7:36am
Print Post  
For one particular shape I have defined achor points at (0,50) and (100,50). When rotating this shape 90 degrees these anchor points does not allign to the grid. ???


/Magnus
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom made shapes aligned to the grid
Reply #3 - Jun 20th, 2007 at 7:41am
Print Post  
It depends on the center of the box being aligned to the grid as well, whether the points will be aligned when the box is rotated. To have the box center aligned, you might handle the BoxModified event and make sure the box size is an even times the grid size.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint