Can SimpleGraph do freehand function of corelDEAW software?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Can SimpleGraph do freehand function of corelDEAW software?

Postby swhzgp » December 12th, 2007, 2:48 am

Hello:
Kambiz.
Can SimpleGraph do freehand function of corelDEAW software?
Hope your help!
Thanks!
swhzgp
Member
Member
 
Posts: 1
Joined: December 12th, 2007, 2:38 am

Postby Kambiz » December 12th, 2007, 9:03 pm

No, it can't. :(
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

I have add freehand function for SG

Postby liu8670 » December 17th, 2007, 9:33 am

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?
liu8670
Member
Member
 
Posts: 3
Joined: December 7th, 2007, 12:36 am

Postby Kambiz » December 17th, 2007, 4:37 pm

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.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » December 18th, 2007, 8:55 am

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.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest