diff options
author | an2qzavok <an2qzavok@gmail.com> | 2022-10-22 16:23:51 +0000 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2022-10-22 16:23:51 +0000 |
commit | 585365f5bbffae93eac3f1a4ba476aa0cab3f95d (patch) | |
tree | 8d268b5edb458d654283dd03158919119fc7072a /sys/src/cmd/plot/libplot/mplot.h | |
parent | dfee08d50df674cd76f74320bc9c8bc6a4a95f1e (diff) |
plot: fix disc and circle operations
Discs and circles were drawn on screen directly and later erased by
offscreen buffer.
This change puts them in line with other operations, which draw to
offscreen first and to screen when necessary
Diffstat (limited to 'sys/src/cmd/plot/libplot/mplot.h')
-rw-r--r-- | sys/src/cmd/plot/libplot/mplot.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/plot/libplot/mplot.h b/sys/src/cmd/plot/libplot/mplot.h index 6137a62c4..bf8df253b 100644 --- a/sys/src/cmd/plot/libplot/mplot.h +++ b/sys/src/cmd/plot/libplot/mplot.h @@ -36,6 +36,8 @@ int mapminx, mapminy, mapmaxx, mapmaxy; /* centered square */ */ #include "../plot.h" void m_clrwin(int, int, int, int, int); +void m_circ(Point, int, int); +void m_disc(Point, int, int); void m_finish(void); void m_initialize(char *); int m_text(int, int, char *, char *, int, int, int); |