summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/luatikz/example/ellipse.lua
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/luatikz/example/ellipse.lua')
-rw-r--r--graphics/pgf/contrib/luatikz/example/ellipse.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/luatikz/example/ellipse.lua b/graphics/pgf/contrib/luatikz/example/ellipse.lua
new file mode 100644
index 0000000000..c648e81320
--- /dev/null
+++ b/graphics/pgf/contrib/luatikz/example/ellipse.lua
@@ -0,0 +1,14 @@
+tikz.within( '*' )
+
+draw{
+ ellipse{
+ at = p{ 0, 0 },
+ xradius = 3,
+ yradius = 2,
+ },
+ ellipse{
+ at = p{ 2, 1 },
+ xradius = 1.5,
+ yradius = 1,
+ }
+}