summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/luatikz/example/curvea.lua
blob: b1d6b85506b26903b5e35ccf6d962ea453b0c29c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tikz.within( '*' )

local c =
	curve{
		points =
		{
			p{ 0, 0 },
			p{ 2, 2 },
			p{ 4, 0 },
		},
	}

draw{ line_width=1, c }
c.drawHelpers( 'p' )