summaryrefslogtreecommitdiff
path: root/kicad/pl.h
blob: 3f1934730a2f97b1bd68524ada9883fd749d3b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * 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 "gfx/gfx.h"
#include "file/file.h"
#include "kicad/sch.h"


struct pl_ctx;


void pl_render(struct pl_ctx *pl, struct gfx *gfx,
    const struct sheet *sheets, const struct sheet *sheet);

struct pl_ctx *pl_parse(struct file *file);
void pl_free(struct pl_ctx *pl);

#endif /* !KICAD_PL_H */