Page 1 of 1

Can SimpleGraph do freehand function of corelDEAW software?

PostPosted: December 12th, 2007, 2:48 am
by swhzgp
Hello:
Kambiz.
Can SimpleGraph do freehand function of corelDEAW software?
Hope your help!
Thanks!

PostPosted: December 12th, 2007, 9:03 pm
by Kambiz
No, it can't. :(

I have add freehand function for SG

PostPosted: December 17th, 2007, 9:33 am
by liu8670
I have add freehand function for SG, but I hope wo can rotate the graphics, Can we?
I want to send you my program, how to do?

PostPosted: December 17th, 2007, 4:37 pm
by Kambiz
I guess there is a rotate method. I have to look at the documentation.

Please post your code right here as attachment, or if you prefer mail to kambiz@delphiarea.com.

Thank you.

PostPosted: December 18th, 2007, 8:55 am
by Kambiz
I got your demo, thank you.

It's a good idea to call NormalizeBreakPoints method of TGraphLink to remove unnecessary break points from your free hand object.

About your questions:

1.rotate the node.
There is not rotate method for nodes, but you can easily implement it using the code introduced in Rotate method of TGraphLink.

2.translate the line to node
You have to implement your own TGraphNode class to support this feature.

3. transparent the node
Set Brush.Style of the node to bsClear.