1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #include "sys-defines.h"
- #include "extern.h"
- bool
- _pl_s_erase_page (S___(Plotter *_plotter))
- {
- int i;
-
- for (i = 0; i < PL_NUM_PS_FONTS; i++)
- _plotter->data->page->ps_font_used[i] = false;
- for (i = 0; i < PL_NUM_PCL_FONTS; i++)
- _plotter->data->page->pcl_font_used[i] = false;
-
- _plotter->s_matrix[0] = 1.0;
- _plotter->s_matrix[1] = 0.0;
- _plotter->s_matrix[2] = 0.0;
- _plotter->s_matrix[3] = 1.0;
- _plotter->s_matrix[4] = 0.0;
- _plotter->s_matrix[5] = 0.0;
- _plotter->s_matrix_is_unknown = true;
- _plotter->s_matrix_is_bogus = false;
-
- _plotter->s_bgcolor = _plotter->drawstate->bgcolor;
- _plotter->s_bgcolor_suppressed = _plotter->drawstate->bgcolor_suppressed;
- return true;
- }
|