diff options
| author | foswret <foswret@posteo.com> | 2025-12-11 20:22:55 -0600 |
|---|---|---|
| committer | foswret <foswret@posteo.com> | 2025-12-11 20:22:55 -0600 |
| commit | de77826633fc128b915e999a9adf10f088b4d3f3 (patch) | |
| tree | 65cbe77d7c04cc7fc3bb84a64e6b80889675a0d8 /draw.h | |
| parent | 0ea73247a8ba4036567a9dc28b6133d4b58507b3 (diff) | |
added src/, updated README.md
Diffstat (limited to 'draw.h')
| -rw-r--r-- | draw.h | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -1,24 +0,0 @@ -struct dimensions { - double pw; /* paper width */ - double ph; /* paper height */ - double mw; /* month width */ - double mh; /* month height */ - double bw; /* day box width */ - double bh; /* day box height */ - double r; /* rows */ - double c; /* columns */ - double m; /* margin */ -}; - - - -int draw_calendar(cairo_t *c, double x, double y, struct dimensions d); - - - - -int draw_numbers(cairo_t *c, double x, double y, struct dimensions d, int wd, int nd); - - - -int draw_month_name(cairo_t *c, char *name, struct dimensions d); |
