/dports/graphics/mupdf/mupdf-1.18.0-source/source/xps/ |
H A D | xps-gradient.c | 354 ma = fz_maxi(ma, ceilf(hypotf(area.x0 - x0, area.y0 - y0) / xrad)); in xps_draw_radial_gradient() 355 ma = fz_maxi(ma, ceilf(hypotf(area.x1 - x0, area.y0 - y0) / xrad)); in xps_draw_radial_gradient() 356 ma = fz_maxi(ma, ceilf(hypotf(area.x0 - x0, area.y1 - y0) / xrad)); in xps_draw_radial_gradient() 357 ma = fz_maxi(ma, ceilf(hypotf(area.x1 - x0, area.y1 - y0) / xrad)); in xps_draw_radial_gradient() 414 mi = fz_mini(mi, floorf(k)); ma = fz_maxi(ma, ceilf(k)); in xps_draw_linear_gradient() 416 mi = fz_mini(mi, floorf(k)); ma = fz_maxi(ma, ceilf(k)); in xps_draw_linear_gradient() 418 mi = fz_mini(mi, floorf(k)); ma = fz_maxi(ma, ceilf(k)); in xps_draw_linear_gradient()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/source/fitz/ |
H A D | draw-blend.c | 153 return fz_maxi(b, s); in fz_lighten_byte() 223 max = fz_maxi(r, fz_maxi(g, b)); in fz_luminosity_rgb() 252 maxb = fz_maxi(rb, fz_maxi(gb, bb)); in fz_saturation_rgb() 264 maxs = fz_maxi(rs, fz_maxi(gs, bs)); in fz_saturation_rgb() 278 max = fz_maxi(r, fz_maxi(g, b)); in fz_saturation_rgb()
|
H A D | draw-unpack.c | 334 int n = fz_maxi(1, pix->n - pix->alpha); in fz_decode_tile()
|
H A D | draw-edgebuffer.c | 1587 pl = fz_maxi(ras->clip.x0, pix->x); in fz_convert_edgebuffer() 1590 …out = pix->samples + pix->stride * fz_maxi(ras->clip.y0 - pix->y, 0) + fz_maxi(ras->clip.x0 - pix-… in fz_convert_edgebuffer() 1593 for (i = fz_maxi(pix->y - ras->clip.y0, 0); i < scanlines; i++) { in fz_convert_edgebuffer()
|
H A D | path.c | 248 int new_cmd_cap = fz_maxi(16, path->cmd_cap * 2); in push_cmd() 261 int new_coord_cap = fz_maxi(32, path->coord_cap * 2); in push_coord() 278 int new_coord_cap = fz_maxi(32, path->coord_cap * 2); in push_ord()
|
H A D | draw-mesh.c | 125 minx = fz_maxi(bbox.x0, pix->x); in fz_paint_triangle()
|
H A D | load-jpx.c | 285 state->width = fz_maxi(state->width, widths[k]); in jpx_read_image() 286 state->height = fz_maxi(state->height, heights[k]); in jpx_read_image()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/platform/x11/ |
H A D | pdfapp.c | 1580 number = fz_maxi(atoi(app->number), number); in pdfapp_onkey() 1615 number = fz_maxi(atoi(app->number), number); in pdfapp_onkey() 1880 app->selr.x1 = fz_maxi(app->selx, x) - app->panx + irect.x0; in pdfapp_onmouse() 1882 app->selr.y1 = fz_maxi(app->sely, y) - app->pany + irect.y0; in pdfapp_onmouse() 1955 app->selr.x1 = fz_maxi(app->selx, x) - app->panx + irect.x0; in pdfapp_onmouse() 1957 app->selr.y1 = fz_maxi(app->sely, y) - app->pany + irect.y0; in pdfapp_onmouse()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/include/mupdf/fitz/ |
H A D | geometry.h | 99 static inline int fz_maxi(int a, int b) in fz_maxi() function
|
/dports/graphics/mupdf/mupdf-1.18.0-source/platform/gl/ |
H A D | gl-main.c | 1573 case 'b': number = fz_maxi(number, 1); while (number--) smart_move_backward(); break; in do_app() 1574 case ' ': number = fz_maxi(number, 1); while (number--) smart_move_forward(); break; in do_app() 1579 number = fz_maxi(number, 1); in do_app() 1584 number = fz_maxi(number, 1); in do_app()
|
H A D | gl-input.c | 382 …ui_scrollbar(area.x1, area.y0, area.x1+ui.lineheight, area.y1, &input->scroll, 1, fz_maxi(0, n-hei… in ui_input()
|
H A D | gl-ui.c | 912 int thumb_h = fz_maxi(x1 - x0, total_h * page_size / max); in ui_scrollbar()
|
/dports/graphics/mupdf/mupdf-1.18.0-source/source/pdf/ |
H A D | pdf-font.c | 1347 font->width_table[gid] = fz_maxi(fontdesc->hmtx[i].w, font->width_table[gid]); in pdf_make_width_table()
|
H A D | pdf-write.c | 754 max_num = fz_maxi(num, other); in removeduplicateobjs() 760 opts->use_list[fz_maxi(num, other)] = 0; in removeduplicateobjs()
|