h 34 src/bin/imlib2_bumpmap.c int w, h, x, y; h 81 src/bin/imlib2_bumpmap.c h = imlib_image_get_height(); h 83 src/bin/imlib2_bumpmap.c XResizeWindow(disp, win, w, h); h 25 src/bin/imlib2_colorspace.c int w, h, tw, th; h 70 src/bin/imlib2_colorspace.c h = imlib_image_get_height(); h 72 src/bin/imlib2_colorspace.c imlib_image_fill_rectangle(0, 0, w, h); h 74 src/bin/imlib2_colorspace.c XResizeWindow(disp, win, w, h); h 108 src/bin/imlib2_colorspace.c imlib_image_fill_rectangle(0, 0, w, h); h 41 src/bin/imlib2_grab.c unsigned int w, h, bw, depth; h 125 src/bin/imlib2_grab.c XGetGeometry(disp, draw, &rr, &x, &y, &w, &h, &bw, &depth); h 129 src/bin/imlib2_grab.c ho = h; h 133 src/bin/imlib2_grab.c draw, x, y, w, h, bw, depth); h 134 src/bin/imlib2_grab.c if ((wo != w) || (ho != h)) h 138 src/bin/imlib2_grab.c if ((wo != w) || (ho != h)) h 139 src/bin/imlib2_grab.c im = imlib_create_scaled_image_from_drawable(None, 0, 0, w, h, wo, ho, 1, h 142 src/bin/imlib2_grab.c im = imlib_create_image_from_drawable((get_alpha) ? 1 : 0, 0, 0, w, h, 1); h 25 src/bin/imlib2_poly.c int w, h; h 67 src/bin/imlib2_poly.c h = imlib_image_get_height(); h 69 src/bin/imlib2_poly.c imlib_image_fill_rectangle(0, 0, w, h); h 71 src/bin/imlib2_poly.c XResizeWindow(disp, win, w, h); h 127 src/bin/imlib2_poly.c imlib_image_fill_rectangle(0, 0, w, h); h 69 src/bin/imlib2_show.c int h = 20; h 208 src/bin/imlib2_show.c h = atoi(argv[i]); h 309 src/bin/imlib2_show.c h = imlib_image_get_height(); h 310 src/bin/imlib2_show.c printf("image %i x %i\n", w, h); h 318 src/bin/imlib2_show.c XResizeWindow(disp, win, w * 4, h * 4); h 320 src/bin/imlib2_show.c XResizeWindow(disp, win, w * 2, h * 2); h 322 src/bin/imlib2_show.c XResizeWindow(disp, win, w, h); h 378 src/bin/imlib2_show.c int w, h; h 388 src/bin/imlib2_show.c h = imlib_image_get_height(); h 389 src/bin/imlib2_show.c XResizeWindow(disp, win, w, h); h 391 src/bin/imlib2_show.c im = imlib_create_image(w, h); h 396 src/bin/imlib2_show.c points[i][1] = (rand() % h) - (h / 2); h 402 src/bin/imlib2_show.c imlib_blend_image_onto_image(im_bg, 0, 0, 0, w, h, 0, 0, w, h); h 411 src/bin/imlib2_show.c yy = (h / 2) + h 441 src/bin/imlib2_show.c im_tmp = imlib_create_cropped_scaled_image(0, 0, w, h, h 444 src/bin/imlib2_show.c i) * h) / h 458 src/bin/imlib2_show.c im_tmp = imlib_create_cropped_scaled_image(0, 0, w, h, h 461 src/bin/imlib2_show.c i) * h) / h 470 src/bin/imlib2_show.c pixels += (w + i) * (((w + i) * h) / w); h 486 src/bin/imlib2_show.c imlib_create_cropped_scaled_image(0, 0, w, h, w, h 487 src/bin/imlib2_show.c (((i) * h) / h 502 src/bin/imlib2_show.c imlib_create_cropped_scaled_image(0, 0, w, h, w, h 503 src/bin/imlib2_show.c (((i) * h) / h 513 src/bin/imlib2_show.c pixels += (2 * w - i) * (((i) * h) / w); h 519 src/bin/imlib2_show.c 2 * w - i, h); h 525 src/bin/imlib2_show.c imlib_create_cropped_scaled_image(0, 0, w, h, h 526 src/bin/imlib2_show.c 2 * w - i, h); h 534 src/bin/imlib2_show.c pixels += (2 * w - i) * h; h 544 src/bin/imlib2_show.c (((i) * h) / h 551 src/bin/imlib2_show.c imlib_create_cropped_scaled_image(0, 0, w, h, h 553 src/bin/imlib2_show.c (((i) * h) / h 562 src/bin/imlib2_show.c pixels += w * (((i) * h) / w); h 575 src/bin/imlib2_show.c i) * h) / w)); h 580 src/bin/imlib2_show.c im_tmp = imlib_create_cropped_scaled_image(0, 0, w, h, h 583 src/bin/imlib2_show.c i) * h) / h 592 src/bin/imlib2_show.c pixels += (w + i) * (((w + i) * h) / w); h 625 src/bin/imlib2_show.c im2 = imlib_create_image(w, h); h 628 src/bin/imlib2_show.c h = imlib_image_get_height(); h 633 src/bin/imlib2_show.c imlib_blend_image_onto_image(im, 0, 0, 0, w, h, 0, 0, w, h); h 634 src/bin/imlib2_show.c pixels += (w * h); h 639 src/bin/imlib2_show.c int w, h; h 646 src/bin/imlib2_show.c h = imlib_image_get_height(); h 647 src/bin/imlib2_show.c printf("rotating inside %dx%d frame\n", w, h); h 650 src/bin/imlib2_show.c imlib_context_set_image(imlib_create_image(w, h)); h 653 src/bin/imlib2_show.c imlib_blend_image_onto_image(im, 0, 0, 0, w, h, 0, 0, w, h); h 655 src/bin/imlib2_show.c imlib_blend_image_onto_image_at_angle(im, 0, 0, 0, w, h, h 656 src/bin/imlib2_show.c 0, h * i, h 657 src/bin/imlib2_show.c w * (1 - i), -(h * i)); h 660 src/bin/imlib2_show.c pixels += w * h; h 664 src/bin/imlib2_show.c imlib_blend_image_onto_image(im, 0, 0, 0, w, h, 0, 0, w, h); h 667 src/bin/imlib2_show.c imlib_blend_image_onto_image_at_angle(im, 0, 0, 0, w, h, h 668 src/bin/imlib2_show.c w * i, h, h 669 src/bin/imlib2_show.c -(w * i), h * (i - 1)); h 673 src/bin/imlib2_show.c pixels += w * h; h 677 src/bin/imlib2_show.c imlib_blend_image_onto_image(im, 0, 0, 0, w, h, 0, 0, w, h); h 680 src/bin/imlib2_show.c imlib_blend_image_onto_image_at_angle(im, 0, 0, 0, w, h, h 681 src/bin/imlib2_show.c w, h * (1 - i), h 682 src/bin/imlib2_show.c w * (i - 1), h * i); h 686 src/bin/imlib2_show.c pixels += w * h; h 690 src/bin/imlib2_show.c imlib_blend_image_onto_image(im, 0, 0, 0, w, h, 0, 0, w, h); h 693 src/bin/imlib2_show.c imlib_blend_image_onto_image_at_angle(im, 0, 0, 0, w, h, h 695 src/bin/imlib2_show.c w * i, h * (1 - i)); h 699 src/bin/imlib2_show.c pixels += w * h; h 778 src/bin/imlib2_show.c imlib_render_image_on_drawable_at_size(0, 0, w, h); h 782 src/bin/imlib2_show.c imlib_render_image_on_drawable_at_size(0, 0, w, h); h 783 src/bin/imlib2_show.c pixels += w * h; h 940 src/bin/imlib2_show.c h = imlib_image_get_height(); h 942 src/bin/imlib2_show.c ho = h; h 944 src/bin/imlib2_show.c h *= 1; h 945 src/bin/imlib2_show.c XResizeWindow(disp, win, w, h); h 947 src/bin/imlib2_show.c im = imlib_create_image(w, h); h 950 src/bin/imlib2_show.c up = imlib_update_append_rect(up, 0, 0, w, h); h 1021 src/bin/imlib2_show.c 0, 0, w, h, 0, 0, w, h); h 1027 src/bin/imlib2_show.c int x1, y1, x2, y2, w, h; h 1030 src/bin/imlib2_show.c h = imlib_image_get_height(); h 1031 src/bin/imlib2_show.c s = sin(6.2831853 * (double)y / (double)h); h 1032 src/bin/imlib2_show.c c = cos(6.2831853 * (double)y / (double)h); h 1034 src/bin/imlib2_show.c x1 = (w - w * c + h * s) / 2; h 1035 src/bin/imlib2_show.c y1 = (h - h * c - w * s) / 2; h 1036 src/bin/imlib2_show.c x2 = (w + w * c - h * s) / 2; h 1037 src/bin/imlib2_show.c y2 = (h + h * c + w * s) / 2; h 1209 src/bin/imlib2_show.c if (ty > h) h 1332 src/bin/imlib2_show.c h - 50); h 1333 src/bin/imlib2_show.c up = imlib_update_append_rect(up, 0, 50, 50, h - 50); h 1334 src/bin/imlib2_show.c up = imlib_updates_merge_for_rendering(up, w, h); h 1379 src/bin/imlib2_show.c imlib_render_image_on_drawable_at_size(0, 0, w, h); h 1380 src/bin/imlib2_show.c pixels += w * h; h 88 src/bin/imlib2_test.c int w, h, text_w, text_h; h 118 src/bin/imlib2_test.c h = imlib_image_get_height(); h 124 src/bin/imlib2_test.c mouse_y - (h / 2), w, h); h 145 src/bin/imlib2_test.c mouse_y - (h / 2), w, h); h 196 src/bin/imlib2_test.c h = imlib_image_get_height(); h 204 src/bin/imlib2_test.c 0, 0, w, h, h 216 src/bin/imlib2_test.c h = imlib_image_get_height(); h 221 src/bin/imlib2_test.c 0, 0, w, h, h 223 src/bin/imlib2_test.c mouse_y - (h / 2) - up_y, w, h); h 159 src/lib/Imlib2.h EAPI void imlib_context_set_cliprect(int x, int y, int w, int h); h 189 src/lib/Imlib2.h EAPI void imlib_context_get_cliprect(int *x, int *y, int *w, int *h); h 300 src/lib/Imlib2.h int w, int h); h 301 src/lib/Imlib2.h EAPI Imlib_Updates imlib_updates_merge(Imlib_Updates updates, int w, int h); h 303 src/lib/Imlib2.h int w, int h); h 203 src/lib/api.c context->cliprect.h = 0; h 297 src/lib/api.c imlib_context_set_cliprect(int x, int y, int w, int h) h 303 src/lib/api.c ctx->cliprect.h = h; h 307 src/lib/api.c imlib_context_get_cliprect(int *x, int *y, int *w, int *h) h 313 src/lib/api.c *h = ctx->cliprect.h; h 1370 src/lib/api.c return im->h; h 1740 src/lib/api.c mask_return, 0, 0, im->w, im->h, im->w, h 1741 src/lib/api.c im->h, 0, ctx->dither, ctx->dither_mask, h 1778 src/lib/api.c mask_return, 0, 0, im->w, im->h, width, h 1819 src/lib/api.c im->h, x, y, im->w, im->h, 0, ctx->dither, ctx->blend, h 1849 src/lib/api.c im->h, x, y, width, height, ctx->anti_alias, h 1963 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 2352 src/lib/api.c if ((destination_y + height) >= im->h) h 2353 src/lib/api.c height = im->h - destination_y; h 2359 src/lib/api.c im->w, im->h, ctx->display, h 2385 src/lib/api.c im = __imlib_CreateImage(im_old->w, im_old->h, NULL); h 2388 src/lib/api.c im->data = malloc(im->w * im->h * sizeof(DATA32)); h 2394 src/lib/api.c memcpy(im->data, im_old->data, im->w * im->h * sizeof(DATA32)); h 2452 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 2460 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 2511 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 2520 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 2555 src/lib/api.c imlib_update_append_rect(Imlib_Updates updates, int x, int y, int w, int h) h 2561 src/lib/api.c return (Imlib_Updates) __imlib_AddUpdate(u, x, y, w, h); h 2577 src/lib/api.c imlib_updates_merge(Imlib_Updates updates, int w, int h) h 2583 src/lib/api.c return (Imlib_Updates) __imlib_MergeUpdate(u, w, h, 0); h 2597 src/lib/api.c imlib_updates_merge_for_rendering(Imlib_Updates updates, int w, int h) h 2603 src/lib/api.c return (Imlib_Updates) __imlib_MergeUpdate(u, w, h, 3); h 2664 src/lib/api.c *height_return = u->h; h 2688 src/lib/api.c u->h = height; h 2722 src/lib/api.c ctx->colormap, ctx->depth, u->x, u->y, u->w, u->h, h 2723 src/lib/api.c x + u->x, y + u->y, u->w, u->h, 0, ctx->dither, 0, h 3155 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 3170 src/lib/api.c int w, h; h 3182 src/lib/api.c imlib_font_query_size(fn, text, &w, &h); h 3191 src/lib/api.c *height_return = h; h 3196 src/lib/api.c *width_return = h; h 3218 src/lib/api.c xt = -(sa * h); h 3223 src/lib/api.c xt = ca * w - sa * h; h 3240 src/lib/api.c yt = ca * h; h 3245 src/lib/api.c yt = sa * w + ca * h; h 3275 src/lib/api.c int w, h; h 3281 src/lib/api.c imlib_font_query_advance(fn, text, &w, &h); h 3285 src/lib/api.c *vertical_advance_return = h; h 3382 src/lib/api.c int w, h, cx, cy, cw, ch, cp, xx, yy; h 3396 src/lib/api.c imlib_get_text_size(text, &w, &h); h 3406 src/lib/api.c yy = h - y; h 3413 src/lib/api.c xx = h - y; h 3459 src/lib/api.c cy = 1 + h - cy - ch; h 3495 src/lib/api.c int cx, cy, cw, ch, w, h; h 3504 src/lib/api.c imlib_get_text_size(text, &w, &h); h 3543 src/lib/api.c cy = 1 + h - cy - ch; h 3843 src/lib/api.c __imlib_DataCmodApply(im->data, im->w, im->h, 0, &(im->flags), h 3885 src/lib/api.c if ((y + height) > im->h) h 3886 src/lib/api.c height = (im->h - y); h 3922 src/lib/api.c ctx->cliprect.h, h 3964 src/lib/api.c ctx->cliprect.h, h 4001 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 4035 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 4069 src/lib/api.c __imlib_copy_alpha_data(im, im2, 0, 0, im->w, im->h, x, y); h 4129 src/lib/api.c int xx, yy, w, h, nx, ny; h 4154 src/lib/api.c h = height - delta_y; h 4160 src/lib/api.c h = height + delta_y; h 4163 src/lib/api.c __imlib_copy_image_data(im, xx, yy, w, h, nx, ny); h 4271 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 4309 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 4334 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) h 4375 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) h 4418 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) h 4461 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) h 4678 src/lib/api.c d = hypot((double)(im_old->w + 4), (double)(im_old->h + 4)) / sqrt(2.0); h 4681 src/lib/api.c y1 = (double)(im_old->h) / 2.0 - cos(angle + atan(1.0)) * d; h 4702 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, h 4707 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); h 4712 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); h 4742 src/lib/api.c d = hypot((double)(im_old->w + 4), (double)(im_old->h + 4)) / sqrt(2.0); h 4745 src/lib/api.c y1 = (double)(im_old->h) / 2.0 - cos(angle + atan(1.0)) * d; h 4753 src/lib/api.c if ((im->w != im->h) || ((im->w < sz) && (im->h < sz))) h 4773 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, h 4778 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); h 4783 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); h 4838 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 4927 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h); h 5237 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 5267 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 5323 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 5360 src/lib/api.c ctx->cliprect.w, ctx->cliprect.h, h 5394 src/lib/api.c memset(im->data, 0, im->w * im->h * sizeof(DATA32)); h 5412 src/lib/api.c max = im->w * im->h; h 53 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 57 src/lib/blend.c while (h--) h 87 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 91 src/lib/blend.c while (h--) h 123 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 127 src/lib/blend.c while (h--) h 143 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 147 src/lib/blend.c while (h--) h 163 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 167 src/lib/blend.c while (h--) h 185 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 189 src/lib/blend.c while (h--) h 219 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 223 src/lib/blend.c while (h--) h 256 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 260 src/lib/blend.c while (h--) h 278 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 282 src/lib/blend.c while (h--) h 301 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 305 src/lib/blend.c while (h--) h 326 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 330 src/lib/blend.c while (h--) h 360 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 364 src/lib/blend.c while (h--) h 397 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 401 src/lib/blend.c while (h--) h 419 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 423 src/lib/blend.c while (h--) h 442 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 446 src/lib/blend.c while (h--) h 467 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 471 src/lib/blend.c while (h--) h 501 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 505 src/lib/blend.c while (h--) h 538 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 542 src/lib/blend.c while (h--) h 560 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 564 src/lib/blend.c while (h--) h 583 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 587 src/lib/blend.c while (h--) h 609 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 615 src/lib/blend.c while (h--) h 648 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 654 src/lib/blend.c while (h--) h 690 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 697 src/lib/blend.c while (h--) h 719 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 726 src/lib/blend.c while (h--) h 745 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 751 src/lib/blend.c while (h--) h 769 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 776 src/lib/blend.c while (h--) h 795 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 801 src/lib/blend.c while (h--) h 822 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 828 src/lib/blend.c while (h--) h 860 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 866 src/lib/blend.c while (h--) h 901 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 908 src/lib/blend.c while (h--) h 927 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 934 src/lib/blend.c while (h--) h 956 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 962 src/lib/blend.c while (h--) h 981 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 987 src/lib/blend.c while (h--) h 1007 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1014 src/lib/blend.c while (h--) h 1036 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1042 src/lib/blend.c while (h--) h 1074 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1080 src/lib/blend.c while (h--) h 1115 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1122 src/lib/blend.c while (h--) h 1141 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1148 src/lib/blend.c while (h--) h 1170 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1176 src/lib/blend.c while (h--) h 1195 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1201 src/lib/blend.c while (h--) h 1221 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1228 src/lib/blend.c while (h--) h 1250 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1256 src/lib/blend.c while (h--) h 1288 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1294 src/lib/blend.c while (h--) h 1328 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1335 src/lib/blend.c while (h--) h 1354 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1361 src/lib/blend.c while (h--) h 1383 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1389 src/lib/blend.c while (h--) h 1407 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1413 src/lib/blend.c while (h--) h 1432 src/lib/blend.c int w, int h, ImlibColorModifier * cm) h 1439 src/lib/blend.c while (h--) h 1739 src/lib/blend.c int w, int h, char blend, char merge_alpha, h 1752 src/lib/blend.c h += sy; h 1764 src/lib/blend.c h += dy; h 1768 src/lib/blend.c if ((w <= 0) || (h <= 0)) h 1772 src/lib/blend.c if ((sy + h) > src_h) h 1773 src/lib/blend.c h = src_h - sy; h 1776 src/lib/blend.c if ((dy + h) > dst_h) h 1777 src/lib/blend.c h = dst_h - dy; h 1778 src/lib/blend.c if ((w <= 0) || (h <= 0)) h 1785 src/lib/blend.c dst + (dy * dst_w) + dx, dst_w, w, h, cm); h 1836 src/lib/blend.c __imlib_BlendRGBAToData(im_src->data, im_src->w, im_src->h, h 1837 src/lib/blend.c im_dst->data, im_dst->w, im_dst->h, h 1848 src/lib/blend.c int y, h, hh; h 1871 src/lib/blend.c CLIP(sx, sy, sw, sh, 0, 0, im_src->w, im_src->h); h 1891 src/lib/blend.c CLIP(dx, dy, dw, dh, 0, 0, im_dst->w, im_dst->h); h 1936 src/lib/blend.c h = dh; h 1952 src/lib/blend.c if (h < LINESIZE) h 1953 src/lib/blend.c hh = h; h 1975 src/lib/blend.c im_dst->h, h 1978 src/lib/blend.c h -= LINESIZE; h 49 src/lib/blend.h #define INTERSECTS(x, y, w, h, xx, yy, ww, hh) \ h 53 src/lib/blend.h ((y + h) > yy)) h 403 src/lib/blend.h int w, int h, char blend, char merge_alpha, h 411 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 414 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 417 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 420 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 423 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 426 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 429 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 432 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 435 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 438 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 441 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 444 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 447 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 450 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 453 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 456 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 459 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 462 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 465 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 468 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 472 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 475 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 478 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 481 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 484 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 487 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 490 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 493 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 496 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 499 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 502 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 505 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 508 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 511 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 514 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 517 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 520 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 523 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 526 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 529 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 532 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 535 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 538 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 541 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 544 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 547 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 550 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 553 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 557 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 560 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 563 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 566 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 569 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 572 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 575 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 578 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 581 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 584 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 587 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 590 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 593 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 596 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 599 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 602 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 605 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 608 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 611 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 614 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 619 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 622 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 625 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 628 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 631 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 634 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 637 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 640 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 643 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 646 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 649 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 652 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 655 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 658 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 661 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 664 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 667 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 670 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 673 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 676 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 679 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 682 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 685 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 688 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 691 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 694 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 697 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 700 src/lib/blend.h int dw, int w, int h, ImlibColorModifier *cm); h 8 src/lib/color_helpers.c __imlib_rgb_to_hsv(int r, int g, int b, float *h, float *s, float *v) h 19 src/lib/color_helpers.c *h = 0.0; h 25 src/lib/color_helpers.c *h = (g - b) / delta; h 27 src/lib/color_helpers.c *h = 2.0 + (b - r) / delta; h 29 src/lib/color_helpers.c *h = 4.0 + (r - g) / delta; h 30 src/lib/color_helpers.c *h *= 60.0; h 31 src/lib/color_helpers.c if (*h < 0) h 32 src/lib/color_helpers.c *h += 360.0; h 36 src/lib/color_helpers.c __imlib_hsv_to_rgb(float h, float s, float v, int *r, int *g, int *b) h 50 src/lib/color_helpers.c h /= 60.0; h 51 src/lib/color_helpers.c i = floor(h); h 52 src/lib/color_helpers.c f = h - (float)i; h 156 src/lib/color_helpers.c float m1, m2, m21, h; h 168 src/lib/color_helpers.c h = hue + 120; h 169 src/lib/color_helpers.c if (h > 360) h 170 src/lib/color_helpers.c h -= 360; h 171 src/lib/color_helpers.c else if (h < 0) h 172 src/lib/color_helpers.c h += 360; h 173 src/lib/color_helpers.c if (h < 60) h 174 src/lib/color_helpers.c *r = (int)(255.0 * (m1 + m21 * h / 60.0)); h 175 src/lib/color_helpers.c else if (h < 180) h 177 src/lib/color_helpers.c else if (h < 240) h 178 src/lib/color_helpers.c *r = (int)(255.0 * (m1 + m21 * (240.0 - h) / 60.0)); h 181 src/lib/color_helpers.c h = hue; h 182 src/lib/color_helpers.c if (h > 360) h 183 src/lib/color_helpers.c h -= 360; h 184 src/lib/color_helpers.c else if (h < 0) h 185 src/lib/color_helpers.c h += 360; h 186 src/lib/color_helpers.c if (h < 60) h 187 src/lib/color_helpers.c *g = (int)(255.0 * (m1 + m21 * h / 60.0)); h 188 src/lib/color_helpers.c else if (h < 180) h 190 src/lib/color_helpers.c else if (h < 240) h 191 src/lib/color_helpers.c *g = (int)(255.0 * (m1 + m21 * (240.0 - h) / 60.0)); h 194 src/lib/color_helpers.c h = hue - 120; h 195 src/lib/color_helpers.c if (h > 360) h 196 src/lib/color_helpers.c h -= 360; h 197 src/lib/color_helpers.c else if (h < 0) h 198 src/lib/color_helpers.c h += 360; h 199 src/lib/color_helpers.c if (h < 60) h 200 src/lib/color_helpers.c *b = (int)(255.0 * (m1 + m21 * h / 60.0)); h 201 src/lib/color_helpers.c else if (h < 180) h 203 src/lib/color_helpers.c else if (h < 240) h 204 src/lib/color_helpers.c *b = (int)(255.0 * (m1 + m21 * (240.0 - h) / 60.0)); h 78 src/lib/colormod.c __imlib_DataCmodApply(DATA32 * data, int w, int h, int jump, h 88 src/lib/colormod.c for (y = 0; y < h; y++) h 103 src/lib/colormod.c for (y = 0; y < h; y++) h 249 src/lib/colormod.c __imlib_DataCmodApply(im->data, im->w, im->h, 0, cm); h 60 src/lib/colormod.h __hidden void __imlib_DataCmodApply(DATA32 *data, int w, int h, h 37 src/lib/common.h #define CLIP(x, y, w, h, xx, yy, ww, hh) \ h 39 src/lib/common.h if (y < (yy)) {h += (y - (yy)); y = (yy);} \ h 41 src/lib/common.h if ((y + h) > ((yy) + (hh))) {h = (hh) - (y - yy);} h 70 src/lib/draw.c ip->h = dh; h 649 src/lib/ellipse.c int x, y, w, h; h 666 src/lib/ellipse.c clh = im->h; h 670 src/lib/ellipse.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 684 src/lib/ellipse.c h = 2 * (b + 1); h 690 src/lib/ellipse.c h += 2; h 695 src/lib/ellipse.c CLIP_RECT_TO_RECT(x, y, w, h, clx, cly, clw, clh); h 696 src/lib/ellipse.c if ((w < 1) || (h < 1)) h 717 src/lib/ellipse.c int x, y, w, h; h 734 src/lib/ellipse.c clh = im->h; h 738 src/lib/ellipse.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 752 src/lib/ellipse.c h = 2 * (b + 1); h 758 src/lib/ellipse.c h += 2; h 763 src/lib/ellipse.c CLIP_RECT_TO_RECT(x, y, w, h, clx, cly, clw, clh); h 764 src/lib/ellipse.c if ((w < 1) || (h < 1)) h 149 src/lib/filter.c int w, int h, int x, int y) h 168 src/lib/filter.c if (off >= h) h 169 src/lib/filter.c off = h - 1; h 190 src/lib/filter.c data = malloc(im->w * im->h * sizeof(DATA32)); h 202 src/lib/filter.c for (y = 0; y < im->h; y++) h 209 src/lib/filter.c a = __imlib_FilterGet(&fil->alpha, im->data, im->w, im->h, x, h 216 src/lib/filter.c r = __imlib_FilterGet(&fil->red, im->data, im->w, im->h, x, h 223 src/lib/filter.c g = __imlib_FilterGet(&fil->green, im->data, im->w, im->h, x, h 230 src/lib/filter.c b = __imlib_FilterGet(&fil->blue, im->data, im->w, im->h, x, h 93 src/lib/font.h int *w, int *h); h 76 src/lib/font_draw.c int w, h, ascent; h 82 src/lib/font_draw.c h = imlib_font_max_ascent_get(fn) - imlib_font_max_descent_get(fn); h 84 src/lib/font_draw.c data = malloc(w * h * sizeof(DATA32)); h 87 src/lib/font_draw.c memset(data, 0, w * h * sizeof(DATA32)); h 89 src/lib/font_draw.c im2 = __imlib_CreateImage(w, h, data); h 102 src/lib/font_draw.c imlib_font_draw(im2, col, fn, 0, ascent, text, &nx, &ny, 0, 0, w, h); h 133 src/lib/font_draw.c im2->w, im2->h, drx, dry, im2->w, im2->h, h 146 src/lib/font_draw.c xx += sa * im2->h; h 152 src/lib/font_draw.c yy -= ca * im2->h; h 155 src/lib/font_draw.c 0, im2->w, im2->h, xx, yy, (w * ca), h 170 src/lib/font_draw.c *reth = h; h 179 src/lib/font_draw.c *retw = h; h 202 src/lib/font_draw.c xt = -(sa * h); h 207 src/lib/font_draw.c xt = ca * w - sa * h; h 220 src/lib/font_draw.c yt = ca * h; h 225 src/lib/font_draw.c yt = sa * w + ca * h; h 230 src/lib/font_draw.c h = (int)(y2 - y1); h 235 src/lib/font_draw.c *reth = h; h 295 src/lib/font_draw.c im_h = dst->h; h 369 src/lib/font_draw.c int i, j, w, h; h 376 src/lib/font_draw.c h = fg->glyph_out->bitmap.rows; h 382 src/lib/font_draw.c for (i = 0; i < h; i++) h 22 src/lib/font_query.c imlib_font_query_size(ImlibFont * fn, const char *text, int *w, int *h) h 74 src/lib/font_query.c if (h) h 75 src/lib/font_query.c *h = imlib_font_max_ascent_get(fn) - imlib_font_max_descent_get(fn); /* TODO: compute this inside the loop since we now may be dealing with multiple fonts */ h 26 src/lib/grab.c int depth, int x, int y, int w, int h, char grab) h 86 src/lib/grab.c for (y = 0; y < h; y++) h 101 src/lib/grab.c for (y = 0; y < h; y++) h 130 src/lib/grab.c for (y = 0; y < h; y++) h 147 src/lib/grab.c for (y = 0; y < h; y++) h 188 src/lib/grab.c for (y = 0; y < h; y++) h 214 src/lib/grab.c for (y = 0; y < h; y++) h 264 src/lib/grab.c for (y = 0; y < h; y++) h 290 src/lib/grab.c for (y = 0; y < h; y++) h 318 src/lib/grab.c for (y = 0; y < h; y++) h 335 src/lib/grab.c for (y = 0; y < h; y++) h 353 src/lib/grab.c for (y = 0; y < h; y++) h 367 src/lib/grab.c for (y = 0; y < h; y++) h 384 src/lib/grab.c for (y = 0; y < h; y++) h 401 src/lib/grab.c for (y = 0; y < h; y++) h 419 src/lib/grab.c for (y = 0; y < h; y++) h 435 src/lib/grab.c for (y = 0; y < h; y++) h 453 src/lib/grab.c for (y = 0; y < h; y++) h 469 src/lib/grab.c for (y = 0; y < h; y++) h 485 src/lib/grab.c for (y = 0; y < h; y++) h 500 src/lib/grab.c for (y = 0; y < h; y++) h 524 src/lib/grab.c int w, int h, char *pdomask, char grab) h 541 src/lib/grab.c origh = h; h 587 src/lib/grab.c if (height > h) h 588 src/lib/grab.c height = h; h 631 src/lib/grab.c h = height; h 648 src/lib/grab.c m = XCreatePixmap(d, p, w, h, 1); h 651 src/lib/grab.c XFillRectangle(d, m, gc, 0, 0, w, h); h 670 src/lib/grab.c xim = __imlib_ShmGetXImage(d, v, p, xatt.depth, x, y, w, h, &shminfo); h 674 src/lib/grab.c xim = XGetImage(d, p, x, y, w, h, 0xffffffff, ZPixmap); h 685 src/lib/grab.c mxim = __imlib_ShmGetXImage(d, v, m, 1, 0, 0, w, h, &mshminfo); h 688 src/lib/grab.c mxim = XGetImage(d, m, 0, 0, w, h, 0xffffffff, ZPixmap); h 740 src/lib/grab.c d, xim, mxim, v, xatt.depth, x, y, w, h, 0); h 8 src/lib/grab.h int y, int w, int h, h 14 src/lib/grab.h int y, int w, int h, char grab); h 151 src/lib/grad.c float h1, s1, v1, h2, s2, v2, h, s, v, k1, k2; h 179 src/lib/grad.c h = ((h1 * k2) + (h2 * k1)) / 65536.0; h 182 src/lib/grad.c __imlib_hsv_to_rgb(h, s, v, &r, &g, &b); h 218 src/lib/grad.c h = ((h1 * k2) + (h2 * k1)) / 65536.0; h 221 src/lib/grad.c __imlib_hsv_to_rgb(h, s, v, &r, &g, &b); h 231 src/lib/grad.c __imlib_DrawGradient(ImlibImage * im, int x, int y, int w, int h, h 242 src/lib/grad.c hh = h; h 257 src/lib/grad.c h += y; h 261 src/lib/grad.c if (h <= 0) h 263 src/lib/grad.c if ((y + h) > im->h) h 264 src/lib/grad.c h = (im->h - y); h 265 src/lib/grad.c if (h <= 0) h 271 src/lib/grad.c CLIP_TO(clx, cly, clw, clh, 0, 0, im->w, im->h); h 274 src/lib/grad.c CLIP_TO(x, y, w, h, clx, cly, clw, clh); h 275 src/lib/grad.c if ((w < 1) || (h < 1)) h 328 src/lib/grad.c for (yy = 0; yy < h; yy++) h 346 src/lib/grad.c for (yy = 0; yy < h; yy++) h 364 src/lib/grad.c for (yy = 0; yy < h; yy++) h 381 src/lib/grad.c for (yy = 0; yy < h; yy++) h 398 src/lib/grad.c for (yy = 0; yy < h; yy++) h 424 src/lib/grad.c __imlib_DrawHsvaGradient(ImlibImage * im, int x, int y, int w, int h, h 435 src/lib/grad.c hh = h; h 450 src/lib/grad.c h += y; h 454 src/lib/grad.c if (h <= 0) h 456 src/lib/grad.c if ((y + h) > im->h) h 457 src/lib/grad.c h = (im->h - y); h 458 src/lib/grad.c if (h <= 0) h 464 src/lib/grad.c CLIP_TO(clx, cly, clw, clh, 0, 0, im->w, im->h); h 467 src/lib/grad.c CLIP_TO(x, y, w, h, clx, cly, clw, clh); h 468 src/lib/grad.c if ((w < 1) || (h < 1)) h 521 src/lib/grad.c for (yy = 0; yy < h; yy++) h 539 src/lib/grad.c for (yy = 0; yy < h; yy++) h 557 src/lib/grad.c for (yy = 0; yy < h; yy++) h 574 src/lib/grad.c for (yy = 0; yy < h; yy++) h 591 src/lib/grad.c for (yy = 0; yy < h; yy++) h 25 src/lib/grad.h __hidden void __imlib_DrawGradient(ImlibImage *im, int x, int y, int w, int h, ImlibRange *rg, double angle, ImlibOp op, int clx, int cly, int clw, int clh); h 26 src/lib/grad.h __hidden void __imlib_DrawHsvaGradient(ImlibImage *im, int x, int y, int w, int h, ImlibRange *rg, double angle, ImlibOp op, int clx, int cly, int clw, int clh); h 294 src/lib/image.c current_cache += im->w * im->h * sizeof(DATA32); h 323 src/lib/image.c current_cache += ip->w * ip->h * (ip->depth / 8); h 325 src/lib/image.c current_cache += ip->w * ip->h; h 327 src/lib/image.c current_cache += ip->w * ip->h * 2; h 329 src/lib/image.c current_cache += ip->w * ip->h * 4; h 333 src/lib/image.c current_cache += ip->w * ip->h / 8; h 423 src/lib/image.c __imlib_FindCachedImagePixmap(ImlibImage * im, int w, int h, Display * d, h 436 src/lib/image.c if ((ip->w == w) && (ip->h == h) && (ip->depth == depth) && (!ip->dirty) h 947 src/lib/image.c __imlib_CreateImage(int w, int h, DATA32 * data) h 953 src/lib/image.c im->h = h; h 65 src/lib/image.h int w, h; h 82 src/lib/image.h int w, h; h 135 src/lib/image.h __hidden ImlibImagePixmap *__imlib_FindCachedImagePixmap(ImlibImage *im, int w, int h, h 157 src/lib/image.h __hidden ImlibImage *__imlib_CreateImage(int w, int h, DATA32 *data); h 191 src/lib/image.h # define IMAGE_DIMENSIONS_OK(w, h) \ h 192 src/lib/image.h ( ((w) > 0) && ((h) > 0) && \ h 193 src/lib/image.h ((unsigned long long)(w) * (unsigned long long)(h) <= (1ULL << 29) - 1) ) h 30 src/lib/line.c if (!IN_RANGE(x, y, im->w, im->h)) h 36 src/lib/line.c clh = im->h; h 680 src/lib/line.c clh = im->h; h 684 src/lib/line.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 713 src/lib/line.c int mi, ma, dx, dy, w, h; h 728 src/lib/line.c h = dy + 1; h 735 src/lib/line.c h++; h 738 src/lib/line.c CLIP_RECT_TO_RECT(cl_x0, cl_y0, w, h, clx, cly, clw, clh); h 739 src/lib/line.c if ((w < 1) || (h < 1)) h 742 src/lib/line.c return __imlib_AddUpdate(NULL, cl_x0, cl_y0, w, h); h 1080 src/lib/polygon.c clh = im->h; h 1084 src/lib/polygon.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 1835 src/lib/polygon.c clh = im->h; h 1839 src/lib/polygon.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 117 src/lib/rectangle.c __imlib_Rectangle_DrawToImage(int x, int y, int w, int h, DATA32 color, h 121 src/lib/rectangle.c if ((w < 1) || (h < 1) || (clw < 0)) h 123 src/lib/rectangle.c if ((w == 1) || (h == 1)) h 125 src/lib/rectangle.c (void)__imlib_Line_DrawToImage(x, y, x + w - 1, y + h - 1, color, h 136 src/lib/rectangle.c clh = im->h; h 140 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 144 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, x, y, w, h); h 151 src/lib/rectangle.c __imlib_Rectangle_DrawToData(x, y, w, h, color, h 157 src/lib/rectangle.c __imlib_Rectangle_FillToImage(int x, int y, int w, int h, DATA32 color, h 161 src/lib/rectangle.c if ((w < 1) || (h < 1) || (clw < 0)) h 163 src/lib/rectangle.c if ((w == 1) || (h == 1)) h 165 src/lib/rectangle.c (void)__imlib_Line_DrawToImage(x, y, x + w - 1, y + h - 1, color, h 176 src/lib/rectangle.c clh = im->h; h 180 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, 0, 0, im->w, im->h); h 184 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, x, y, w, h); h 191 src/lib/rectangle.c __imlib_Rectangle_FillToData(x, y, w, h, color, h 140 src/lib/rend.c __imlib_generic_render(DATA32 * src, int jump, int w, int h, int dx, int dy, h 160 src/lib/rend.c hh = dy + h; h 209 src/lib/rend.c hh = dy + h; h 262 src/lib/rend.c int y, h, hh, jump; h 289 src/lib/rend.c CLIP(sx, sy, sw, sh, 0, 0, im->w, im->h); h 370 src/lib/rend.c h = dh; h 384 src/lib/rend.c if (h < LINESIZE) h 385 src/lib/rend.c hh = h; h 463 src/lib/rend.c h -= LINESIZE; h 551 src/lib/rend.c tsy = (hsx * im->h) / im->w; h 552 src/lib/rend.c tsx = -(hsy * im->h) / im->w; h 2868 src/lib/rgba.c int x, y, w, h; h 2873 src/lib/rgba.c h = height; h 2879 src/lib/rgba.c for (y = 0; y < h; y++) h 2890 src/lib/rgba.c for (y = 0; y < h; y++) h 2905 src/lib/rgba.c for (y = 0; y < h; y++) h 2918 src/lib/rgba.c for (y = 0; y < h; y++) h 2938 src/lib/rgba.c int x, y, w, h; h 2943 src/lib/rgba.c h = height + dy; h 2949 src/lib/rgba.c for (y = dy; y < h; y++) h 2960 src/lib/rgba.c for (y = dy; y < h; y++) h 2975 src/lib/rgba.c for (y = dy; y < h; y++) h 2989 src/lib/rgba.c for (y = 0; y < h; y++) h 3010 src/lib/rgba.c int x, y, w, h; h 3015 src/lib/rgba.c h = height; h 3021 src/lib/rgba.c for (y = 0; y < h; y++) h 3032 src/lib/rgba.c for (y = 0; y < h; y++) h 3047 src/lib/rgba.c for (y = 0; y < h; y++) h 3060 src/lib/rgba.c for (y = 0; y < h; y++) h 3080 src/lib/rgba.c int x, y, w, h; h 3085 src/lib/rgba.c h = height + dy; h 3091 src/lib/rgba.c for (y = dy; y < h; y++) h 3102 src/lib/rgba.c for (y = dy; y < h; y++) h 3117 src/lib/rgba.c for (y = dy; y < h; y++) h 3131 src/lib/rgba.c for (y = 0; y < h; y++) h 3152 src/lib/rgba.c int x, y, w, h; h 3157 src/lib/rgba.c h = height; h 3163 src/lib/rgba.c for (y = 0; y < h; y++) h 3174 src/lib/rgba.c for (y = 0; y < h; y++) h 3189 src/lib/rgba.c for (y = 0; y < h; y++) h 3202 src/lib/rgba.c for (y = 0; y < h; y++) h 3222 src/lib/rgba.c int x, y, w, h; h 3227 src/lib/rgba.c h = height + dy; h 3233 src/lib/rgba.c for (y = dy; y < h; y++) h 3244 src/lib/rgba.c for (y = dy; y < h; y++) h 3259 src/lib/rgba.c for (y = dy; y < h; y++) h 3273 src/lib/rgba.c for (y = dy; y < h; y++) h 3294 src/lib/rgba.c int x, y, w, h; h 3299 src/lib/rgba.c h = height; h 3305 src/lib/rgba.c for (y = 0; y < h; y++) h 3316 src/lib/rgba.c for (y = 0; y < h; y++) h 3331 src/lib/rgba.c for (y = 0; y < h; y++) h 3344 src/lib/rgba.c for (y = 0; y < h; y++) h 3364 src/lib/rgba.c int x, y, w, h; h 3369 src/lib/rgba.c h = height + dy; h 3375 src/lib/rgba.c for (y = dy; y < h; y++) h 3386 src/lib/rgba.c for (y = dy; y < h; y++) h 3401 src/lib/rgba.c for (y = dy; y < h; y++) h 3415 src/lib/rgba.c for (y = dy; y < h; y++) h 3436 src/lib/rgba.c int x, y, w, h; h 3440 src/lib/rgba.c h = height; h 3446 src/lib/rgba.c for (y = 0; y < h; y++) h 3457 src/lib/rgba.c for (y = 0; y < h; y++) h 3469 src/lib/rgba.c for (y = 0; y < h; y++) h 3484 src/lib/rgba.c for (y = 0; y < h; y++) h 3534 src/lib/rgba.c int x, y, w, h; h 3538 src/lib/rgba.c h = height + dy; h 3544 src/lib/rgba.c for (y = dy; y < h; y++) h 3555 src/lib/rgba.c for (y = dy; y < h; y++) h 3567 src/lib/rgba.c for (y = dy; y < h; y++) h 3582 src/lib/rgba.c for (y = dy; y < h; y++) h 3614 src/lib/rgba.c int x, y, w, h; h 3618 src/lib/rgba.c h = height; h 3624 src/lib/rgba.c for (y = 0; y < h; y++) h 3635 src/lib/rgba.c for (y = 0; y < h; y++) h 3647 src/lib/rgba.c for (y = 0; y < h; y++) h 3662 src/lib/rgba.c for (y = 0; y < h; y++) h 3712 src/lib/rgba.c int x, y, w, h; h 3716 src/lib/rgba.c h = height + dy; h 3722 src/lib/rgba.c for (y = dy; y < h; y++) h 3733 src/lib/rgba.c for (y = dy; y < h; y++) h 3745 src/lib/rgba.c for (y = dy; y < h; y++) h 3760 src/lib/rgba.c for (y = dy; y < h; y++) h 3792 src/lib/rgba.c int x, y, w, h; h 3796 src/lib/rgba.c h = height; h 3802 src/lib/rgba.c for (y = 0; y < h; y++) h 3813 src/lib/rgba.c for (y = 0; y < h; y++) h 3825 src/lib/rgba.c for (y = 0; y < h; y++) h 3840 src/lib/rgba.c for (y = 0; y < h; y++) h 3890 src/lib/rgba.c int x, y, w, h; h 3894 src/lib/rgba.c h = height + dy; h 3900 src/lib/rgba.c for (y = dy; y < h; y++) h 3911 src/lib/rgba.c for (y = dy; y < h; y++) h 3923 src/lib/rgba.c for (y = dy; y < h; y++) h 3938 src/lib/rgba.c for (y = dy; y < h; y++) h 3970 src/lib/rgba.c int x, y, w, h; h 3974 src/lib/rgba.c h = height; h 3980 src/lib/rgba.c for (y = 0; y < h; y++) h 3991 src/lib/rgba.c for (y = 0; y < h; y++) h 4003 src/lib/rgba.c for (y = 0; y < h; y++) h 4018 src/lib/rgba.c for (y = 0; y < h; y++) h 4068 src/lib/rgba.c int x, y, w, h; h 4072 src/lib/rgba.c h = height + dy; h 4078 src/lib/rgba.c for (y = dy; y < h; y++) h 4089 src/lib/rgba.c for (y = dy; y < h; y++) h 4101 src/lib/rgba.c for (y = dy; y < h; y++) h 4116 src/lib/rgba.c for (y = dy; y < h; y++) h 4148 src/lib/rgba.c int x, y, w, h; h 4152 src/lib/rgba.c h = height; h 4158 src/lib/rgba.c for (y = 0; y < h; y++) h 4169 src/lib/rgba.c for (y = 0; y < h; y++) h 4181 src/lib/rgba.c for (y = 0; y < h; y++) h 4196 src/lib/rgba.c for (y = 0; y < h; y++) h 4246 src/lib/rgba.c int x, y, w, h; h 4250 src/lib/rgba.c h = height + dy; h 4256 src/lib/rgba.c for (y = dy; y < h; y++) h 4267 src/lib/rgba.c for (y = dy; y < h; y++) h 4279 src/lib/rgba.c for (y = dy; y < h; y++) h 4294 src/lib/rgba.c for (y = dy; y < h; y++) h 4326 src/lib/rgba.c int x, y, w, h; h 4330 src/lib/rgba.c h = height; h 4336 src/lib/rgba.c for (y = 0; y < h; y++) h 4347 src/lib/rgba.c for (y = 0; y < h; y++) h 4359 src/lib/rgba.c for (y = 0; y < h; y++) h 4374 src/lib/rgba.c for (y = 0; y < h; y++) h 4424 src/lib/rgba.c int x, y, w, h; h 4428 src/lib/rgba.c h = height + dy; h 4434 src/lib/rgba.c for (y = dy; y < h; y++) h 4445 src/lib/rgba.c for (y = dy; y < h; y++) h 4457 src/lib/rgba.c for (y = dy; y < h; y++) h 4472 src/lib/rgba.c for (y = dy; y < h; y++) h 4504 src/lib/rgba.c int x, y, w, h; h 4508 src/lib/rgba.c h = height; h 4514 src/lib/rgba.c for (y = 0; y < h; y++) h 4525 src/lib/rgba.c for (y = 0; y < h; y++) h 4537 src/lib/rgba.c for (y = 0; y < h; y++) h 4552 src/lib/rgba.c for (y = 0; y < h; y++) h 4602 src/lib/rgba.c int x, y, w, h; h 4606 src/lib/rgba.c h = height + dy; h 4612 src/lib/rgba.c for (y = dy; y < h; y++) h 4623 src/lib/rgba.c for (y = dy; y < h; y++) h 4635 src/lib/rgba.c for (y = dy; y < h; y++) h 4650 src/lib/rgba.c for (y = dy; y < h; y++) h 4682 src/lib/rgba.c int x, y, w, h; h 4686 src/lib/rgba.c h = height; h 4688 src/lib/rgba.c for (y = 0; y < h; y++) h 4707 src/lib/rgba.c int x, y, w, h; h 4711 src/lib/rgba.c h = height + dy; h 4713 src/lib/rgba.c for (y = dy; y < h; y++) h 4732 src/lib/rgba.c int x, y, w, h; h 4736 src/lib/rgba.c h = height; h 4738 src/lib/rgba.c for (y = 0; y < h; y++) h 4757 src/lib/rgba.c int x, y, w, h; h 4761 src/lib/rgba.c h = height + dy; h 4763 src/lib/rgba.c for (y = dy; y < h; y++) h 4782 src/lib/rgba.c int y, w, h; h 4787 src/lib/rgba.c h = height; h 4791 src/lib/rgba.c for (y = h; y > 0; y--) h 4799 src/lib/rgba.c memcpy(dest, src, h * w * sizeof(DATA32)); h 4810 src/lib/rgba.c int x, y, w, h; h 4815 src/lib/rgba.c h = height; h 4817 src/lib/rgba.c for (y = 0; y < h; y++) h 4836 src/lib/rgba.c int x, y, w, h; h 4840 src/lib/rgba.c h = height; h 4842 src/lib/rgba.c for (y = 0; y < h; y++) h 4861 src/lib/rgba.c int x, y, w, h; h 4865 src/lib/rgba.c h = height; h 4867 src/lib/rgba.c for (y = 0; y < h; y++) h 16 src/lib/rgbadraw.c for (y = 0; y < im->h; y++) h 40 src/lib/rgbadraw.c for (y = 0; y < (im->h >> 1); y++) h 43 src/lib/rgbadraw.c p2 = im->data + ((im->h - 1 - y) * im->w); h 65 src/lib/rgbadraw.c p2 = im->data + (im->h * im->w) - 1; h 66 src/lib/rgbadraw.c for (x = (im->w * im->h) / 2; --x >= 0;) h 94 src/lib/rgbadraw.c data = malloc(im->w * im->h * sizeof(DATA32)); h 96 src/lib/rgbadraw.c w = im->h; h 97 src/lib/rgbadraw.c im->h = im->w; h 99 src/lib/rgbadraw.c hw = w * im->h; h 147 src/lib/rgbadraw.c for (y = im->h; --y >= 0;) h 169 src/lib/rgbadraw.c data = malloc(im->w * im->h * sizeof(DATA32)); h 175 src/lib/rgbadraw.c for (y = 0; y < im->h; y++) h 184 src/lib/rgbadraw.c if ((my + mh) > im->h) h 185 src/lib/rgbadraw.c mh = im->h - my; h 256 src/lib/rgbadraw.c data = malloc(im->w * im->h * sizeof(DATA32)); h 266 src/lib/rgbadraw.c for (y = 1; y < (im->h - 1); y++) h 319 src/lib/rgbadraw.c data = malloc(im->w * im->h * sizeof(DATA32)); h 322 src/lib/rgbadraw.c for (y = 0; y < im->h; y++) h 393 src/lib/rgbadraw.c data = malloc(im->w * im->h * sizeof(DATA32)); h 395 src/lib/rgbadraw.c for (y = 0; y < im->h; y++) h 398 src/lib/rgbadraw.c if (y < (im->h >> 1)) h 400 src/lib/rgbadraw.c p2 = im->data + ((y + (im->h >> 1)) * im->w); h 401 src/lib/rgbadraw.c mix = (y * 255) / (im->h >> 1); h 405 src/lib/rgbadraw.c p2 = im->data + ((y - (im->h >> 1)) * im->w); h 406 src/lib/rgbadraw.c mix = ((im->h - y) * 255) / (im->h - (im->h >> 1)); h 439 src/lib/rgbadraw.c __imlib_copy_image_data(ImlibImage * im, int x, int y, int w, int h, int nx, h 475 src/lib/rgbadraw.c h += y; h 479 src/lib/rgbadraw.c if (h <= 0) h 483 src/lib/rgbadraw.c h += ny; h 487 src/lib/rgbadraw.c if (h <= 0) h 489 src/lib/rgbadraw.c if ((y + h) > im->h) h 490 src/lib/rgbadraw.c h = (im->h - y); h 491 src/lib/rgbadraw.c if (h <= 0) h 493 src/lib/rgbadraw.c if ((ny + h) > im->h) h 494 src/lib/rgbadraw.c h = (im->h - ny); h 495 src/lib/rgbadraw.c if (h <= 0) h 507 src/lib/rgbadraw.c for (yy = 0; yy < h; yy++) h 523 src/lib/rgbadraw.c p1 = im->data + ((y + h - 1) * im->w) + x + w - 1; h 524 src/lib/rgbadraw.c p2 = im->data + ((ny + h - 1) * im->w) + nx + w - 1; h 526 src/lib/rgbadraw.c for (yy = 0; yy < h; yy++) h 542 src/lib/rgbadraw.c int w, int h, int nx, int ny) h 577 src/lib/rgbadraw.c h += y; h 581 src/lib/rgbadraw.c if (h <= 0) h 585 src/lib/rgbadraw.c h += ny; h 589 src/lib/rgbadraw.c if (h <= 0) h 591 src/lib/rgbadraw.c if ((y + h) > src->h) h 592 src/lib/rgbadraw.c h = (src->h - y); h 593 src/lib/rgbadraw.c if (h <= 0) h 595 src/lib/rgbadraw.c if ((ny + h) > dst->h) h 596 src/lib/rgbadraw.c h = (dst->h - ny); h 597 src/lib/rgbadraw.c if (h <= 0) h 608 src/lib/rgbadraw.c for (yy = 0; yy < h; yy++) h 7 src/lib/rgbadraw.h #define IN_RANGE(x, y, w, h) \ h 8 src/lib/rgbadraw.h ( ((unsigned)(x) < (w)) && ((unsigned)(y) < (h)) ) h 13 src/lib/rgbadraw.h #define CLIP_RECT_TO_RECT(x, y, w, h, rx, ry, rw, rh) \ h 22 src/lib/rgbadraw.h _t1 = MIN(y + h, (ry) + (rh)); \ h 24 src/lib/rgbadraw.h h = _t1 - _t0; \ h 48 src/lib/rgbadraw.h int x, y, w, h; h 74 src/lib/rgbadraw.h int w, int h, int nx, int ny); h 76 src/lib/rgbadraw.h __hidden void __imlib_copy_image_data(ImlibImage * im, int x, int y, int w, int h, h 97 src/lib/rgbadraw.h __imlib_Rectangle_DrawToImage(int xc, int yc, int w, int h, DATA32 color, h 102 src/lib/rgbadraw.h __imlib_Rectangle_FillToImage(int xc, int yc, int w, int h, DATA32 color, h 401 src/lib/rotate.c if ((ssh + ssy) > im_src->h) h 402 src/lib/rotate.c ssh = im_src->h - ssy; h 417 src/lib/rotate.c for (i = 0; i < im_dst->h; i += LINESIZE) h 419 src/lib/rotate.c int x2, y2, w, h, l, r; h 421 src/lib/rotate.c h = MIN(LINESIZE, im_dst->h - i); h 423 src/lib/rotate.c x2 = x + h * dxv; h 424 src/lib/rotate.c y2 = y + h * dyv; h 427 src/lib/rotate.c h = ssh << _ROTATE_PREC; h 432 src/lib/rotate.c h += 2 << _ROTATE_PREC; h 440 src/lib/rotate.c r = MIN((h - MIN(y, y2)) / dyh, (w - MIN(x, x2)) / dxh); h 445 src/lib/rotate.c l = MAX(-MAX(x, x2) / dxh, (h - MIN(y, y2)) / dyh); h 461 src/lib/rotate.c r = MIN(-MAX(x, x2) / dxh, (h - MIN(y, y2)) / dyh); h 466 src/lib/rotate.c l = MAX((h - MIN(y, y2)) / dyh, (w - MIN(x, x2)) / dxh); h 483 src/lib/rotate.c r = (h - MIN(y, y2)) / dyh; h 488 src/lib/rotate.c l = (h - MIN(y, y2)) / dyh; h 515 src/lib/rotate.c h = MIN(LINESIZE, im_dst->h - i); h 524 src/lib/rotate.c __imlib_mmx_RotateAA(src, data, im_src->w, ssw, ssh, w, w, h, h 528 src/lib/rotate.c __imlib_RotateAA(src, data, im_src->w, ssw, ssh, w, w, h, h 534 src/lib/rotate.c __imlib_RotateSample(src, data, im_src->w, ssw, ssh, w, w, h, h 538 src/lib/rotate.c __imlib_BlendRGBAToData(data, w, h, im_dst->data, h 539 src/lib/rotate.c im_dst->w, im_dst->h, 0, 0, l, i, w, h, h 247 src/lib/scale.c sch = dh * im->h / sh; h 254 src/lib/scale.c isi->pix_assert = im->data + im->w * im->h; h 262 src/lib/scale.c isi->ypoints = __imlib_CalcYPoints(im->data, im->w, im->h, sch, h 272 src/lib/scale.c isi->yapoints = __imlib_CalcApoints(im->h, sch, im->border.top, h 21 src/lib/updates.c __imlib_MergeUpdate(ImlibUpdate * u, int w, int h, int hgapmax) h 34 src/lib/updates.c th = h >> TB; h 35 src/lib/updates.c if (h & TM) h 47 src/lib/updates.c CLIP(uu->x, uu->y, uu->w, uu->h, 0, 0, w, h); h 48 src/lib/updates.c for (y = uu->y >> TB; y <= ((uu->y + uu->h - 1) >> TB); y++) h 144 src/lib/updates.c __imlib_AddUpdate(ImlibUpdate * u, int x, int y, int w, int h) h 148 src/lib/updates.c if ((w < 1) || (h < 1) || ((x + w) < 1) || ((y + h) < 1)) h 154 src/lib/updates.c nu->h = h; h 7 src/lib/updates.h int x, y, w, h; h 11 src/lib/updates.h __hidden ImlibUpdate *__imlib_AddUpdate(ImlibUpdate *u, int x, int y, int w, int h); h 12 src/lib/updates.h __hidden ImlibUpdate *__imlib_MergeUpdate(ImlibUpdate *u, int w, int h, int hgapmax); h 49 src/lib/ximage.c int x, int y, int w, int h, XShmSegmentInfo * si) h 54 src/lib/ximage.c xim = XShmCreateImage(d, v, depth, ZPixmap, NULL, si, w, h); h 258 src/lib/ximage.c __imlib_ProduceXImage(Display * d, Visual * v, int depth, int w, int h, h 281 src/lib/ximage.c (list_xim[i]->width >= w) && (list_xim[i]->height >= h) && h 322 src/lib/ximage.c xim = __imlib_ShmGetXImage(d, v, None, depth, 0, 0, w, h, h 337 src/lib/ximage.c xim = XCreateImage(d, v, depth, ZPixmap, 0, NULL, w, h, 32, 0); h 16 src/lib/ximage.h int w, int h, char *shared); h 19 src/lib/ximage.h int depth, int x, int y, int w, int h, h 22 src/modules/filters/filter_bumpmap.c int w, h, i, j, w2, h2, wh2, mx, my; h 47 src/modules/filters/filter_bumpmap.c h = imlib_image_get_height(); h 66 src/modules/filters/filter_bumpmap.c for (j = h; --j >= 0;) h 141 src/modules/filters/filter_bumpmap.c int w, h, i, j, w2, h2, wh2, mx, my; h 167 src/modules/filters/filter_bumpmap.c h = imlib_image_get_height(); h 180 src/modules/filters/filter_bumpmap.c for (j = h; --j >= 0;) h 59 src/modules/filters/filter_colormod.c int x = 0, y = 0, h, w, i; h 64 src/modules/filters/filter_colormod.c h = imlib_image_get_height(); h 85 src/modules/filters/filter_colormod.c GET_INT(h, ptr); h 221 src/modules/filters/filter_colormod.c imlib_apply_color_modifier_to_rectangle(x, y, w, h); h 39 src/modules/filters/filter_test.c int x = 0, y = 0, w = 0, h = 0; h 48 src/modules/filters/filter_test.c h = imlib_image_get_height(); h 58 src/modules/filters/filter_test.c ASSIGN_INT("h", h); h 64 src/modules/filters/filter_test.c anoim = imlib_create_image(w, h); h 70 src/modules/filters/filter_test.c imlib_image_fill_rectangle(0, 0, w, h); h 76 src/modules/filters/filter_test.c imlib_apply_color_modifier_to_rectangle(0, 0, w, h); h 79 src/modules/filters/filter_test.c imlib_blend_image_onto_image(anoim, 0, 0, 0, w, h, x, y, w, h); h 13 src/modules/loaders/loader_argb.c int w = 0, h = 0, alpha = 0; h 33 src/modules/loaders/loader_argb.c sscanf(buf, "%s %i %i %i", buf2, &w, &h, &alpha); h 39 src/modules/loaders/loader_argb.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 45 src/modules/loaders/loader_argb.c im->h = h; h 62 src/modules/loaders/loader_argb.c ptr = im->data = malloc(w * h * sizeof(DATA32)); h 68 src/modules/loaders/loader_argb.c for (y = 0; y < h; y++) h 87 src/modules/loaders/loader_argb.c per = (char)((100 * y) / im->h); h 89 src/modules/loaders/loader_argb.c (y == (im->h - 1))) h 127 src/modules/loaders/loader_argb.c fprintf(f, "ARGB %i %i %i\n", im->w, im->h, alpha); h 129 src/modules/loaders/loader_argb.c for (y = 0; y < im->h; y++) h 149 src/modules/loaders/loader_argb.c per = (char)((100 * y) / im->h); h 150 src/modules/loaders/loader_argb.c if (((per - pper) >= progress_granularity) || (y == (im->h - 1))) h 116 src/modules/loaders/loader_bmp.c unsigned long i, w, h; h 172 src/modules/loaders/loader_bmp.c h = tmpShort; h 181 src/modules/loaders/loader_bmp.c ReadleLong(f, &h); h 196 src/modules/loaders/loader_bmp.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 277 src/modules/loaders/loader_bmp.c im->h = h; h 293 src/modules/loaders/loader_bmp.c im->data = malloc(w * h * sizeof(DATA32)); h 306 src/modules/loaders/loader_bmp.c data_end = im->data + w * h; h 307 src/modules/loaders/loader_bmp.c ptr = im->data + ((h - 1) * w); h 314 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 334 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 336 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 340 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 341 src/modules/loaders/loader_bmp.c im->h - y + l)) h 428 src/modules/loaders/loader_bmp.c if (++y >= h) h 430 src/modules/loaders/loader_bmp.c ptr = im->data + (h - y - 1) * w; h 444 src/modules/loaders/loader_bmp.c if (y >= h) h 446 src/modules/loaders/loader_bmp.c ptr = im->data + (h - y - 1) * w + x; h 495 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 497 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 501 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 502 src/modules/loaders/loader_bmp.c im->h - y + l)) h 517 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 537 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 539 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 543 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 544 src/modules/loaders/loader_bmp.c im->h - y + l)) h 592 src/modules/loaders/loader_bmp.c if (++y >= h) h 594 src/modules/loaders/loader_bmp.c ptr = im->data + ((h - y - 1) * w) + x; h 608 src/modules/loaders/loader_bmp.c if (y >= h) h 610 src/modules/loaders/loader_bmp.c ptr = im->data + ((h - y - 1) * w) + x; h 639 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 641 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 645 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 646 src/modules/loaders/loader_bmp.c im->h - y + l)) h 659 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 676 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 678 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 682 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 683 src/modules/loaders/loader_bmp.c im->h - y + l)) h 702 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 731 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 733 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 737 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 738 src/modules/loaders/loader_bmp.c im->h - y + l)) h 755 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 771 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 773 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 777 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 778 src/modules/loaders/loader_bmp.c im->h - y + l)) h 795 src/modules/loaders/loader_bmp.c for (y = 0; y < h; y++) h 825 src/modules/loaders/loader_bmp.c per = (char)((100 * y) / im->h); h 827 src/modules/loaders/loader_bmp.c (y == (im->h - 1))) h 831 src/modules/loaders/loader_bmp.c (im, per, 0, im->h - y - 1, im->w, h 832 src/modules/loaders/loader_bmp.c im->h - y + l)) h 868 src/modules/loaders/loader_bmp.c WriteleLong(f, 54 + 3 * im->w * im->h); /* filesize */ h 876 src/modules/loaders/loader_bmp.c WriteleLong(f, im->h); h 880 src/modules/loaders/loader_bmp.c WriteleLong(f, 3 * im->w * im->h); h 885 src/modules/loaders/loader_bmp.c for (i = 0; i < im->h; i++) h 889 src/modules/loaders/loader_bmp.c imlib_image_query_pixel(j, im->h - i - 1, &pixel_color); h 16 src/modules/loaders/loader_gif.c int i, j, done, bg, r, g, b, w = 0, h = 0; h 60 src/modules/loaders/loader_gif.c h = gif->Image.Height; h 61 src/modules/loaders/loader_gif.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 66 src/modules/loaders/loader_gif.c rows = malloc(h * sizeof(GifRowType *)); h 72 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 76 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 82 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 97 src/modules/loaders/loader_gif.c for (j = intoffset[i]; j < h; j += intjump[i]) h 105 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 143 src/modules/loaders/loader_gif.c im->h = h; h 150 src/modules/loaders/loader_gif.c im->data = (DATA32 *) malloc(sizeof(DATA32) * w * h); h 158 src/modules/loaders/loader_gif.c per_inc = 100.0 / (((float)w) * h); h 159 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 185 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 199 src/modules/loaders/loader_gif.c progress(im, 100, 0, last_y, w, h); h 202 src/modules/loaders/loader_gif.c for (i = 0; i < h; i++) h 49 src/modules/loaders/loader_jpeg.c int w, h; h 78 src/modules/loaders/loader_jpeg.c im->h = h = cinfo.output_height; h 79 src/modules/loaders/loader_jpeg.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 81 src/modules/loaders/loader_jpeg.c im->w = im->h = 0; h 96 src/modules/loaders/loader_jpeg.c im->h = h = cinfo.output_height; h 99 src/modules/loaders/loader_jpeg.c !IMAGE_DIMENSIONS_OK(w, h)) h 101 src/modules/loaders/loader_jpeg.c im->w = im->h = 0; h 109 src/modules/loaders/loader_jpeg.c im->w = im->h = 0; h 115 src/modules/loaders/loader_jpeg.c ptr2 = im->data = malloc(w * h * sizeof(DATA32)); h 118 src/modules/loaders/loader_jpeg.c im->w = im->h = 0; h 130 src/modules/loaders/loader_jpeg.c for (l = 0; l < h; l += cinfo.rec_outbuf_height) h 134 src/modules/loaders/loader_jpeg.c if ((h - l) < scans) h 135 src/modules/loaders/loader_jpeg.c scans = h - l; h 151 src/modules/loaders/loader_jpeg.c per = (l * 100) / h; h 153 src/modules/loaders/loader_jpeg.c || ((h - l) <= cinfo.rec_outbuf_height)) h 174 src/modules/loaders/loader_jpeg.c for (l = 0; l < h; l += cinfo.rec_outbuf_height) h 178 src/modules/loaders/loader_jpeg.c if ((h - l) < scans) h 179 src/modules/loaders/loader_jpeg.c scans = h - l; h 195 src/modules/loaders/loader_jpeg.c per = (l * 100) / h; h 197 src/modules/loaders/loader_jpeg.c || ((h - l) <= cinfo.rec_outbuf_height)) h 265 src/modules/loaders/loader_jpeg.c cinfo.image_height = im->h; h 321 src/modules/loaders/loader_jpeg.c per = (char)((100 * y) / im->h); h 322 src/modules/loaders/loader_jpeg.c if (((per - pper) >= progress_granularity) || (y == (im->h - 1))) h 295 src/modules/loaders/loader_lbm.c unsigned char bit, r, g, b, a, v, h, *pal; h 337 src/modules/loaders/loader_lbm.c h = (l & ~v) >> (ilbm->depth - 2); h 339 src/modules/loaders/loader_lbm.c if (h == 0x00) h 359 src/modules/loaders/loader_lbm.c else if (h == 0x01) h 361 src/modules/loaders/loader_lbm.c else if (h == 0x02) h 369 src/modules/loaders/loader_lbm.c h = (l & ~v) >> (ilbm->depth - 1); h 389 src/modules/loaders/loader_lbm.c if (h) h 484 src/modules/loaders/loader_lbm.c im->h = L2RWORD(ilbm.bmhd.data + 2); h 485 src/modules/loaders/loader_lbm.c if (!IMAGE_DIMENSIONS_OK(im->w, im->h)) h 538 src/modules/loaders/loader_lbm.c im->w = im->h = 0; h 553 src/modules/loaders/loader_lbm.c im->data = malloc(im->w * im->h * sizeof(DATA32)); h 571 src/modules/loaders/loader_lbm.c nexty = ((im->h * gran) / 100); h 576 src/modules/loaders/loader_lbm.c for (y = 0; y < im->h; y++) h 583 src/modules/loaders/loader_lbm.c if (progress && (y >= nexty || y == im->h - 1)) h 586 src/modules/loaders/loader_lbm.c (im, (char)((100 * (y + 1)) / im->h), 0, prevy, im->w, h 594 src/modules/loaders/loader_lbm.c nexty = ((im->h * gran) / 100); h 607 src/modules/loaders/loader_lbm.c im->w = im->h = 0; h 20 src/modules/loaders/loader_png.c int w, h; h 73 src/modules/loaders/loader_png.c im->h = (int)h32; h 105 src/modules/loaders/loader_png.c h = im->h; h 145 src/modules/loaders/loader_png.c im->data = malloc(w * h * sizeof(DATA32)); h 153 src/modules/loaders/loader_png.c lines = (unsigned char **)malloc(h * sizeof(unsigned char *)); h 164 src/modules/loaders/loader_png.c for (i = 0; i < h; i++) h 177 src/modules/loaders/loader_png.c for (y = 0; y < h; y += nrows) h 181 src/modules/loaders/loader_png.c per = (((pass * h) + y) * 100) / (h * number_passes); h 288 src/modules/loaders/loader_png.c png_set_IHDR(png_ptr, info_ptr, im->w, im->h, 8, h 299 src/modules/loaders/loader_png.c png_set_IHDR(png_ptr, info_ptr, im->w, im->h, 8, PNG_COLOR_TYPE_RGB, h 355 src/modules/loaders/loader_png.c for (y = 0; y < im->h; y++) h 375 src/modules/loaders/loader_png.c per = 100 * (pass + y / (float)im->h) / num_passes; h 9 src/modules/loaders/loader_pnm.c int h = 0; h 12 src/modules/loaders/loader_pnm.c per = (char)((100 * y) / im->h); h 13 src/modules/loaders/loader_pnm.c if (((per - *pper) >= progress_granularity) || (y == (im->h - 1))) h 15 src/modules/loaders/loader_pnm.c h = y - *py; h 18 src/modules/loaders/loader_pnm.c if (y == (im->h - 1)) h 19 src/modules/loaders/loader_pnm.c h++; h 21 src/modules/loaders/loader_pnm.c rc = !progress(im, per, 0, *py, im->w, h); h 35 src/modules/loaders/loader_pnm.c int w = 0, h = 0, v = 255, c = 0; h 108 src/modules/loaders/loader_pnm.c h = atoi(buf); h 122 src/modules/loaders/loader_pnm.c im->h = h; h 123 src/modules/loaders/loader_pnm.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 149 src/modules/loaders/loader_pnm.c ptr2 = im->data = malloc(w * h * sizeof(DATA32)); h 159 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 198 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 270 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 342 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 373 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 415 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 457 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 490 src/modules/loaders/loader_pnm.c for (y = 0; y < h; y++) h 573 src/modules/loaders/loader_pnm.c im->w, im->h); h 574 src/modules/loaders/loader_pnm.c for (y = 0; y < im->h; y++) h 601 src/modules/loaders/loader_pnm.c im->w, im->h); h 602 src/modules/loaders/loader_pnm.c for (y = 0; y < im->h; y++) h 19 src/modules/loaders/loader_tga.c static void tgaflip(DATA32 * in, int w, int h); h 96 src/modules/loaders/loader_tga.c header.heightLo = im->h & 0xFF; h 98 src/modules/loaders/loader_tga.c header.heightHi = im->h >> 8; h 109 src/modules/loaders/loader_tga.c buf = malloc(im->w * im->h * ((im->flags & F_HAS_ALPHA) ? 4 : 3)); h 121 src/modules/loaders/loader_tga.c for (y = 0; y < im->h; y++) h 153 src/modules/loaders/loader_tga.c per = (char)((100 * y) / im->h); h 154 src/modules/loaders/loader_tga.c if (((per - pper) >= progress_granularity) || (y == (im->h - 1))) h 173 src/modules/loaders/loader_tga.c fwrite(buf, 1, im->w * im->h * ((im->flags & F_HAS_ALPHA) ? 4 : 3), f); h 282 src/modules/loaders/loader_tga.c im->h = (header->heightHi << 8) | header->heightLo; h 284 src/modules/loaders/loader_tga.c if (!IMAGE_DIMENSIONS_OK(im->w, im->h)) h 310 src/modules/loaders/loader_tga.c im->data = malloc(im->w * im->h * sizeof(DATA32)); h 340 src/modules/loaders/loader_tga.c for (y = 0; y < im->h; y++) /* for each row */ h 347 src/modules/loaders/loader_tga.c dataptr = im->data + ((im->h - y - 1) * im->w); h 391 src/modules/loaders/loader_tga.c progress(im, 100, 0, 0, im->w, im->h); h 399 src/modules/loaders/loader_tga.c DATA32 *final_pixel = dataptr + im->w * im->h; h 500 src/modules/loaders/loader_tga.c tgaflip(im->data, im->w, im->h); h 503 src/modules/loaders/loader_tga.c progress(im, 100, 0, 0, im->w, im->h); h 535 src/modules/loaders/loader_tga.c tgaflip(DATA32 * in, int w, int h) h 541 src/modules/loaders/loader_tga.c adv2 = in + (w * (h - 1)); h 543 src/modules/loaders/loader_tga.c for (y = 0; y < (h / 2); y++) h 27 src/modules/loaders/loader_tiff.c uint32 y, uint32 w, uint32 h); h 31 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h, h 34 src/modules/loaders/loader_tiff.c (*(((TIFFRGBAImage_Extra *) img)->put_contig)) (img, rast, x, y, w, h, h 36 src/modules/loaders/loader_tiff.c raster((TIFFRGBAImage_Extra *) img, rast, x, y, w, h); h 41 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h, h 47 src/modules/loaders/loader_tiff.c (img, rast, x, y, w, h, fromskew, toskew, r, g, b, a); h 48 src/modules/loaders/loader_tiff.c raster((TIFFRGBAImage_Extra *) img, rast, x, y, w, h); h 55 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h) h 65 src/modules/loaders/loader_tiff.c image_height = img->image->h; h 69 src/modules/loaders/loader_tiff.c x, y, w, h, image_width, image_height); h 84 src/modules/loaders/loader_tiff.c for (j = 0; j < h; j++) h 111 src/modules/loaders/loader_tiff.c for (j = 0; j < h; j++) h 139 src/modules/loaders/loader_tiff.c for (i = 0; i < h; i++) h 166 src/modules/loaders/loader_tiff.c for (i = 0; i < h; i++) h 205 src/modules/loaders/loader_tiff.c per = (char)(((real_y + h - 1) * 100) / image_height); h 208 src/modules/loaders/loader_tiff.c (real_y + h) >= image_height) h 211 src/modules/loaders/loader_tiff.c (real_y + h) - img->py); h 212 src/modules/loaders/loader_tiff.c img->py = real_y + h; h 228 src/modules/loaders/loader_tiff.c y = image_height - y - h; h 231 src/modules/loaders/loader_tiff.c y = image_height - y - h; h 234 src/modules/loaders/loader_tiff.c per = (char)((w * h * 100) / img->num_pixels); h 236 src/modules/loaders/loader_tiff.c img->progress(img->image, img->pper, x, y, w, h); h 243 src/modules/loaders/loader_tiff.c y = y + 1 - h; h 246 src/modules/loaders/loader_tiff.c y = image_width - y - h; h 251 src/modules/loaders/loader_tiff.c per = (char)((w * h * 100) / img->num_pixels); h 253 src/modules/loaders/loader_tiff.c img->progress(img->image, img->pper, y, x, h, w); h 317 src/modules/loaders/loader_tiff.c im->h = rgba_image.rgba.height; h 324 src/modules/loaders/loader_tiff.c im->h = rgba_image.rgba.width; h 327 src/modules/loaders/loader_tiff.c if (!IMAGE_DIMENSIONS_OK(im->w, im->h)) h 329 src/modules/loaders/loader_tiff.c rgba_image.num_pixels = num_pixels = im->w * im->h; h 433 src/modules/loaders/loader_tiff.c TIFFSetField(tif, TIFFTAG_IMAGELENGTH, im->h); h 525 src/modules/loaders/loader_tiff.c for (y = 0; y < im->h; y++) h 565 src/modules/loaders/loader_tiff.c per = (char)((100 * y) / im->h); h 100 src/modules/loaders/loader_xpm.c int pc, c, i, j, k, w, h, ncolors, cpp, comment, transp, h 146 src/modules/loaders/loader_xpm.c h = 10; h 188 src/modules/loaders/loader_xpm.c sscanf(line, "%i %i %i %i", &w, &h, &ncolors, &cpp); h 207 src/modules/loaders/loader_xpm.c if (!IMAGE_DIMENSIONS_OK(w, h)) h 211 src/modules/loaders/loader_xpm.c w, h); h 218 src/modules/loaders/loader_xpm.c im->h = h; h 232 src/modules/loaders/loader_xpm.c per_inc = 100.0 / (((float)w) * h); h 238 src/modules/loaders/loader_xpm.c im->h); h 248 src/modules/loaders/loader_xpm.c pixels = w * h; h 652 src/modules/loaders/loader_xpm.c if (((ptr) && ((ptr - im->data) >= (w * h * sizeof(DATA32)))) || h 659 src/modules/loaders/loader_xpm.c progress(im, 100, 0, last_y, w, h);