From b3d4da6ae409c7e9c116906e5f2a8783e6c956e3 Mon Sep 17 00:00:00 2001 From: thacuber2a03 Date: Sat, 23 Mar 2024 15:43:33 -0400 Subject: [PATCH 1/2] add `circ` page --- graphics/circ.json | 21 +++++++++++++++++++++ topics/graphics.json | 8 +++++++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 graphics/circ.json diff --git a/graphics/circ.json b/graphics/circ.json new file mode 100644 index 0000000..9feafcd --- /dev/null +++ b/graphics/circ.json @@ -0,0 +1,21 @@ +{ + "metadata" : { + "page_title" : "circ()", + "version" : "0.2", + "authors" : [ "thacuber2a03" ] + }, + "elements" : [ + { + "type" : "label", + "text" : "The circ function draws an empty circle." + }, + { + "type" : "snippet", + "text" : "--draws a red circle.\ncirc(16,16,10,8)" + }, + { + "type" : "label", + "text" : "x\n X coordinate of circle.\ny\n Y coordinate of circle.\nr\n Radius of circle.\ncol\n The color of the circle." + } + ] +} diff --git a/topics/graphics.json b/topics/graphics.json index 71f2f11..c263dd3 100644 --- a/topics/graphics.json +++ b/topics/graphics.json @@ -3,7 +3,8 @@ "page_title" : "Graphics", "version" : "0.2", "authors" : [ - "scrapSavage" + "scrapSavage", + "thacuber2a03" ] }, "elements" : [ @@ -11,6 +12,11 @@ "type" : "label", "text" : "Here are our current documents:" }, + { + "type": "wiki_ref", + "ref": "graphics/circ", + "text": "circ()" + } { "type" : "wiki_ref", "ref" : "graphics/rect", From 8300e5dff8189818c782dd009a146533182ea2ae Mon Sep 17 00:00:00 2001 From: thacuber2a03 Date: Sat, 23 Mar 2024 15:46:19 -0400 Subject: [PATCH 2/2] missed a comma --- topics/graphics.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topics/graphics.json b/topics/graphics.json index c263dd3..7aea477 100644 --- a/topics/graphics.json +++ b/topics/graphics.json @@ -16,7 +16,7 @@ "type": "wiki_ref", "ref": "graphics/circ", "text": "circ()" - } + }, { "type" : "wiki_ref", "ref" : "graphics/rect",