summaryrefslogtreecommitdiff
path: root/kicad/pl.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 04:03:53 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 04:04:51 -0300
commitaa7e2782b14e596e6ccb373e55bdd18eff3cf4c4 (patch)
tree6e5e61fb0f4b7de099b6728748450909bf413b98 /kicad/pl.h
parenta0f738add03ad97bf5d0bbb16ef6af614412b344 (diff)
downloadeeshow-aa7e2782b14e596e6ccb373e55bdd18eff3cf4c4.tar.gz
eeshow-aa7e2782b14e596e6ccb373e55bdd18eff3cf4c4.tar.bz2
eeshow-aa7e2782b14e596e6ccb373e55bdd18eff3cf4c4.zip
eeshow/kicad/pl.h, pl-parse.c, pl-render.c: page layout support (WIP)
We currently only do lines, no text.
Diffstat (limited to 'kicad/pl.h')
-rw-r--r--kicad/pl.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/kicad/pl.h b/kicad/pl.h
new file mode 100644
index 0000000..74c71d3
--- /dev/null
+++ b/kicad/pl.h
@@ -0,0 +1,28 @@
+/*
+ * kicad/pl.h - KiCad page layout
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#ifndef KICAD_PL_H
+#define KICAD_PL_H
+
+#include "file/file.h"
+
+
+struct pl_ctx;
+
+
+void pl_render(struct pl_ctx *pl, int w, int h);
+
+struct pl_ctx *pl_parse(struct file *file);
+void pl_free(struct pl_ctx *pl);
+
+#endif /* !KICAD_PL_H */