summaryrefslogtreecommitdiff
path: root/libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
committersanine <sanine.not@pm.me>2023-02-12 23:53:22 -0600
commitf1fe73d1909a2448a004a88362a1a532d0d4f7c3 (patch)
treeab37ae3837e2f858de2932bcee9f26e69fab3db1 /libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs
parentf567ea1e2798fd3156a416e61f083ea3e6b95719 (diff)
switch to tinyobj and nanovg from assimp and cairo
Diffstat (limited to 'libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs')
-rw-r--r--libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs b/libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs
deleted file mode 100644
index f82b102..0000000
--- a/libs/cairo-1.16.0/util/cairo-script/examples/infinichess.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-/xdef { exch def } def
-/-rot { 3 1 roll } def
-/rot { 3 -1 roll } def
-/2dup { 2 copy } def
-
-/SIZE 600. def
-<< /width SIZE /height SIZE >> surface context
-1 1 1 set-source-rgb paint
-0 0 0 set-source-rgb
-EVEN_ODD set-fill-rule
-SIZE SIZE scale
-
-0.5 0 translate
-
-save
-1 1 scale
-/n 90 def
-n neg 1 n {
- /x xdef
- 0 0 m
- x 1 l
- x 0.5 add 1 l
- 0 0 l
-} for
-restore
-fill
-
-/target get (out.png) write-to-png pop
-pop