DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SimpleGraph: What happens with the zoom?

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
elias
Junior Member


Joined: 08 Nov 2005
Posts: 89
Location: Galicia, Spain

PostPosted: 08/11/05 12:29    Post subject: SimpleGraph: What happens with the zoom? Reply with quote

I'm making an application to simulate Neuronal Circuits based in SimpleGrahp; I've found with this problem:
1)I put two Rectangles-Nodes with size 40X40, one of them in (24,24) an the other one in (7448,112)
2)I join them with a link
3)I make a 800% zoom at the first rectangle

4)I try to follow the link to the second rectangle using the scrollbars
It's impossible... ¿Anyone knows what's the problem?
Back to top
View user's profile Send private message
lbc
Member


Joined: 04 Feb 2004
Posts: 48
Location: Italy

PostPosted: 08/11/05 15:43    Post subject: Reply with quote

Hello
I have tried to reproduce your situation using the SG demo but it seems to me ( even if a little bit difficult to set the second rectangle to (7448,112) Very Happy )
i can follow the whole link by means of the scrollbar

Have you checked to use the last SG version (1.61)?

hope it helps
Back to top
View user's profile Send private message
elias
Junior Member


Joined: 08 Nov 2005
Posts: 89
Location: Galicia, Spain

PostPosted: 08/11/05 18:44    Post subject: Reply with quote

So sorry!! the coordenates and sizes are not important; case is that i cannot have two nodes very far one from another; maybe the problem is that i have no memory to run a large canvas ¿? I dont know.
Yes, I have prooved the version you said, not compilating the source but running the downloadable .exe file
Back to top
View user's profile Send private message
lbc
Member


Joined: 04 Feb 2004
Posts: 48
Location: Italy

PostPosted: 08/11/05 21:46    Post subject: Reply with quote

Hello Elias
no problem Smile unofortunately as i said i am not able to reproduce your situation in my system

anyway maybe have you tried to increment, say, "gradually" the zoom?

i mean start creatin the 2 nodes close each other at 100% zoom, then move the 2nd one a little to the right and then increment the zoom say of 25 or 50%, just to see at what value the problem starts taking place

hope that helps
Back to top
View user's profile Send private message
elias
Junior Member


Joined: 08 Nov 2005
Posts: 89
Location: Galicia, Spain

PostPosted: 09/11/05 18:27    Post subject: Reply with quote

Seems a good idea to start...
No time today; I will try tomorrow if Ican.
Back to top
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 10/11/05 14:39    Post subject: Reply with quote

Hi,

The problem is resolved in v1.65 of the control.

In the older versions, the control was using the entire graph bounds to create the off-screen canvas. As the result, when the required canvas was bigger than system resources, there was no screen rendering.

In the new version, the control creates a memory canvas just as big as the client rectangle of the control. So, there is no memory limit graph bounds, and also the paint handler gets less process.

Cheers

_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elias
Junior Member


Joined: 08 Nov 2005
Posts: 89
Location: Galicia, Spain

PostPosted: 10/11/05 19:29    Post subject: Reply with quote

Thanks Kambiz;
I'm think the link is wrong, (or maybe anything is bad with my computer)...
When I Push in SimpleGraph to download the new version, the bug is yet there; I think this version I downloaded is really 1.61 (in the code appears "TSimpleGraph v1.61" and I don´t find the GraphConstraints property you said anywhere ¿¿??
Back to top
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 10/11/05 22:43    Post subject: Reply with quote

I've uploaded the files once again.

I hope this time you can get the new release.

_________________
Kambiz
Back to top
View user's profile Send private message Send e-mail Visit poster's website
elias
Junior Member


Joined: 08 Nov 2005
Posts: 89
Location: Galicia, Spain

PostPosted: 11/11/05 11:08    Post subject: Reply with quote

ahh! this goes right Smile
Thanks for helping...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group