diff --git a/desktop/sources/index.html b/desktop/sources/index.html
index e9bd8ac..98dd680 100644
--- a/desktop/sources/index.html
+++ b/desktop/sources/index.html
@@ -58,6 +58,8 @@
DOTGRID.controller.add("default","Stroke","Arc Rev",() => { DOTGRID.tool.cast("arc_r")},"D"); // 0,0
DOTGRID.controller.add("default","Stroke","Bezier",() => { DOTGRID.tool.cast("bezier") },"F");
DOTGRID.controller.add("default","Stroke","Close",() => { DOTGRID.tool.cast("close") },"Z");
+ DOTGRID.controller.add("default","Stroke","Arc(full)",() => { DOTGRID.tool.cast("arc_c_full"); },"S+Shift"); // 1,1
+ DOTGRID.controller.add("default","Stroke","Arc Rev(full)",() => { DOTGRID.tool.cast("arc_r_full")},"D+Shift"); // 1,0
DOTGRID.controller.add("default","Effect","Linecap",() => { DOTGRID.tool.toggle("linecap"); },"Q");
DOTGRID.controller.add("default","Effect","Linejoin",() => { DOTGRID.tool.toggle("linejoin"); },"W");
diff --git a/desktop/sources/scripts/generator.js b/desktop/sources/scripts/generator.js
index 32711f2..fca0250 100644
--- a/desktop/sources/scripts/generator.js
+++ b/desktop/sources/scripts/generator.js
@@ -54,6 +54,12 @@ function Generator (layer, style) {
} else if (type == 'arc_r') {
let clock = mirror > 0 ? '0,1' : '0,0'
html += next ? `A${Math.abs(next.x - vertex.x)},${Math.abs(next.y - vertex.y)} 0 ${clock} ${next.x},${next.y} ` : ''
+ } else if (type == 'arc_c_full') {
+ let clock = mirror > 0 ? '1,0' : '1,1'
+ html += next ? `A${Math.abs(next.x - vertex.x)},${Math.abs(next.y - vertex.y)} 0 ${clock} ${next.x},${next.y} ` : ''
+ } else if (type == 'arc_r_full') {
+ let clock = mirror > 0 ? '1,1' : '1,0'
+ html += next ? `A${Math.abs(next.x - vertex.x)},${Math.abs(next.y - vertex.y)} 0 ${clock} ${next.x},${next.y} ` : ''
} else if (type == 'bezier') {
html += next && after_next ? `Q${next.x},${next.y} ${after_next.x},${after_next.y} ` : ''
skip = 1
diff --git a/desktop/sources/scripts/tool.js b/desktop/sources/scripts/tool.js
index ccc8459..4a68871 100644
--- a/desktop/sources/scripts/tool.js
+++ b/desktop/sources/scripts/tool.js
@@ -10,7 +10,7 @@ DOTGRID.Tool = function () {
{ thickness: 10, strokeLinecap: 'round', strokeLinejoin: 'round', color: '#00f', fill: 'none', mirror_style: 0 }
]
this.vertices = []
- this.reqs = { line: 2, arc_c: 2, arc_r: 2, bezier: 3, close: 0 }
+ this.reqs = { line: 2, arc_c: 2, arc_r: 2, arc_c_full: 2, arc_r_full: 2, bezier: 3, close: 0 }
this.start = function () {
this.styles[0].color = DOTGRID.theme.active.f_high