summaryrefslogtreecommitdiff
path: root/kicad/pl.h
diff options
context:
space:
mode:
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 */