SimpleGraph: What happens with the zoom?
Select messages from
# through # FAQ
[/[Print]\]

DELPHI AREA -> DELPHI AREA's Products

#1: SimpleGraph: What happens with the zoom? Author: eliasLocation: Galicia, Spain PostPosted: 08/11/05 12:29
    —
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?

#2:  Author: lbcLocation: Italy PostPosted: 08/11/05 15:43
    —
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

#3:  Author: eliasLocation: Galicia, Spain PostPosted: 08/11/05 18:44
    —
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

#4:  Author: lbcLocation: Italy PostPosted: 08/11/05 21:46
    —
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

#5:  Author: eliasLocation: Galicia, Spain PostPosted: 09/11/05 18:27
    —
Seems a good idea to start...
No time today; I will try tomorrow if Ican.

#6:  Author: KambizLocation: Tehran, Iran PostPosted: 10/11/05 14:39
    —
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

#7:  Author: eliasLocation: Galicia, Spain PostPosted: 10/11/05 19:29
    —
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 ¿¿??

#8:  Author: KambizLocation: Tehran, Iran PostPosted: 10/11/05 22:43
    —
I've uploaded the files once again.

I hope this time you can get the new release.

#9:  Author: eliasLocation: Galicia, Spain PostPosted: 11/11/05 11:08
    —
ahh! this goes right Smile
Thanks for helping...



DELPHI AREA -> DELPHI AREA's Products


output generated using printer-friendly topic mod. All times are GMT

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group