Draw a line with FXScript
Draw a line with FXScript
- Subject: Draw a line with FXScript
- From: email@hidden
- Date: Wed, 25 Jun 2008 07:05:44 +0200
Hi,
I'm new with FxScript and FxBuilder and I simply want to draw a line,
but it doesn't work.
Start and End should be defined by user's input.
Here the code:
************
scriptid "Draw_Line" //DO NOT LOCALIZE
filter "oneLine";
group "my Effects";
input p1, "1stPoint", Point, -0.25, -0.25
input p2, "2ndPoint", Point, -0.25, 0.25
code
//dest = src1
line(p1, p2, dest, kWhite, 5)
************
All I get is a 5px white point at the Center of my canvas.
What am I doing wrong?
Regards,
Georg Kiefer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden