summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua')
-rw-r--r--Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua b/Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua
new file mode 100644
index 00000000000..55f7766ec06
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/luatikz/example/bezier2.lua
@@ -0,0 +1,11 @@
+tikz.within( '*' )
+
+local bz =
+ bezier2{
+ p1 = p{ 0, 0 },
+ pc = p{ 2, 2 },
+ p2 = p{ 4, 0 },
+ }
+
+draw{ line_width=1, bz }
+bz.drawHelpers( 'p' )