12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #include "sys-defines.h"
- #include "extern.h"
- int
- _API_fpoint (R___(Plotter *_plotter) double x, double y)
- {
- if (!_plotter->data->open)
- {
- _plotter->error (R___(_plotter)
- "fpoint: invalid operation");
- return -1;
- }
- _API_endpath (S___(_plotter));
-
- _plotter->drawstate->pos.x = x;
- _plotter->drawstate->pos.y = y;
- if (_plotter->drawstate->pen_type == 0)
-
- return 0;
-
- _plotter->paint_point (S___(_plotter));
- return 0;
- }
- void
- _pl_g_paint_point (S___(Plotter *_plotter))
- {
- return;
- }
|