Home
last modified time | relevance | path

Searched refs:pwidth (Results 1 – 14 of 14) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgdevxxf.c297 gs_point * pwidth, gs_int_rect * pbbox) in x_char_metrics() argument
322 pwidth->x = width, pwidth->y = 0; break; in x_char_metrics()
324 pwidth->x = 0, pwidth->y = -xxf->My * width; break; in x_char_metrics()
326 pwidth->x = -width, pwidth->y = 0; break; in x_char_metrics()
328 pwidth->x = 0, pwidth->y = xxf->My * width; break; in x_char_metrics()
H A Dgstext.c517 gs_text_total_width(const gs_text_enum_t *pte, gs_point *pwidth) in gs_text_total_width() argument
519 *pwidth = pte->returned.total_width; in gs_text_total_width()
526 gs_point *pwidth) in gs_text_replaced_width() argument
536 pwidth->x = x_widths[index]; in gs_text_replaced_width()
537 pwidth->y = x_widths[index + 1]; in gs_text_replaced_width()
540 pwidth->x = pwidth->y = 0; in gs_text_replaced_width()
542 pwidth->x = (x_widths ? x_widths[index] : 0.0); in gs_text_replaced_width()
543 pwidth->y = (y_widths ? y_widths[index] : 0.0); in gs_text_replaced_width()
557 gs_text_current_width(const gs_text_enum_t * pte, gs_point *pwidth) in gs_text_current_width() argument
559 return pte->procs->current_width(pte, pwidth); in gs_text_current_width()
H A Dgstext.h132 gs_point *pwidth);
286 int gs_text_total_width(const gs_text_enum_t *pte, gs_point *pwidth);
298 int gs_text_current_width(const gs_text_enum_t *pte, gs_point *pwidth);
H A Dgdevmsxf.c288 gs_point * pwidth, gs_int_rect * pbbox) in win_char_metrics() argument
308 pwidth->x = sz.cx; in win_char_metrics()
315 pwidth->x = LOWORD(extent); in win_char_metrics()
319 pwidth->y = 0; in win_char_metrics()
321 pbbox->q.x = (int)pwidth->x; in win_char_metrics()
H A Dicharout.h54 const double pwidth[2], const gs_rect * pbbox,
H A Dzcharout.c165 const double pwidth[2], const gs_rect * pbbox, in zchar_set_cache()
178 w2[0] = pwidth[0], w2[1] = pwidth[1]; in zchar_set_cache()
H A Dgdevupd.c693 int pwidth; /* Printing-Width */ member
1340 errprintf( "upd->pwidth = %5d\n",upd->pwidth); in upd_open()
3595 int pwidth = upd->rwidth; in upd_fscomp() local
3621 rowerr += upd->ncomp * (pwidth-1); in upd_fscomp()
3622 bit = 0x80 >> ((pwidth-1) & 7); in upd_fscomp()
3623 ibyte = (pwidth-1) >> 3; in upd_fscomp()
3628 while((0 < pwidth) && !upd_pxlget(upd)) pwidth--; in upd_fscomp()
3637 rowerr += upd->ncomp * (pwidth-1); in upd_fscomp()
3638 bit = 0x80 >> ((pwidth-1) & 7); in upd_fscomp()
3639 ibyte = (pwidth-1) >> 3; in upd_fscomp()
[all …]
H A Dgdevmacxf.c246 gs_point *pwidth, gs_int_rect *pbbox) in mac_char_metrics() argument
258 pwidth->x = pbbox->q.x; in mac_char_metrics()
259 pwidth->y = 0.0; in mac_char_metrics()
H A Dgxxfont.h122 gs_point *pwidth, gs_int_rect *pbbox)
H A Dgdevpdtt.c79 pdf_text_current_width(const gs_text_enum_t *pte, gs_point *pwidth) in pdf_text_current_width() argument
84 return gs_text_current_width(penum->pte_default, pwidth); in pdf_text_current_width()
1801 store_glyph_width(pdf_glyph_width_t *pwidth, int wmode, double scale, in store_glyph_width() argument
1806 pwidth->xy.x = pinfo->width[wmode].x * scale; in store_glyph_width()
1807 pwidth->xy.y = pinfo->width[wmode].y * scale; in store_glyph_width()
1809 w = pwidth->xy.y, v = pwidth->xy.x; in store_glyph_width()
1811 w = pwidth->xy.x, v = pwidth->xy.y; in store_glyph_width()
1814 pwidth->w = w; in store_glyph_width()
1815 pwidth->v.x = pinfo->v.x * scale; in store_glyph_width()
1816 pwidth->v.y = pinfo->v.y * scale; in store_glyph_width()
H A Dgxtext.h274 int proc(const gs_text_enum_t *pte, gs_point *pwidth)
H A Dzchar.c700 op_show_return_width(i_ctx_t *i_ctx_p, uint npop, double *pwidth) in op_show_return_width() argument
704 int code = gs_text_setcharwidth(esenum(ep), pwidth); in op_show_return_width()
H A Dgdevpnga.c888 pnga_text_current_width(const gs_text_enum_t *pte, gs_point *pwidth) in pnga_text_current_width() argument
893 return gs_text_current_width(penum->target_enum, pwidth); in pnga_text_current_width()
H A Dgxchar.c1337 gx_show_text_current_width(const gs_text_enum_t *pte, gs_point *pwidth) in gx_show_text_current_width() argument
1343 fixed2float(penum->wxy.y), pwidth); in gx_show_text_current_width()