summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kicad/pl-render.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/kicad/pl-render.c b/kicad/pl-render.c
index 7bd697d..b1dba23 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -38,6 +38,9 @@ bool suppress_page_layout = 0;
const char *date_override = NULL;
+/* ----- Coordinate transform ---------------------------------------------- */
+
+
/*
* Eeschema works in mil
* Page layouts are in mm
@@ -56,6 +59,9 @@ static int coord(int v, int d, int o, int e)
}
+/* ----- String expansion -------------------------------------------------- */
+
+
static char *expand(const struct pl_ctx *pl, const char *s,
const struct sheet *sheets, const struct sheet *sheet)
{
@@ -150,6 +156,9 @@ static char *expand(const struct pl_ctx *pl, const char *s,
}
+/* ----- Rendering --------------------------------------------------------- */
+
+
static char *increment(char *s, int inc, const char *range)
{
char *t;