summaryrefslogtreecommitdiff
path: root/lib/debug.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2023-01-17 21:44:23 -0500
committerLex Neva <github.com@lexneva.name>2023-02-20 15:27:55 -0500
commit847e133f97d570e2967dfa7dcfc16a212dc2bbbc (patch)
treedf2fb20547bea95ad437155a1fac91290a9d07f3 /lib/debug.py
parente2965e78f03fb41c9a02c92ef120caf038b837ae (diff)
meander fill: more work
Diffstat (limited to 'lib/debug.py')
-rw-r--r--lib/debug.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/debug.py b/lib/debug.py
index 0d6af104..94d32cea 100644
--- a/lib/debug.py
+++ b/lib/debug.py
@@ -234,6 +234,15 @@ class Debug(object):
}))
@check_enabled
+ def log_point(self, point, name="point", color=None):
+ self.log_svg_element(etree.Element("circle", {
+ "cx": str(point.x),
+ "cy": str(point.y),
+ "r": "1",
+ "style": str(inkex.Style({"fill": "#000000"})),
+ }))
+
+ @check_enabled
def log_graph(self, graph, name="Graph", color=None):
d = ""