Re: Draw a line with FXScript
Re: Draw a line with FXScript
- Subject: Re: Draw a line with FXScript
- From: email@hidden
- Date: Wed, 25 Jun 2008 16:11:04 +0200
Thank you Andreas,
it did the job very well!!!
Andreas Kiel schrieb:
Hi,
I'm a dummy as well
Coordinates needs to be matched to the screen size.
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
point framesize
//dest = src1
DimensionsOf(dest, framesize.x, framesize.y)
p1.x *= framesize.x
p1.y *= framesize.y
p2.x *= framesize.x
p2.y *= framesize.y
line(p1, p2, dest, kWhite, 5)
may should do what you want.
Regards
Andreas
_______________________________________________
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