Page 1 of 1
is there a way to make curves??? (sorry i'm new to cf)
Posted: Sat Sep 17, 2005 2:40 pm
by Guest
it's just that i tried to make a curve and the only thing i managed to make many lines in a row each one rotated a little more than the one before it so it made someting that looked similar to a curve. i wasnt smooth tho and there must be a simpler way (i hope! )
Posted: Sat Sep 17, 2005 3:26 pm
by momo
You can make curves yourself rotating the shape.
Code: Select all
startshape MY_CURVE
rule MY_CURVE {
SQUARE { }
MY_CURVE { s 0.99 y 1 r 1 }
}
Or you can use the i_curves.cfdg file included with contextfree.
Code: Select all
startshape START
include i_curves.cfdg
rule START {
curveright_0.9_5 { }
}
Take a look to that file if you want to see all the curves you can use. You can take a look to the context free examples too and the context free galery to see diferent ways to draw curves.