Lines Matching defs:env

179   void special(char *arg, const environment *env, char type);
181 void draw(int code, int *p, int np, const environment *env);
192 void draw(int code, int *p, int np, const environment *env);
343 void dvi_printer::set_char(int idx, font *f, const environment *env,
346 if (*env->col != cur_color)
347 set_color(env->col);
349 if (env->size != cur_point_size || f != cur_font) {
351 cur_point_size = env->size;
368 int distance = env->hpos - cur_h;
369 if (env->hpos != end_h && distance != 0) {
371 cur_h = env->hpos;
375 cur_h = env->hpos - max_drift;
379 cur_h = env->hpos + max_drift;
381 if (env->vpos != cur_v) {
382 out_signed(down1, env->vpos - cur_v);
383 cur_v = env->vpos;
386 end_h = env->hpos + w;
555 void dvi_printer::special(char *arg, const environment *env, char type)
559 moveto(env->hpos, env->vpos);
580 void dvi_printer::draw(int code, int *p, int np, const environment *env)
587 thickness = env->size*RES_7227*linewidth/1000;
598 x = env->hpos - thickness/2;
599 y = env->vpos + p[1] + thickness/2;
604 x = env->hpos - thickness/2;
605 y = env->vpos + thickness/2;
612 x = env->hpos - thickness/2;
613 y = env->vpos + thickness/2;
618 x = env->hpos - p[0] - thickness/2;
619 y = env->vpos + thickness/2;
649 int oh = env->hpos;
650 int ov = env->vpos;
674 void draw_dvi_printer::set_line_thickness(const environment *env)
679 ? env->size*RES_7227*linewidth/1000
689 void draw_dvi_printer::fill_next(const environment *env)
692 if (env->fill->is_default())
696 env->fill->get_gray(&g);
703 void draw_dvi_printer::draw(int code, int *p, int np, const environment *env)
718 moveto(env->hpos+p[0]/2, env->vpos);
720 fill_next(env);
722 set_line_thickness(env);
737 moveto(env->hpos, env->vpos);
738 set_line_thickness(env);
752 moveto(env->hpos+p[0]/2, env->vpos);
754 fill_next(env);
774 moveto(env->hpos, env->vpos);
776 fill_next(env);
778 set_line_thickness(env);
801 moveto(env->hpos, env->vpos);
802 set_line_thickness(env);
820 set_line_thickness(env);
824 moveto(env->hpos + int(c[0]), env->vpos + int(c[1]));
833 moveto(env->hpos, env->vpos);
871 int oh = env->hpos;
872 int ov = env->vpos;