Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic zoom out blues (Read 2312 times)
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
zoom out blues
Jan 23rd, 2012 at 2:55pm
Print Post  
hello,

when i zoom out a diagram and drag in from another diagram, the coordinates in zoomed out target still are scaled as if the view were not zoomed out. (When zoom is 100% all is perfect, including givefeedback on cursor too)

So when i drop a node, instead of being dropped in lowest corner right, it drops somewhere proportionally to left and up as if the viewport were not zoomed at all.

I tried various transform and TransformToVisual converting, but no luck.

Is there some special update needed after zoom?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: zoom out blues
Reply #1 - Jan 23rd, 2012 at 3:15pm
Print Post  
Hi,

It should be enough to call DragEventArgs.GetPosition(diagram.DocumentPlane) to get the diagram cooridnates of the drop point.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Re: zoom out blues
Reply #2 - Jan 23rd, 2012 at 3:25pm
Print Post  
thank you!

i had a DragEventArgs.GetPosition(diagram) and that was wrong.

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