1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #include "sys-defines.h"
- #include "extern.h"
- bool
- _pl_a_erase_page (S___(Plotter *_plotter))
- {
- int i;
-
-
- for (i = 0; i < PL_NUM_PS_FONTS; i++)
- _plotter->data->page->ps_font_used[i] = false;
-
- _plotter->ai_pen_cyan = 0.0;
- _plotter->ai_pen_magenta = 0.0;
- _plotter->ai_pen_yellow = 0.0;
- _plotter->ai_pen_black = 1.0;
- _plotter->ai_fill_cyan = 0.0;
- _plotter->ai_fill_magenta = 0.0;
- _plotter->ai_fill_yellow = 0.0;
- _plotter->ai_fill_black = 1.0;
- _plotter->ai_cyan_used = false;
- _plotter->ai_magenta_used = false;
- _plotter->ai_yellow_used = false;
- _plotter->ai_black_used = false;
- _plotter->ai_cap_style = AI_LINE_CAP_BUTT;
- _plotter->ai_join_style = AI_LINE_JOIN_MITER;
- _plotter->ai_miter_limit = 4.0;
- _plotter->ai_line_type = PL_L_SOLID;
- _plotter->ai_line_width = 1.0;
- _plotter->ai_fill_rule_type = 0;
- return true;
- }
|