summaryrefslogtreecommitdiff
path: root/kicad/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/lib.h')
-rw-r--r--kicad/lib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kicad/lib.h b/kicad/lib.h
index 9056748..f146091 100644
--- a/kicad/lib.h
+++ b/kicad/lib.h
@@ -18,6 +18,7 @@
#include "file/file.h"
#include "gfx/text.h"
+#include "gfx/gfx.h"
enum pin_shape {
@@ -134,10 +135,10 @@ extern struct comp *comps;
const struct comp *lib_find(const struct lib *lib, const char *name);
bool lib_field_visible(const struct comp *comp, int n);
-void lib_render(const struct comp *comp, unsigned unit, unsigned convert,
- const int m[6]);
-void lib_render_extra(const struct comp *comp, unsigned unit, unsigned convert,
- const int m[4]);
+void lib_render(const struct comp *comp, struct gfx *gfx,
+ unsigned unit, unsigned convert, const int m[6]);
+void lib_render_extra(const struct comp *comp, struct gfx *gfx,
+ unsigned unit, unsigned convert, const int m[4]);
bool lib_parse_file(struct lib *lib, struct file *file);
bool lib_parse(struct lib *lib, const char *name, const struct file *related);