x 34 src/bin/imlib2_bumpmap.c int w, h, x, y; x 87 src/bin/imlib2_bumpmap.c x = -9999; x 104 src/bin/imlib2_bumpmap.c x = ev.xmotion.x; x 125 src/bin/imlib2_bumpmap.c "/data/images/imlib2.png);", &x, &y); x 40 src/bin/imlib2_grab.c int x, y; x 125 src/bin/imlib2_grab.c XGetGeometry(disp, draw, &rr, &x, &y, &w, &h, &bw, &depth); x 133 src/bin/imlib2_grab.c draw, x, y, w, h, bw, depth); x 794 src/bin/imlib2_show.c int x, y, i, j; x 951 src/bin/imlib2_show.c x = -9999; x 955 src/bin/imlib2_show.c px = x; x 964 src/bin/imlib2_show.c ev.xexpose.x, x 978 src/bin/imlib2_show.c x = ev.xmotion.x; x 1064 src/bin/imlib2_show.c uu = imlib_image_draw_line(200, 200, x, y, 1); x 1168 src/bin/imlib2_show.c (double)x); x 1270 src/bin/imlib2_show.c cp = imlib_text_get_index_and_location(str, x - 50, y - 50, x 1291 src/bin/imlib2_show.c if ((px != x) || (py != y)) x 1305 src/bin/imlib2_show.c up = imlib_update_append_rect(up, x + (i * iw * 2), x 1314 src/bin/imlib2_show.c x + (i * iw * 2), x 1337 src/bin/imlib2_show.c if ((px != x) || (py != y)) x 102 src/bin/imlib2_test.c ev.xexpose.x, x 140 src/bin/imlib2_test.c mouse_x = ev.xmotion.x; x 31 src/bin/imlib2_view.c #define SCALE(x) (int)(scale * (x) + .5) x 46 src/bin/imlib2_view.c int x, y, onoff; x 67 src/bin/imlib2_view.c for (x = 0; x < image_width; x += 8) x 73 src/bin/imlib2_view.c imlib_image_fill_rectangle(x, y, 8, 8); x 188 src/bin/imlib2_view.c int x, y, b, count, fdsize, xfd, timeout = 0; x 213 src/bin/imlib2_view.c x = ev.xbutton.x; x 218 src/bin/imlib2_view.c zx = x; x 233 src/bin/imlib2_view.c x = ev.xbutton.x; x 286 src/bin/imlib2_view.c x = ev.xmotion.x; x 292 src/bin/imlib2_view.c zoom = ((double)x - (double)zx) / 32.0; x 159 src/lib/Imlib2.h EAPI void imlib_context_set_cliprect(int x, int y, int w, int h); x 189 src/lib/Imlib2.h EAPI void imlib_context_get_cliprect(int *x, int *y, int *w, int *h); x 230 src/lib/Imlib2.h EAPI void imlib_image_query_pixel(int x, int y, Imlib_Color * color_return); x 231 src/lib/Imlib2.h EAPI void imlib_image_query_pixel_hsva(int x, int y, float *hue, float *saturation, float *value, int *alpha); x 232 src/lib/Imlib2.h EAPI void imlib_image_query_pixel_hlsa(int x, int y, float *hue, float *lightness, float *saturation, int *alpha); x 233 src/lib/Imlib2.h EAPI void imlib_image_query_pixel_cmya(int x, int y, int *cyan, int *magenta, int *yellow, int *alpha); x 243 src/lib/Imlib2.h EAPI void imlib_render_image_on_drawable(int x, int y); x 244 src/lib/Imlib2.h EAPI void imlib_render_image_on_drawable_at_size(int x, int y, int width, x 249 src/lib/Imlib2.h int source_height, int x, x 268 src/lib/Imlib2.h EAPI Imlib_Image imlib_create_image_from_drawable(Pixmap mask, int x, int y, x 271 src/lib/Imlib2.h EAPI Imlib_Image imlib_create_image_from_ximage(XImage *image, XImage *mask, int x, int y, x 284 src/lib/Imlib2.h EAPI char imlib_copy_drawable_to_image(Pixmap mask, int x, int y, int width, x 289 src/lib/Imlib2.h EAPI Imlib_Image imlib_create_cropped_image(int x, int y, int width, x 299 src/lib/Imlib2.h EAPI Imlib_Updates imlib_update_append_rect(Imlib_Updates updates, int x, int y, x 309 src/lib/Imlib2.h EAPI void imlib_updates_set_coordinates(Imlib_Updates updates, int x, int y, x 311 src/lib/Imlib2.h EAPI void imlib_render_image_updates_on_drawable(Imlib_Updates updates, int x, x 337 src/lib/Imlib2.h EAPI void imlib_text_draw(int x, int y, const char *text); x 338 src/lib/Imlib2.h EAPI void imlib_text_draw_with_return_metrics(int x, int y, const char *text, x 352 src/lib/Imlib2.h EAPI int imlib_text_get_index_and_location(const char *text, int x, int y, x 388 src/lib/Imlib2.h EAPI void imlib_apply_color_modifier_to_rectangle(int x, int y, int width, x 392 src/lib/Imlib2.h EAPI Imlib_Updates imlib_image_draw_pixel(int x, int y, char make_updates); x 395 src/lib/Imlib2.h EAPI void imlib_image_draw_rectangle(int x, int y, int width, int height); x 396 src/lib/Imlib2.h EAPI void imlib_image_fill_rectangle(int x, int y, int width, int height); x 397 src/lib/Imlib2.h EAPI void imlib_image_copy_alpha_to_image(Imlib_Image image_source, int x, x 400 src/lib/Imlib2.h int x, int y, int width, x 404 src/lib/Imlib2.h EAPI void imlib_image_scroll_rect(int x, int y, int width, int height, x 406 src/lib/Imlib2.h EAPI void imlib_image_copy_rect(int x, int y, int width, int height, int new_x, x 412 src/lib/Imlib2.h EAPI void imlib_polygon_add_point(ImlibPolygon poly, int x, int y); x 417 src/lib/Imlib2.h EAPI unsigned char imlib_polygon_contains_point(ImlibPolygon poly, int x, x 428 src/lib/Imlib2.h EAPI void imlib_image_fill_color_range_rectangle(int x, int y, int width, x 430 src/lib/Imlib2.h EAPI void imlib_image_fill_hsva_color_range_rectangle(int x, int y, int width, x 200 src/lib/api.c context->cliprect.x = 0; x 297 src/lib/api.c imlib_context_set_cliprect(int x, int y, int w, int h) x 300 src/lib/api.c ctx->cliprect.x = x; x 307 src/lib/api.c imlib_context_get_cliprect(int *x, int *y, int *w, int *h) x 310 src/lib/api.c *x = ctx->cliprect.x; x 1806 src/lib/api.c imlib_render_image_on_drawable(int x, int y) x 1819 src/lib/api.c im->h, x, y, im->w, im->h, 0, ctx->dither, ctx->blend, x 1835 src/lib/api.c imlib_render_image_on_drawable_at_size(int x, int y, int width, int height) x 1849 src/lib/api.c im->h, x, y, width, height, ctx->anti_alias, x 1873 src/lib/api.c int source_height, int x, int y, x 1888 src/lib/api.c source_width, source_height, x, y, width, height, x 1962 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 2085 src/lib/api.c imlib_create_image_from_drawable(Pixmap mask, int x, int y, int width, x 2102 src/lib/api.c ctx->colormap, ctx->depth, x, y, width, x 2132 src/lib/api.c imlib_create_image_from_ximage(XImage * image, XImage * mask, int x, int y, x 2145 src/lib/api.c ctx->depth, x, y, width, height, need_to_grab_x); x 2185 src/lib/api.c int x, xx; x 2226 src/lib/api.c for (x = 0; x < rect_num; x++) x 2227 src/lib/api.c XFillRectangle(ctx->display, mask, mgc, rect[x].x, rect[x].y, x 2228 src/lib/api.c rect[x].width, rect[x].height); x 2233 src/lib/api.c for (x = 0; x < destination_width; x++) x 2235 src/lib/api.c xx = (source_width * x) / destination_width; x 2237 src/lib/api.c 1, source_height, x, 0); x 2239 src/lib/api.c XCopyArea(ctx->display, mask, m, mgc, xx, 0, 1, source_height, x, 0); x 2241 src/lib/api.c for (x = 0; x < destination_height; x++) x 2243 src/lib/api.c xx = (source_height * x) / destination_height; x 2244 src/lib/api.c XCopyArea(ctx->display, p, p, gc, 0, xx, destination_width, 1, 0, x); x 2247 src/lib/api.c x); x 2295 src/lib/api.c imlib_copy_drawable_to_image(Pixmap mask, int x, int y, int width, int height, x 2320 src/lib/api.c if (x < 0) x 2322 src/lib/api.c width += x; x 2323 src/lib/api.c pre_adj = x; x 2324 src/lib/api.c x = 0; x 2331 src/lib/api.c x -= destination_x - pre_adj; x 2361 src/lib/api.c ctx->colormap, ctx->depth, x, y, width, x 2426 src/lib/api.c imlib_create_cropped_image(int x, int y, int width, int height) x 2448 src/lib/api.c __imlib_BlendImageToImage(im_old, im, 0, 0, 1, x, y, abs(width), x 2451 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 2456 src/lib/api.c __imlib_BlendImageToImage(im_old, im, 0, 0, 0, x, y, abs(width), x 2459 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 2510 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 2519 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 2555 src/lib/api.c imlib_update_append_rect(Imlib_Updates updates, int x, int y, int w, int h) x 2561 src/lib/api.c return (Imlib_Updates) __imlib_AddUpdate(u, x, y, w, h); x 2658 src/lib/api.c *x_return = u->x; x 2677 src/lib/api.c imlib_updates_set_coordinates(Imlib_Updates updates, int x, int y, int width, x 2685 src/lib/api.c u->x = x; x 2702 src/lib/api.c imlib_render_image_updates_on_drawable(Imlib_Updates updates, int x, int y) x 2722 src/lib/api.c ctx->colormap, ctx->depth, u->x, u->y, u->w, u->h, x 2723 src/lib/api.c x + u->x, y + u->y, u->w, u->h, 0, ctx->dither, 0, x 3098 src/lib/api.c imlib_text_draw(int x, int y, const char *text) x 3101 src/lib/api.c imlib_text_draw_with_return_metrics(x, y, text, NULL, NULL, NULL, NULL); x 3121 src/lib/api.c imlib_text_draw_with_return_metrics(int x, int y, const char *text, x 3148 src/lib/api.c imlib_render_str(im, fn, x, y, text, (DATA8) ctx->color.red, x 3154 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 3376 src/lib/api.c imlib_text_get_index_and_location(const char *text, int x, int y, x 3401 src/lib/api.c xx = x; x 3405 src/lib/api.c xx = w - x; x 3410 src/lib/api.c yy = w - x; x 3414 src/lib/api.c yy = x; x 3857 src/lib/api.c imlib_apply_color_modifier_to_rectangle(int x, int y, int width, int height) x 3867 src/lib/api.c if (x < 0) x 3869 src/lib/api.c width += x; x 3870 src/lib/api.c x = 0; x 3874 src/lib/api.c if ((x + width) > im->w) x 3875 src/lib/api.c width = (im->w - x); x 3894 src/lib/api.c __imlib_DataCmodApply(im->data + (y * im->w) + x, width, height, x 3900 src/lib/api.c imlib_image_draw_pixel(int x, int y, char make_updates) x 3918 src/lib/api.c return (Imlib_Updates) __imlib_Point_DrawToImage(x, y, color, im, x 3919 src/lib/api.c ctx->cliprect.x, x 3961 src/lib/api.c ctx->cliprect.x, x 3982 src/lib/api.c imlib_image_draw_rectangle(int x, int y, int width, int height) x 3999 src/lib/api.c __imlib_Rectangle_DrawToImage(x, y, width, height, color, x 4000 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 4016 src/lib/api.c imlib_image_fill_rectangle(int x, int y, int width, int height) x 4033 src/lib/api.c __imlib_Rectangle_FillToImage(x, y, width, height, color, x 4034 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 4049 src/lib/api.c imlib_image_copy_alpha_to_image(Imlib_Image image_source, int x, int y) x 4069 src/lib/api.c __imlib_copy_alpha_data(im, im2, 0, 0, im->w, im->h, x, y); x 4086 src/lib/api.c imlib_image_copy_alpha_rectangle_to_image(Imlib_Image image_source, int x, x 4108 src/lib/api.c __imlib_copy_alpha_data(im, im2, x, y, width, height, destination_x, x 4125 src/lib/api.c imlib_image_scroll_rect(int x, int y, int width, int height, int delta_x, x 4140 src/lib/api.c xx = x; x 4141 src/lib/api.c nx = x + delta_x; x 4146 src/lib/api.c xx = x - delta_x; x 4147 src/lib/api.c nx = x; x 4179 src/lib/api.c imlib_image_copy_rect(int x, int y, int width, int height, int new_x, int new_y) x 4191 src/lib/api.c __imlib_copy_image_data(im, x, y, width, height, new_x, new_y); x 4251 src/lib/api.c imlib_image_fill_color_range_rectangle(int x, int y, int width, int height, x 4267 src/lib/api.c __imlib_DrawGradient(im, x, y, width, height, x 4270 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 4289 src/lib/api.c imlib_image_fill_hsva_color_range_rectangle(int x, int y, int width, int height, x 4305 src/lib/api.c __imlib_DrawHsvaGradient(im, x, y, width, height, x 4308 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 4321 src/lib/api.c imlib_image_query_pixel(int x, int y, Imlib_Color * color_return) x 4334 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) x 4342 src/lib/api.c p = im->data + (im->w * y) + x; x 4361 src/lib/api.c imlib_image_query_pixel_hsva(int x, int y, float *hue, float *saturation, x 4375 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) x 4383 src/lib/api.c p = im->data + (im->w * y) + x; x 4404 src/lib/api.c imlib_image_query_pixel_hlsa(int x, int y, float *hue, float *lightness, x 4418 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) x 4426 src/lib/api.c p = im->data + (im->w * y) + x; x 4448 src/lib/api.c imlib_image_query_pixel_cmya(int x, int y, int *cyan, int *magenta, int *yellow, x 4461 src/lib/api.c if ((x < 0) || (x >= im->w) || (y < 0) || (y >= im->h)) x 4469 src/lib/api.c p = im->data + (im->w * y) + x; x 4666 src/lib/api.c int x, y, dx, dy, sz; x 4684 src/lib/api.c x = (int)(x1 * _ROTATE_PREC_MAX); x 4702 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, x 4707 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); x 4712 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); x 4723 src/lib/api.c int x, y, dx, dy, sz; x 4748 src/lib/api.c x = (int)(x1 * _ROTATE_PREC_MAX); x 4773 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, x 4778 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); x 4783 src/lib/api.c im_old->h, im->w, sz, sz, x, y, dx, dy, -dy, dx); x 4837 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 4926 src/lib/api.c ctx->cliprect.x, ctx->cliprect.y, x 5188 src/lib/api.c imlib_polygon_add_point(ImlibPolygon poly, int x, int y) x 5192 src/lib/api.c __imlib_polygon_add_point((ImlibPoly) poly, x, y); x 5236 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 5266 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 5322 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 5359 src/lib/api.c im, ctx->cliprect.x, ctx->cliprect.y, x 5373 src/lib/api.c imlib_polygon_contains_point(ImlibPolygon poly, int x, int y) x 5378 src/lib/api.c return __imlib_polygon_contains_point((ImlibPoly) poly, x, y); x 49 src/lib/blend.h #define INTERSECTS(x, y, w, h, xx, yy, ww, hh) \ x 50 src/lib/blend.h ((x < (xx + ww)) && \ x 52 src/lib/blend.h ((x + w) > xx) && \ x 81 src/lib/colormod.c int x, y; x 90 src/lib/colormod.c for (x = 0; x < w; x++) x 105 src/lib/colormod.c for (x = 0; x < w; x++) x 37 src/lib/common.h #define CLIP(x, y, w, h, xx, yy, ww, hh) \ x 38 src/lib/common.h if (x < (xx)) {w += (x - (xx)); x = (xx);} \ x 40 src/lib/common.h if ((x + w) > ((xx) + (ww))) {w = (ww) - (x - xx);} \ x 45 src/lib/common.h #define round(x) ((x)>=0?(int)((x)+0.5):(int)((x)-0.5)) x 15 src/lib/ellipse.c int xx, yy, x, y, prev_x, prev_y, ty, by, lx, rx; x 102 src/lib/ellipse.c x = xx >> 16; x 103 src/lib/ellipse.c x += ((xx - (x << 16)) >> 15); x 105 src/lib/ellipse.c if (prev_x != x) x 107 src/lib/ellipse.c prev_x = x; x 146 src/lib/ellipse.c int xx, yy, x, y, prev_x, prev_y, ty, by, lx, rx; x 255 src/lib/ellipse.c x = xx >> 16; x 257 src/lib/ellipse.c if (prev_x != x) x 259 src/lib/ellipse.c prev_x = x; x 267 src/lib/ellipse.c A_VAL(&col1) = (xx - (x << 16)) >> 8; x 280 src/lib/ellipse.c if (IN_RANGE(lx + 1, ty, clw, clh) && (x != y)) x 283 src/lib/ellipse.c if (IN_RANGE(rx - 1, ty, clw, clh) && (x != y)) x 290 src/lib/ellipse.c if (IN_RANGE(lx + 1, by, clw, clh) && (x != y)) x 293 src/lib/ellipse.c if (IN_RANGE(rx - 1, by, clw, clh) && (x != y)) x 319 src/lib/ellipse.c int xx, yy, x, y, prev_x, prev_y, ty, by, lx, rx; x 425 src/lib/ellipse.c x = xx >> 16; x 426 src/lib/ellipse.c x += ((xx - (x << 16)) >> 15); x 428 src/lib/ellipse.c if (prev_x != x) x 430 src/lib/ellipse.c prev_x = x; x 475 src/lib/ellipse.c int xx, yy, x, y, prev_x, prev_y, ty, by, lx, rx; x 587 src/lib/ellipse.c x = xx >> 16; x 589 src/lib/ellipse.c if (prev_x != x) x 591 src/lib/ellipse.c prev_x = x; x 617 src/lib/ellipse.c A_VAL(&col1) = ((xx - (x << 16)) >> 8); x 649 src/lib/ellipse.c int x, y, w, h; x 685 src/lib/ellipse.c x = xc - a - 1; x 691 src/lib/ellipse.c x--; x 695 src/lib/ellipse.c CLIP_RECT_TO_RECT(x, y, w, h, clx, cly, clw, clh); x 717 src/lib/ellipse.c int x, y, w, h; x 753 src/lib/ellipse.c x = xc - a - 1; x 759 src/lib/ellipse.c x--; x 763 src/lib/ellipse.c CLIP_RECT_TO_RECT(x, y, w, h, clx, cly, clw, clh); x 63 src/lib/filter.c __imlib_FilterSetColor(ImlibFilterColor * fil, int x, int y, x 72 src/lib/filter.c if ((pix[i].xoff == x) && (pix[i].yoff == y)) x 101 src/lib/filter.c pix[i].xoff = x; x 149 src/lib/filter.c int w, int h, int x, int y) x 159 src/lib/filter.c off = x + pix->xoff; x 179 src/lib/filter.c #define SATURATE(x) ((((x) | (!((x) >> 8) - 1)) & (~((x) >> 31))) & 0xff) x 187 src/lib/filter.c int x, y, a, r, g, b, ad, rd, gd, bd; x 204 src/lib/filter.c for (x = 0; x < im->w; x++) x 209 src/lib/filter.c a = __imlib_FilterGet(&fil->alpha, im->data, im->w, im->h, x, x 216 src/lib/filter.c r = __imlib_FilterGet(&fil->red, im->data, im->w, im->h, x, x 223 src/lib/filter.c g = __imlib_FilterGet(&fil->green, im->data, im->w, im->h, x, x 230 src/lib/filter.c b = __imlib_FilterGet(&fil->blue, im->data, im->w, im->h, x, x 31 src/lib/filter.h __imlib_FilterSet(ImlibFilterColor *fil, int x, int y, x 34 src/lib/filter.h __imlib_FilterSetColor(ImlibFilterColor * fil, int x, int y, x 102 src/lib/font.h const char *text, int x, int y, x 115 src/lib/font.h ImlibFont * fn, int x, int y, x 279 src/lib/font_draw.c imlib_font_draw(ImlibImage * dst, DATA32 col, ImlibFont * fn, int x, int y, x 335 src/lib/font_draw.c pen_x = x << 8; x 357 src/lib/font_draw.c pen_x += delta.x << 2; x 445 src/lib/font_draw.c pen_x += fg->glyph->advance.x >> 8; x 450 src/lib/font_draw.c *nextx = (pen_x >> 8) - x; x 54 src/lib/font_query.c pen_x += delta.x << 2; x 69 src/lib/font_query.c pen_x += fg->glyph->advance.x >> 8; x 135 src/lib/font_query.c pen_x += delta.x << 2; x 145 src/lib/font_query.c pen_x += fg->glyph->advance.x >> 8; x 193 src/lib/font_query.c kern = delta.x << 2; x 209 src/lib/font_query.c advw = ((fg->glyph->advance.x + (kern << 8)) >> 16); x 231 src/lib/font_query.c pen_x += fg->glyph->advance.x >> 8; x 239 src/lib/font_query.c imlib_font_query_text_at_pos(ImlibFont * fn, const char *text, int x, int y, x 276 src/lib/font_query.c kern = delta.x << 2; x 292 src/lib/font_query.c advw = ((fg->glyph->advance.x + (kern << 8)) >> 16); x 301 src/lib/font_query.c if ((x >= chr_x) && (x <= (chr_x + chr_w)) && (y > -asc) && (y < desc)) x 314 src/lib/font_query.c pen_x += fg->glyph->advance.x >> 8; x 26 src/lib/grab.c int depth, int x, int y, int w, int h, char grab) x 39 src/lib/grab.c origx = x; x 57 src/lib/grab.c #define SWAP32(x) (x) = \ x 58 src/lib/grab.c ((((int)(x) & 0x000000ff ) << 24) |\ x 59 src/lib/grab.c (((int)(x) & 0x0000ff00 ) << 8) |\ x 60 src/lib/grab.c (((int)(x) & 0x00ff0000 ) >> 8) |\ x 61 src/lib/grab.c (((int)(x) & 0xff000000 ) >> 24)) x 62 src/lib/grab.c #define SWAP16(x) (x) = \ x 63 src/lib/grab.c ((((short)(x) & 0x00ff ) << 8) |\ x 64 src/lib/grab.c (((short)(x) & 0xff00 ) >> 8)) x 92 src/lib/grab.c for (x = 0; x < w; x++) x 106 src/lib/grab.c for (x = 0; x < w; x++) x 133 src/lib/grab.c for (x = 0; x < w; x++) x 135 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 139 src/lib/grab.c if (XGetPixel(mxim, x, y)) x 150 src/lib/grab.c for (x = 0; x < w; x++) x 152 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 174 src/lib/grab.c #define MP(x, y) ((XGetPixel(mxim, (x), (y))) ? 0xff000000 : 0) x 192 src/lib/grab.c for (x = 0; x < (w - 1); x += 2) x 195 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 196 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 198 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 199 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 203 src/lib/grab.c if (x == (w - 1)) x 205 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 206 src/lib/grab.c *ptr++ = MP(x, y) | P1(pixel); x 211 src/lib/grab.c #define MP(x, y) (0xff000000) x 218 src/lib/grab.c for (x = 0; x < (w - 1); x += 2) x 221 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 222 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 224 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 225 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 229 src/lib/grab.c if (x == (w - 1)) x 231 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 232 src/lib/grab.c *ptr++ = MP(x, y) | P1(pixel); x 250 src/lib/grab.c #define MP(x, y) ((XGetPixel(mxim, (x), (y))) ? 0xff000000 : 0) x 268 src/lib/grab.c for (x = 0; x < (w - 1); x += 2) x 271 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 272 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 274 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 275 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 279 src/lib/grab.c if (x == (w - 1)) x 281 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 282 src/lib/grab.c *ptr++ = MP(x, y) | P1(pixel); x 287 src/lib/grab.c #define MP(x, y) (0xff000000) x 294 src/lib/grab.c for (x = 0; x < (w - 1); x += 2) x 297 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 298 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 300 src/lib/grab.c *ptr++ = MP(x, y) | P1(*src); x 301 src/lib/grab.c *ptr++ = MP(x + 1, y) | P2(*src); x 305 src/lib/grab.c if (x == (w - 1)) x 307 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 308 src/lib/grab.c *ptr++ = MP(x, y) | P1(pixel); x 321 src/lib/grab.c for (x = 0; x < w; x++) x 323 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 327 src/lib/grab.c if (XGetPixel(mxim, x, y)) x 338 src/lib/grab.c for (x = 0; x < w; x++) x 340 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 356 src/lib/grab.c for (x = 0; x < w; x++) x 358 src/lib/grab.c pixel = XGetPixel(xim, x, y) & 0x00ffffff; x 359 src/lib/grab.c if (XGetPixel(mxim, x, y)) x 370 src/lib/grab.c for (x = 0; x < w; x++) x 372 src/lib/grab.c pixel = XGetPixel(xim, x, y); x 388 src/lib/grab.c for (x = 0; x < w; x++) x 392 src/lib/grab.c if (XGetPixel(mxim, x, y)) x 405 src/lib/grab.c for (x = 0; x < w; x++) x 423 src/lib/grab.c for (x = 0; x < w; x++) x 426 src/lib/grab.c if (XGetPixel(mxim, x, y)) x 439 src/lib/grab.c for (x = 0; x < w; x++) x 457 src/lib/grab.c for (x = 0; x < w; x++) x 460 src/lib/grab.c if (!XGetPixel(mxim, x, y)) x 473 src/lib/grab.c for (x = 0; x < w; x++) x 489 src/lib/grab.c for (x = 0; x < w; x++) x 492 src/lib/grab.c if (!XGetPixel(mxim, x, y)) x 504 src/lib/grab.c for (x = 0; x < w; x++) x 523 src/lib/grab.c Colormap cm, int depth, int x, int y, x 583 src/lib/grab.c width = src_w - x; x 592 src/lib/grab.c if ((src_x + x + width) > ratt.width) x 593 src/lib/grab.c width = ratt.width - (src_x + x); x 597 src/lib/grab.c if (x < 0) x 599 src/lib/grab.c clipx = -x; x 600 src/lib/grab.c width += x; x 601 src/lib/grab.c x = 0; x 611 src/lib/grab.c if ((src_x + x) < 0) x 613 src/lib/grab.c clipx -= (src_x + x); x 614 src/lib/grab.c width += (src_x + x); x 615 src/lib/grab.c x = -src_x; x 641 src/lib/grab.c (r[0].x == 0) && (r[0].y == 0) && x 655 src/lib/grab.c r[i].x - x, r[i].y - y, x 670 src/lib/grab.c xim = __imlib_ShmGetXImage(d, v, p, xatt.depth, x, y, w, h, &shminfo); x 674 src/lib/grab.c xim = XGetImage(d, p, x, y, w, h, 0xffffffff, ZPixmap); x 740 src/lib/grab.c d, xim, mxim, v, xatt.depth, x, y, w, h, 0); x 7 src/lib/grab.h Colormap cm, int depth, int x, x 13 src/lib/grab.h Visual * v, int depth, int x, x 231 src/lib/grad.c __imlib_DrawGradient(ImlibImage * im, int x, int y, int w, int h, x 243 src/lib/grad.c if (x < 0) x 245 src/lib/grad.c w += x; x 246 src/lib/grad.c xoff = -x; x 247 src/lib/grad.c x = 0; x 251 src/lib/grad.c if ((x + w) > im->w) x 252 src/lib/grad.c w = (im->w - x); x 272 src/lib/grad.c px = x; x 274 src/lib/grad.c CLIP_TO(x, y, w, h, clx, cly, clw, clh); x 277 src/lib/grad.c xoff += (x - px); x 321 src/lib/grad.c p = im->data + (y * im->w) + x; x 424 src/lib/grad.c __imlib_DrawHsvaGradient(ImlibImage * im, int x, int y, int w, int h, x 436 src/lib/grad.c if (x < 0) x 438 src/lib/grad.c w += x; x 439 src/lib/grad.c xoff = -x; x 440 src/lib/grad.c x = 0; x 444 src/lib/grad.c if ((x + w) > im->w) x 445 src/lib/grad.c w = (im->w - x); x 465 src/lib/grad.c px = x; x 467 src/lib/grad.c CLIP_TO(x, y, w, h, clx, cly, clw, clh); x 470 src/lib/grad.c xoff += (x - px); x 514 src/lib/grad.c p = im->data + (y * im->w) + x; x 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); x 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); x 173 src/lib/image.h # define __imlib_DirtyPixmapsForImage(x) /* x */ x 22 src/lib/line.c __imlib_Point_DrawToImage(int x, int y, DATA32 color, x 30 src/lib/line.c if (!IN_RANGE(x, y, im->w, im->h)) x 39 src/lib/line.c if (!IN_RECT(x, y, clx, cly, clw, clh)) x 49 src/lib/line.c pfunc(color, im->data + (im->w * y) + x); x 51 src/lib/line.c return __imlib_AddUpdate(NULL, x, y, 1, 1); x 273 src/lib/line.c x = -px; px = 0; \ x 274 src/lib/line.c yy = x * dyy; \ x 292 src/lib/line.c x = xx >> 16; \ x 294 src/lib/line.c x += (xx - (x << 16)) >> 15; \ x 295 src/lib/line.c px += x; \ x 298 src/lib/line.c yy = x * dyy; \ x 311 src/lib/line.c x = px - x0; \ x 312 src/lib/line.c yy = x * dyy; \ x 348 src/lib/line.c x = xx >> 16; \ x 350 src/lib/line.c x += (xx - (x << 16)) >> 15; \ x 351 src/lib/line.c px += x; \ x 358 src/lib/line.c x = 0; \ x 360 src/lib/line.c x = (-1 - px); \ x 362 src/lib/line.c x = (clw - 1 - px); \ x 364 src/lib/line.c yy = x * dyy; \ x 372 src/lib/line.c x = xx >> 16; \ x 374 src/lib/line.c x += (xx - (x << 16)) >> 15; \ x 375 src/lib/line.c px += x; \ x 399 src/lib/line.c int px, py, x, y, prev_x, prev_y; x 476 src/lib/line.c x = (xx >> 16); x 477 src/lib/line.c x += ((xx - (x << 16)) >> 15); x 478 src/lib/line.c if (prev_x != x) x 480 src/lib/line.c prev_x = x; x 514 src/lib/line.c int px, py, x, y, prev_x, prev_y; x 611 src/lib/line.c x = (xx >> 16); x 612 src/lib/line.c if (prev_x != x) x 614 src/lib/line.c prev_x = x; x 629 src/lib/line.c aa = (xx - (x << 16)) >> 8; x 22 src/lib/polygon.c __imlib_polygon_add_point(ImlibPoly poly, int x, int y) x 31 src/lib/polygon.c poly->lx = poly->rx = x; x 47 src/lib/polygon.c if (x < poly->lx) x 48 src/lib/polygon.c poly->lx = x; x 49 src/lib/polygon.c if (poly->rx < x) x 50 src/lib/polygon.c poly->rx = x; x 57 src/lib/polygon.c poly->points[poly->pointcount - 1].x = x; x 143 src/lib/polygon.c __imlib_polygon_contains_point(ImlibPoly poly, int x, int y) x 158 src/lib/polygon.c out_x = poly->points[0].x; x 163 src/lib/polygon.c out_x = MAX(out_x, poly->points[i].x); x 171 src/lib/polygon.c curr_x = poly->points[cx].x; x 173 src/lib/polygon.c next_x = poly->points[nx].x; x 176 src/lib/polygon.c if (__imlib_point_on_segment(x, y, curr_x, curr_y, next_x, next_y)) x 183 src/lib/polygon.c (curr_x, curr_y, next_x, next_y, x, y, out_x, out_y)) x 188 src/lib/polygon.c (next_x, next_y, x, y, out_x, out_y)) x 195 src/lib/polygon.c (curr_x, curr_y, x, y, out_x, out_y) x 320 src/lib/polygon.c dx = (v1->x) - (v0->x); \ x 328 src/lib/polygon.c if ((v1->x) < (v0->x)) \ x 334 src/lib/polygon.c ne->xx = (v0->x) << 16; \ x 341 src/lib/polygon.c ne->xx = ((ne->dxx) * (y - (v0->y))) + ((v0->x) << 16); \ x 374 src/lib/polygon.c elx = e->v0->x; \ x 375 src/lib/polygon.c erx = e->v1->x; \ x 559 src/lib/polygon.c if ((e_lx < e->v0->x) && (e->dxx > 0)) x 560 src/lib/polygon.c e_lx = e->v0->x; x 561 src/lib/polygon.c if ((e_rx > e->v0->x) && (e->dxx < 0)) x 562 src/lib/polygon.c e_rx = e->v0->x; x 582 src/lib/polygon.c lx = e->v1->x; x 596 src/lib/polygon.c int x, ey, eyy; x 599 src/lib/polygon.c x = e_lx; x 601 src/lib/polygon.c x = e_rx; x 603 src/lib/polygon.c eyy = ((e->v0->y) << 16) + (x - (e->v0->x)) * (e->dyy); x 609 src/lib/polygon.c if (x < x0) x 610 src/lib/polygon.c x0 = x; x 613 src/lib/polygon.c if ((ey == y) && IN_SEGMENT(x, clx, clw)) x 614 src/lib/polygon.c *(s0 + x) = 255; x 618 src/lib/polygon.c x++; x 620 src/lib/polygon.c if (x > x1) x 621 src/lib/polygon.c x1 = x; x 625 src/lib/polygon.c if (x < nx0) x 626 src/lib/polygon.c nx0 = x; x 627 src/lib/polygon.c rx = e->v1->x; x 628 src/lib/polygon.c while ((ey == (y + 1)) && (x <= rx)) x 630 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 631 src/lib/polygon.c *(s1 + x) = 255; x 635 src/lib/polygon.c x++; x 637 src/lib/polygon.c if (x > nx1) x 638 src/lib/polygon.c nx1 = x; x 643 src/lib/polygon.c if (x > x1) x 644 src/lib/polygon.c x1 = x; x 647 src/lib/polygon.c if ((ey == y) && IN_SEGMENT(x, clx, clw)) x 648 src/lib/polygon.c *(s0 + x) = 255; x 652 src/lib/polygon.c x--; x 654 src/lib/polygon.c if (x < x0) x 655 src/lib/polygon.c x0 = x; x 659 src/lib/polygon.c if (x > nx1) x 660 src/lib/polygon.c nx1 = x; x 661 src/lib/polygon.c lx = e->v1->x; x 662 src/lib/polygon.c while ((ey == (y + 1)) && (x >= lx)) x 664 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 665 src/lib/polygon.c *(s1 + x) = 255; x 669 src/lib/polygon.c x--; x 671 src/lib/polygon.c if (x < nx0) x 672 src/lib/polygon.c nx0 = x; x 802 src/lib/polygon.c if ((e_lx < e->v0->x) && (e->dxx > 0)) x 803 src/lib/polygon.c e_lx = e->v0->x; x 804 src/lib/polygon.c if ((e_rx > e->v0->x) && (e->dxx < 0)) x 805 src/lib/polygon.c e_rx = e->v0->x; x 858 src/lib/polygon.c int x, ey, eyy; x 861 src/lib/polygon.c x = e_lx; x 863 src/lib/polygon.c x = e_rx; x 865 src/lib/polygon.c eyy = ((e->v0->y) << 16) + (x - (e->v0->x)) * (e->dyy); x 870 src/lib/polygon.c if (x < x0) x 871 src/lib/polygon.c x0 = x; x 877 src/lib/polygon.c if ((ey == prev_y) && IN_SEGMENT(x, clx, clw)) x 880 src/lib/polygon.c ps = s0 + x; x 885 src/lib/polygon.c x++; x 887 src/lib/polygon.c lx = x; x 893 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 896 src/lib/polygon.c ps = s0 + x; x 901 src/lib/polygon.c x++; x 903 src/lib/polygon.c if (x > x1) x 904 src/lib/polygon.c x1 = x; x 908 src/lib/polygon.c x = lx; x 909 src/lib/polygon.c if (x < nx0) x 910 src/lib/polygon.c nx0 = x; x 911 src/lib/polygon.c rx = e->v1->x; x 913 src/lib/polygon.c ((e->v0->y) << 16) + (x - x 914 src/lib/polygon.c (e->v0->x)) * (e->dyy); x 916 src/lib/polygon.c while ((ey == y) && (x <= rx)) x 921 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 924 src/lib/polygon.c ps = s1 + x; x 929 src/lib/polygon.c x++; x 931 src/lib/polygon.c if (x > nx1) x 932 src/lib/polygon.c nx1 = x; x 937 src/lib/polygon.c if (x > x1) x 938 src/lib/polygon.c x1 = x; x 944 src/lib/polygon.c if ((ey == prev_y) && IN_SEGMENT(x, clx, clw)) x 947 src/lib/polygon.c ps = s0 + x; x 952 src/lib/polygon.c x--; x 954 src/lib/polygon.c rx = x; x 960 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 963 src/lib/polygon.c ps = s0 + x; x 968 src/lib/polygon.c x--; x 970 src/lib/polygon.c if (x < x0) x 971 src/lib/polygon.c x0 = x; x 975 src/lib/polygon.c x = rx; x 976 src/lib/polygon.c if (x > nx1) x 977 src/lib/polygon.c nx1 = x; x 978 src/lib/polygon.c lx = e->v1->x; x 980 src/lib/polygon.c ((e->v0->y) << 16) + (x - (e->v0->x)) * (e->dyy); x 982 src/lib/polygon.c while ((ey == y) && (x >= lx)) x 987 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 990 src/lib/polygon.c ps = s1 + x; x 995 src/lib/polygon.c x--; x 997 src/lib/polygon.c if (x < nx0) x 998 src/lib/polygon.c nx0 = x; x 1062 src/lib/polygon.c (void)__imlib_Point_DrawToImage(poly->points[0].x, poly->points[0].y, x 1069 src/lib/polygon.c (void)__imlib_Line_DrawToImage(poly->points[0].x, poly->points[0].y, x 1070 src/lib/polygon.c poly->points[1].x, poly->points[1].y, x 1193 src/lib/polygon.c if ((le_lx < le->v0->x) && (le->dxx > 0)) x 1194 src/lib/polygon.c le_lx = le->v0->x; x 1196 src/lib/polygon.c if ((re_rx > re->v0->x) && (re->dxx < 0)) x 1197 src/lib/polygon.c re_rx = re->v0->x; x 1210 src/lib/polygon.c lx = le->v1->x; x 1222 src/lib/polygon.c int x, ey, eyy; x 1224 src/lib/polygon.c x = le_lx; x 1225 src/lib/polygon.c eyy = ((le->v0->y) << 16) + (x - (le->v0->x)) * (le->dyy); x 1236 src/lib/polygon.c x++; x 1238 src/lib/polygon.c le_rx = x; x 1239 src/lib/polygon.c if (x < x0) x 1240 src/lib/polygon.c x0 = x; x 1244 src/lib/polygon.c if (x < nx0) x 1245 src/lib/polygon.c nx0 = x; x 1246 src/lib/polygon.c rx = le->v1->x; x 1247 src/lib/polygon.c while ((ey <= (y + 1)) && (x <= rx)) x 1250 src/lib/polygon.c && IN_SEGMENT(x, clx, clw)) x 1251 src/lib/polygon.c *(s1 + x) = 255; x 1255 src/lib/polygon.c x++; x 1257 src/lib/polygon.c if (x > nx1) x 1258 src/lib/polygon.c nx1 = x; x 1268 src/lib/polygon.c x++; x 1270 src/lib/polygon.c le_rx = x; x 1271 src/lib/polygon.c if (x < x0) x 1272 src/lib/polygon.c x0 = x; x 1305 src/lib/polygon.c rx = re->v1->x; x 1317 src/lib/polygon.c int x, ey, eyy; x 1319 src/lib/polygon.c x = re_rx; x 1320 src/lib/polygon.c eyy = ((re->v0->y) << 16) + (x - (re->v0->x)) * (re->dyy); x 1331 src/lib/polygon.c x--; x 1333 src/lib/polygon.c re_lx = x; x 1334 src/lib/polygon.c if (x > x1) x 1335 src/lib/polygon.c x1 = x; x 1344 src/lib/polygon.c x--; x 1346 src/lib/polygon.c re_lx = x; x 1347 src/lib/polygon.c if (x > x1) x 1348 src/lib/polygon.c x1 = x; x 1352 src/lib/polygon.c if (x > nx1) x 1353 src/lib/polygon.c nx1 = x; x 1354 src/lib/polygon.c lx = re->v1->x; x 1355 src/lib/polygon.c while ((ey <= (y + 1)) && (x >= lx)) x 1357 src/lib/polygon.c if ((ey == (y + 1)) && IN_SEGMENT(x, clx, clw)) x 1358 src/lib/polygon.c *(s1 + x) = 255; x 1362 src/lib/polygon.c x--; x 1364 src/lib/polygon.c if (x < nx0) x 1365 src/lib/polygon.c nx0 = x; x 1513 src/lib/polygon.c if ((le_lx < le->v0->x) && (le->dxx > 0)) x 1514 src/lib/polygon.c le_lx = le->v0->x; x 1516 src/lib/polygon.c if ((re_rx > re->v0->x) && (re->dxx < 0)) x 1517 src/lib/polygon.c re_rx = re->v0->x; x 1555 src/lib/polygon.c int x, ey, eyy; x 1559 src/lib/polygon.c x = le_lx; x 1560 src/lib/polygon.c eyy = ((le->v0->y) << 16) + (x - (le->v0->x)) * (le->dyy); x 1570 src/lib/polygon.c if ((ey == prev_y) && IN_SEGMENT(x, clx, clw)) x 1573 src/lib/polygon.c ps = s0 + x; x 1578 src/lib/polygon.c x++; x 1580 src/lib/polygon.c le_rx = x; x 1584 src/lib/polygon.c if (x < nx0) x 1585 src/lib/polygon.c nx0 = x; x 1586 src/lib/polygon.c rx = le->v1->x; x 1587 src/lib/polygon.c while ((ey == y) && (x <= rx)) x 1592 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 1595 src/lib/polygon.c ps = s1 + x; x 1600 src/lib/polygon.c x++; x 1611 src/lib/polygon.c if ((ey == y) && IN_SEGMENT(x, clx, clw)) x 1614 src/lib/polygon.c ps = s0 + x; x 1619 src/lib/polygon.c x++; x 1621 src/lib/polygon.c le_rx = x; x 1679 src/lib/polygon.c int x, ey, eyy; x 1683 src/lib/polygon.c x = re_rx; x 1684 src/lib/polygon.c eyy = ((re->v0->y) << 16) + (x - (re->v0->x)) * (re->dyy); x 1694 src/lib/polygon.c if ((ey == y) && IN_SEGMENT(x, clx, clw)) x 1697 src/lib/polygon.c ps = s0 + x; x 1702 src/lib/polygon.c x--; x 1704 src/lib/polygon.c re_lx = x; x 1713 src/lib/polygon.c if ((ey == prev_y) && IN_SEGMENT(x, clx, clw)) x 1716 src/lib/polygon.c ps = s0 + x; x 1721 src/lib/polygon.c x--; x 1723 src/lib/polygon.c re_lx = x; x 1727 src/lib/polygon.c if (x > nx1) x 1728 src/lib/polygon.c nx1 = x; x 1729 src/lib/polygon.c lx = re->v1->x; x 1730 src/lib/polygon.c while ((ey == y) && (x >= lx)) x 1735 src/lib/polygon.c if (IN_SEGMENT(x, clx, clw)) x 1738 src/lib/polygon.c ps = s1 + x; x 1743 src/lib/polygon.c x--; x 1817 src/lib/polygon.c (void)__imlib_Point_DrawToImage(poly->points[0].x, poly->points[0].y, x 1824 src/lib/polygon.c (void)__imlib_Line_DrawToImage(poly->points[0].x, poly->points[0].y, x 1825 src/lib/polygon.c poly->points[1].x, poly->points[1].y, x 10 src/lib/rectangle.c __imlib_Rectangle_DrawToData(int x, int y, int rw, int rh, DATA32 color, x 28 src/lib/rectangle.c x -= clx; x 31 src/lib/rectangle.c x0 = x; x 32 src/lib/rectangle.c x1 = x + rw - 1; x 65 src/lib/rectangle.c if (x >= 0) x 67 src/lib/rectangle.c p = dst + (dstw * y0) + x; x 74 src/lib/rectangle.c if ((x + rw) <= clw) x 77 src/lib/rectangle.c p = dst + (dstw * y0) + x + rw - 1; x 87 src/lib/rectangle.c __imlib_Rectangle_FillToData(int x, int y, int rw, int rh, DATA32 color, x 101 src/lib/rectangle.c x -= clx; x 104 src/lib/rectangle.c CLIP_RECT_TO_RECT(x, y, rw, rh, 0, 0, clw, clh); x 108 src/lib/rectangle.c p = dst + (dstw * y) + x; x 117 src/lib/rectangle.c __imlib_Rectangle_DrawToImage(int x, int y, int w, int h, DATA32 color, x 125 src/lib/rectangle.c (void)__imlib_Line_DrawToImage(x, y, x + w - 1, y + h - 1, color, x 144 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, x, y, w, h); x 151 src/lib/rectangle.c __imlib_Rectangle_DrawToData(x, y, w, h, color, x 157 src/lib/rectangle.c __imlib_Rectangle_FillToImage(int x, int y, int w, int h, DATA32 color, x 165 src/lib/rectangle.c (void)__imlib_Line_DrawToImage(x, y, x + w - 1, y + h - 1, color, x 184 src/lib/rectangle.c CLIP_RECT_TO_RECT(clx, cly, clw, clh, x, y, w, h); x 191 src/lib/rectangle.c __imlib_Rectangle_FillToData(x, y, w, h, color, x 143 src/lib/rend.c unsigned int x, y, r, g, b, val, hh; x 163 src/lib/rend.c for (x = dx; x < w; x++) x 169 src/lib/rend.c if (val > _dither_88[x & 0x3][y & 0x3]) x 173 src/lib/rend.c XPutPixel(xim, x, y, val); x 212 src/lib/rend.c for (x = dx; x < w; x++) x 229 src/lib/rend.c XPutPixel(xim, x, y, val); x 1000 src/lib/rgba.c (_dither_r16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 16 ) & 0xff)]) x 1002 src/lib/rgba.c (_dither_g16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 8 ) & 0xff)]) x 1004 src/lib/rgba.c (_dither_b16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 0 ) & 0xff)]) x 1065 src/lib/rgba.c (_dither_r16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 0 ) & 0xff)]) x 1067 src/lib/rgba.c (_dither_g16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 8 ) & 0xff)]) x 1069 src/lib/rgba.c (_dither_b16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 16) & 0xff)]) x 1136 src/lib/rgba.c (_dither_r16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 16 ) & 0xff)]) x 1138 src/lib/rgba.c (_dither_g16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 8 ) & 0xff)]) x 1140 src/lib/rgba.c (_dither_b16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 0 ) & 0xff)]) x 1202 src/lib/rgba.c (_dither_r16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 0 ) & 0xff)]) x 1204 src/lib/rgba.c (_dither_g16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 8 ) & 0xff)]) x 1206 src/lib/rgba.c (_dither_b16[(((x + num) & 0x3) << 10) | ((y & 0x3) << 8) | ((src[num] >> 16 ) & 0xff)]) x 1305 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 1307 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 1309 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 1442 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 1444 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 1446 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 1452 src/lib/rgba.c _dith = (_dither_128128[(x + 0) & 0x7f][y & 0x7f] << 2) | 7; \ x 1466 src/lib/rgba.c _dith = (_dither_128128[(x + 0) & 0x7f][y & 0x7f] << 2) | 7; \ x 1470 src/lib/rgba.c _dith = (_dither_128128[(x + 1) & 0x7f][y & 0x7f] << 2) | 7; \ x 1474 src/lib/rgba.c _dith = (_dither_128128[(x + 2) & 0x7f][y & 0x7f] << 2) | 7; \ x 1478 src/lib/rgba.c _dith = (_dither_128128[(x + 3) & 0x7f][y & 0x7f] << 2) | 7; \ x 1494 src/lib/rgba.c _dith = (_dither_128128[(x + 0) & 0x7f][y & 0x7f] << 2) | 7; \ x 1498 src/lib/rgba.c _dith = (_dither_128128[(x + 1) & 0x7f][y & 0x7f] << 2) | 7; \ x 1541 src/lib/rgba.c _dith = (_dither_128128[(x + 0) & 0x7f][y & 0x7f] << 2) | 7; \ x 1545 src/lib/rgba.c _dith = (_dither_128128[(x + 1) & 0x7f][y & 0x7f] << 2) | 7; \ x 1549 src/lib/rgba.c _dith = (_dither_128128[(x + 2) & 0x7f][y & 0x7f] << 2) | 7; \ x 1553 src/lib/rgba.c _dith = (_dither_128128[(x + 3) & 0x7f][y & 0x7f] << 2) | 7; \ x 1569 src/lib/rgba.c _dith = (_dither_128128[(x + 0) & 0x7f][y & 0x7f] << 2) | 7; \ x 1573 src/lib/rgba.c _dith = (_dither_128128[(x + 1) & 0x7f][y & 0x7f] << 2) | 7; \ x 1662 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 1664 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 1666 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 1804 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 1806 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 1808 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 1946 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 1948 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 1950 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 2088 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 2090 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 2092 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 2230 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 16) & 0xff)]) x 2232 src/lib/rgba.c (_dither_g8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 8) & 0xff)]) x 2234 src/lib/rgba.c (_dither_b8[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 0) & 0xff)]) x 2311 src/lib/rgba.c (_dither_r8[(((x + num) & 0x7) << DM_BS1) | \ x 2331 src/lib/rgba.c *dest |= ((*src & 0x80000000) >> (24 + (x & 0x7))); \ x 2332 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2336 src/lib/rgba.c *dest |= ((*src & 0x80000000) >> (31 - (x & 0x7))); \ x 2337 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2346 src/lib/rgba.c *dest |= (1 << (7 - (x & 0x7))); \ x 2347 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2352 src/lib/rgba.c *dest |= (1 << (x & 0x7)); \ x 2353 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2363 src/lib/rgba.c (_dither_a1[(((x + num) & 0x7) << DM_BS1) | ((y & 0x7) << DM_BS2) | ((src[num] >> 24))]) x 2366 src/lib/rgba.c *dest |= (DITHER_RGBA_A1_LUT(0)) << (7 - (x & 0x7)); \ x 2367 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2371 src/lib/rgba.c *dest |= (DITHER_RGBA_A1_LUT(0)) << (0 + (x & 0x7)); \ x 2372 src/lib/rgba.c if ((x & 0x7) == 0x7) dest++; \ x 2450 src/lib/rgba.c int i, x, y; x 2456 src/lib/rgba.c for (x = 0; x < 8; x++) x 2463 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2465 src/lib/rgba.c _dither_a1[(x << DM_BS1) | (y << DM_BS2) | i] = x 2468 src/lib/rgba.c _dither_a1[(x << DM_BS1) | (y << DM_BS2) | i] = x 2485 src/lib/rgba.c for (x = 0; x < 4; x++) x 2489 src/lib/rgba.c if ((_dither_44[x][y] < (i & 0x7)) && (i < (256 - 8))) x 2490 src/lib/rgba.c rd16[(x << 10) | (y << 8) | i] = x 2493 src/lib/rgba.c rd16[(x << 10) | (y << 8) | i] = (i & 0xf8) << 8; x 2495 src/lib/rgba.c if ((_dither_44[x][y] < ((i & 0x3) << 1)) x 2497 src/lib/rgba.c gd16[(x << 10) | (y << 8) | i] = x 2500 src/lib/rgba.c gd16[(x << 10) | (y << 8) | i] = x 2503 src/lib/rgba.c if ((_dither_44[x][y] < (i & 0x7)) && (i < (256 - 8))) x 2504 src/lib/rgba.c bd16[(x << 10) | (y << 8) | i] = x 2507 src/lib/rgba.c bd16[(x << 10) | (y << 8) | i] = x 2519 src/lib/rgba.c for (x = 0; x < 4; x++) x 2523 src/lib/rgba.c if ((_dither_44[x][y] < (i & 0x7)) && (i < (256 - 8))) x 2524 src/lib/rgba.c rd16[(x << 10) | (y << 8) | i] = x 2527 src/lib/rgba.c rd16[(x << 10) | (y << 8) | i] = x 2530 src/lib/rgba.c if ((_dither_44[x][y] < (i & 0x7)) && (i < (256 - 8))) x 2531 src/lib/rgba.c gd16[(x << 10) | (y << 8) | i] = x 2534 src/lib/rgba.c gd16[(x << 10) | (y << 8) | i] = x 2537 src/lib/rgba.c if ((_dither_44[x][y] < (i & 0x7)) && (i < (256 - 8))) x 2538 src/lib/rgba.c bd16[(x << 10) | (y << 8) | i] = x 2541 src/lib/rgba.c bd16[(x << 10) | (y << 8) | i] = x 2556 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2563 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x1f) << 1)) x 2565 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2568 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2572 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x1f) << 1)) x 2574 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2577 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2581 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2583 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2586 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2607 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2617 src/lib/rgba.c if ((_dither_88[x][y] < (DATA8) pi) x 2620 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2622 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2624 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2629 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2631 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2633 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2643 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2650 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2652 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2655 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2659 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x1f) << 1)) x 2661 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2664 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2668 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2670 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2673 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2682 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2689 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2691 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2694 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2698 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2700 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2703 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2707 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2709 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2712 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2721 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2728 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2730 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2733 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2737 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2739 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2742 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2746 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2748 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2751 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2760 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2767 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2769 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2772 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2776 src/lib/rgba.c if ((_dither_88[x][y] < (pi & 0x3f)) x 2778 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2781 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2785 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2787 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2790 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2799 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2806 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2808 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2811 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2815 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2817 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2820 src/lib/rgba.c gd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2824 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2826 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2829 src/lib/rgba.c bd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2838 src/lib/rgba.c for (x = 0; x < DM_X; x++) x 2845 src/lib/rgba.c if ((_dither_88[x][y] < ((pi & 0x7f) >> 1)) x 2847 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2850 src/lib/rgba.c rd8[(x << DM_BS1) | (y << DM_BS2) | i] = x 2868 src/lib/rgba.c int x, y, w, h; x 2881 src/lib/rgba.c for (x = 0; x < w; x += 2) x 2892 src/lib/rgba.c for (x = 0; x < w; x += 2) x 2908 src/lib/rgba.c for (x = 0; x < w; x += 2) x 2921 src/lib/rgba.c for (x = 0; x < w; x += 2) x 2938 src/lib/rgba.c int x, y, w, h; x 2951 src/lib/rgba.c for (x = dx; x < w; x += 2) x 2962 src/lib/rgba.c for (x = dx; x < w; x += 2) x 2977 src/lib/rgba.c x = dx - 1; x 2979 src/lib/rgba.c for (x = dx; x < w; x += 2) x 2991 src/lib/rgba.c x = dx - 1; x 2993 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3010 src/lib/rgba.c int x, y, w, h; x 3023 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3034 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3050 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3063 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3080 src/lib/rgba.c int x, y, w, h; x 3093 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3104 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3119 src/lib/rgba.c x = dx - 1; x 3121 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3133 src/lib/rgba.c x = dx - 1; x 3135 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3152 src/lib/rgba.c int x, y, w, h; x 3165 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3176 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3192 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3205 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3222 src/lib/rgba.c int x, y, w, h; x 3235 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3246 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3261 src/lib/rgba.c x = dx - 1; x 3263 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3275 src/lib/rgba.c x = dx - 1; x 3277 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3294 src/lib/rgba.c int x, y, w, h; x 3307 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3318 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3334 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3347 src/lib/rgba.c for (x = 0; x < w; x += 2) x 3364 src/lib/rgba.c int x, y, w, h; x 3377 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3388 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3403 src/lib/rgba.c x = dx - 1; x 3405 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3417 src/lib/rgba.c x = dx - 1; x 3419 src/lib/rgba.c for (x = dx; x < w; x += 2) x 3436 src/lib/rgba.c int x, y, w, h; x 3448 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3459 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3471 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3473 src/lib/rgba.c for (; x < width; x++) x 3486 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3487 src/lib/rgba.c x++) x 3491 src/lib/rgba.c if (x < w) x 3493 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 3495 src/lib/rgba.c for (; x < w; x += 4) x 3500 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 3502 src/lib/rgba.c w = width - 2 - x; x 3503 src/lib/rgba.c for (; x < w; x += 4) x 3511 src/lib/rgba.c w = width - 3 - x; x 3512 src/lib/rgba.c for (; x < w; x += 4) x 3514 src/lib/rgba.c for (; x < width; x++) x 3534 src/lib/rgba.c int x, y, w, h; x 3546 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3557 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3569 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3571 src/lib/rgba.c for (; x < (width + dx); x++) x 3585 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3586 src/lib/rgba.c x++) x 3590 src/lib/rgba.c if (x < w) x 3592 src/lib/rgba.c w = (width + dx) - (3 + x); x 3593 src/lib/rgba.c for (; x < w; x += 4) x 3595 src/lib/rgba.c for (; x < (width + dx); x++) x 3614 src/lib/rgba.c int x, y, w, h; x 3626 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3637 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3649 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3651 src/lib/rgba.c for (; x < width; x++) x 3664 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3665 src/lib/rgba.c x++) x 3669 src/lib/rgba.c if (x < w) x 3671 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 3673 src/lib/rgba.c for (; x < w; x += 4) x 3678 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 3680 src/lib/rgba.c w = width - 2 - x; x 3681 src/lib/rgba.c for (; x < w; x += 4) x 3689 src/lib/rgba.c w = width - 3 - x; x 3690 src/lib/rgba.c for (; x < w; x += 4) x 3692 src/lib/rgba.c for (; x < width; x++) x 3712 src/lib/rgba.c int x, y, w, h; x 3724 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3735 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3747 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3749 src/lib/rgba.c for (; x < (width + dx); x++) x 3763 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3764 src/lib/rgba.c x++) x 3768 src/lib/rgba.c if (x < w) x 3770 src/lib/rgba.c w = (width + dx) - (3 + x); x 3771 src/lib/rgba.c for (; x < w; x += 4) x 3773 src/lib/rgba.c for (; x < (width + dx); x++) x 3792 src/lib/rgba.c int x, y, w, h; x 3804 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3815 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3827 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3829 src/lib/rgba.c for (; x < width; x++) x 3842 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3843 src/lib/rgba.c x++) x 3847 src/lib/rgba.c if (x < w) x 3849 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 3851 src/lib/rgba.c for (; x < w; x += 4) x 3856 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 3858 src/lib/rgba.c w = width - 2 - x; x 3859 src/lib/rgba.c for (; x < w; x += 4) x 3867 src/lib/rgba.c w = width - 3 - x; x 3868 src/lib/rgba.c for (; x < w; x += 4) x 3870 src/lib/rgba.c for (; x < width; x++) x 3890 src/lib/rgba.c int x, y, w, h; x 3902 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3913 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3925 src/lib/rgba.c for (x = dx; x < w; x += 4) x 3927 src/lib/rgba.c for (; x < (width + dx); x++) x 3941 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 3942 src/lib/rgba.c x++) x 3946 src/lib/rgba.c if (x < w) x 3948 src/lib/rgba.c w = (width + dx) - (3 + x); x 3949 src/lib/rgba.c for (; x < w; x += 4) x 3951 src/lib/rgba.c for (; x < (width + dx); x++) x 3970 src/lib/rgba.c int x, y, w, h; x 3982 src/lib/rgba.c for (x = 0; x < w; x += 4) x 3993 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4005 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4007 src/lib/rgba.c for (; x < width; x++) x 4020 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4021 src/lib/rgba.c x++) x 4025 src/lib/rgba.c if (x < w) x 4027 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 4029 src/lib/rgba.c for (; x < w; x += 4) x 4034 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 4036 src/lib/rgba.c w = width - 2 - x; x 4037 src/lib/rgba.c for (; x < w; x += 4) x 4045 src/lib/rgba.c w = width - 3 - x; x 4046 src/lib/rgba.c for (; x < w; x += 4) x 4048 src/lib/rgba.c for (; x < width; x++) x 4068 src/lib/rgba.c int x, y, w, h; x 4080 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4091 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4103 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4105 src/lib/rgba.c for (; x < (width + dx); x++) x 4119 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4120 src/lib/rgba.c x++) x 4124 src/lib/rgba.c if (x < w) x 4126 src/lib/rgba.c w = (width + dx) - (3 + x); x 4127 src/lib/rgba.c for (; x < w; x += 4) x 4129 src/lib/rgba.c for (; x < (width + dx); x++) x 4148 src/lib/rgba.c int x, y, w, h; x 4160 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4171 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4183 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4185 src/lib/rgba.c for (; x < width; x++) x 4198 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4199 src/lib/rgba.c x++) x 4203 src/lib/rgba.c if (x < w) x 4205 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 4207 src/lib/rgba.c for (; x < w; x += 4) x 4212 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 4214 src/lib/rgba.c w = width - 2 - x; x 4215 src/lib/rgba.c for (; x < w; x += 4) x 4223 src/lib/rgba.c w = width - 3 - x; x 4224 src/lib/rgba.c for (; x < w; x += 4) x 4226 src/lib/rgba.c for (; x < width; x++) x 4246 src/lib/rgba.c int x, y, w, h; x 4258 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4269 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4281 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4283 src/lib/rgba.c for (; x < (width + dx); x++) x 4297 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4298 src/lib/rgba.c x++) x 4302 src/lib/rgba.c if (x < w) x 4304 src/lib/rgba.c w = (width + dx) - (3 + x); x 4305 src/lib/rgba.c for (; x < w; x += 4) x 4307 src/lib/rgba.c for (; x < (width + dx); x++) x 4326 src/lib/rgba.c int x, y, w, h; x 4338 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4349 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4361 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4363 src/lib/rgba.c for (; x < width; x++) x 4376 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4377 src/lib/rgba.c x++) x 4381 src/lib/rgba.c if (x < w) x 4383 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 4385 src/lib/rgba.c for (; x < w; x += 4) x 4390 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 4392 src/lib/rgba.c w = width - 2 - x; x 4393 src/lib/rgba.c for (; x < w; x += 4) x 4401 src/lib/rgba.c w = width - 3 - x; x 4402 src/lib/rgba.c for (; x < w; x += 4) x 4404 src/lib/rgba.c for (; x < width; x++) x 4424 src/lib/rgba.c int x, y, w, h; x 4436 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4447 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4459 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4461 src/lib/rgba.c for (; x < (width + dx); x++) x 4475 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4476 src/lib/rgba.c x++) x 4480 src/lib/rgba.c if (x < w) x 4482 src/lib/rgba.c w = (width + dx) - (3 + x); x 4483 src/lib/rgba.c for (; x < w; x += 4) x 4485 src/lib/rgba.c for (; x < (width + dx); x++) x 4504 src/lib/rgba.c int x, y, w, h; x 4516 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4527 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4539 src/lib/rgba.c for (x = 0; x < w; x += 4) x 4541 src/lib/rgba.c for (; x < width; x++) x 4554 src/lib/rgba.c for (x = 0; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4555 src/lib/rgba.c x++) x 4559 src/lib/rgba.c if (x < w) x 4561 src/lib/rgba.c if (IS_MULTIPLE_4((width - x))) x 4563 src/lib/rgba.c for (; x < w; x += 4) x 4568 src/lib/rgba.c else if (IS_MULTIPLE_2((width - x))) x 4570 src/lib/rgba.c w = width - 2 - x; x 4571 src/lib/rgba.c for (; x < w; x += 4) x 4579 src/lib/rgba.c w = width - 3 - x; x 4580 src/lib/rgba.c for (; x < w; x += 4) x 4582 src/lib/rgba.c for (; x < width; x++) x 4602 src/lib/rgba.c int x, y, w, h; x 4614 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4625 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4637 src/lib/rgba.c for (x = dx; x < w; x += 4) x 4639 src/lib/rgba.c for (; x < (width + dx); x++) x 4653 src/lib/rgba.c for (x = dx; ((x < w) && (!(IS_ALIGNED_32((unsigned long)dest)))); x 4654 src/lib/rgba.c x++) x 4658 src/lib/rgba.c if (x < w) x 4660 src/lib/rgba.c w = (width + dx) - (3 + x); x 4661 src/lib/rgba.c for (; x < w; x += 4) x 4663 src/lib/rgba.c for (; x < (width + dx); x++) x 4682 src/lib/rgba.c int x, y, w, h; x 4690 src/lib/rgba.c for (x = 0; x < w; x++) x 4707 src/lib/rgba.c int x, y, w, h; x 4715 src/lib/rgba.c for (x = dx; x < w; x++) x 4732 src/lib/rgba.c int x, y, w, h; x 4740 src/lib/rgba.c for (x = 0; x < w; x++) x 4757 src/lib/rgba.c int x, y, w, h; x 4765 src/lib/rgba.c for (x = dx; x < w; x++) x 4810 src/lib/rgba.c int x, y, w, h; x 4819 src/lib/rgba.c for (x = 0; x < w; x++) x 4836 src/lib/rgba.c int x, y, w, h; x 4844 src/lib/rgba.c for (x = 0; x < w; x++) x 4861 src/lib/rgba.c int x, y, w, h; x 4869 src/lib/rgba.c for (x = 0; x < w; x++) x 14 src/lib/rgbadraw.c int x, y; x 20 src/lib/rgbadraw.c for (x = 0; x < (im->w >> 1); x++) x 29 src/lib/rgbadraw.c x = im->border.left; x 31 src/lib/rgbadraw.c im->border.right = x; x 38 src/lib/rgbadraw.c int x, y; x 44 src/lib/rgbadraw.c for (x = 0; x < im->w; x++) x 53 src/lib/rgbadraw.c x = im->border.top; x 55 src/lib/rgbadraw.c im->border.bottom = x; x 62 src/lib/rgbadraw.c int x; x 66 src/lib/rgbadraw.c for (x = (im->w * im->h) / 2; --x >= 0;) x 74 src/lib/rgbadraw.c x = im->border.top; x 76 src/lib/rgbadraw.c im->border.bottom = x; x 77 src/lib/rgbadraw.c x = im->border.left; x 79 src/lib/rgbadraw.c im->border.right = x; x 92 src/lib/rgbadraw.c int x, y, w, hw, tmp; x 145 src/lib/rgbadraw.c for (x = im->w; --x >= 0;) x 163 src/lib/rgbadraw.c int x, y, mx, my, mw, mh, mt, xx, yy; x 196 src/lib/rgbadraw.c for (x = 0; x < im->w; x++) x 198 src/lib/rgbadraw.c as[x] += (*p2 >> 24) & 0xff; x 199 src/lib/rgbadraw.c rs[x] += (*p2 >> 16) & 0xff; x 200 src/lib/rgbadraw.c gs[x] += (*p2 >> 8) & 0xff; x 201 src/lib/rgbadraw.c bs[x] += *p2 & 0xff; x 207 src/lib/rgbadraw.c for (x = 0; x < im->w; x++) x 213 src/lib/rgbadraw.c mx = x - rad; x 254 src/lib/rgbadraw.c int a, r, g, b, x, y; x 270 src/lib/rgbadraw.c for (x = 1; x < (im->w - 1); x++) x 316 src/lib/rgbadraw.c int x, y, per, tmp, na, nr, ng, nb, mix, a, r, g, b, aa, rr, x 327 src/lib/rgbadraw.c for (x = 0; x < (im->w >> 1); x++) x 329 src/lib/rgbadraw.c mix = (x * 255) / per; x 355 src/lib/rgbadraw.c for (; x < im->w; x++) x 357 src/lib/rgbadraw.c mix = ((im->w - 1 - x) * 255) / per; x 390 src/lib/rgbadraw.c int x, y, tmp, na, nr, ng, nb, mix, a, r, g, b, aa, rr, gg, x 408 src/lib/rgbadraw.c for (x = 0; x < im->w; x++) x 439 src/lib/rgbadraw.c __imlib_copy_image_data(ImlibImage * im, int x, int y, int w, int h, int nx, x 447 src/lib/rgbadraw.c if (x < 0) x 449 src/lib/rgbadraw.c w += x; x 450 src/lib/rgbadraw.c nx -= x; x 451 src/lib/rgbadraw.c x = 0; x 458 src/lib/rgbadraw.c x -= nx; x 463 src/lib/rgbadraw.c if ((x + w) > im->w) x 464 src/lib/rgbadraw.c w = (im->w - x); x 499 src/lib/rgbadraw.c p1 = im->data + (y * im->w) + x; x 523 src/lib/rgbadraw.c p1 = im->data + ((y + h - 1) * im->w) + x + w - 1; x 541 src/lib/rgbadraw.c __imlib_copy_alpha_data(ImlibImage * src, ImlibImage * dst, int x, int y, x 549 src/lib/rgbadraw.c if (x < 0) x 551 src/lib/rgbadraw.c w += x; x 552 src/lib/rgbadraw.c nx -= x; x 553 src/lib/rgbadraw.c x = 0; x 560 src/lib/rgbadraw.c x -= nx; x 565 src/lib/rgbadraw.c if ((x + w) > src->w) x 566 src/lib/rgbadraw.c w = (src->w - x); x 601 src/lib/rgbadraw.c p1 = src->data + (y * src->w) + x; x 4 src/lib/rgbadraw.h #define IN_SEGMENT(x, sx, sw) \ x 5 src/lib/rgbadraw.h ((unsigned)((x) - (sx)) < (sw)) x 7 src/lib/rgbadraw.h #define IN_RANGE(x, y, w, h) \ x 8 src/lib/rgbadraw.h ( ((unsigned)(x) < (w)) && ((unsigned)(y) < (h)) ) x 10 src/lib/rgbadraw.h #define IN_RECT(x, y, rx, ry, rw, rh) \ x 11 src/lib/rgbadraw.h ( ((unsigned)((x) - (rx)) < (rw)) && ((unsigned)((y) - (ry)) < (rh)) ) x 13 src/lib/rgbadraw.h #define CLIP_RECT_TO_RECT(x, y, w, h, rx, ry, rw, rh) \ x 17 src/lib/rgbadraw.h _t0 = MAX(x, (rx)); \ x 18 src/lib/rgbadraw.h _t1 = MIN(x + w, (rx) + (rw)); \ x 19 src/lib/rgbadraw.h x = _t0; \ x 27 src/lib/rgbadraw.h #define DIV_255(a, x, tmp) \ x 29 src/lib/rgbadraw.h tmp = (x) + 0x80; \ x 41 src/lib/rgbadraw.h int x, y; x 48 src/lib/rgbadraw.h int x, y, w, h; x 73 src/lib/rgbadraw.h __hidden void __imlib_copy_alpha_data(ImlibImage * src, ImlibImage * dst, int x, int y, x 76 src/lib/rgbadraw.h __hidden void __imlib_copy_image_data(ImlibImage * im, int x, int y, int w, int h, x 83 src/lib/rgbadraw.h __imlib_Point_DrawToImage(int x, int y, DATA32 color, x 124 src/lib/rgbadraw.h __hidden void __imlib_polygon_add_point(ImlibPoly poly, int x, int y); x 125 src/lib/rgbadraw.h __hidden unsigned char __imlib_polygon_contains_point(ImlibPoly poly, int x, int y); x 11 src/lib/rotate.c #define INTERP_VAL1(x_VAL, dest, l, r, x) \ x 12 src/lib/rotate.c x_VAL(dest) = (INTERP(x_VAL(l), x_VAL(r), (x)) >> _ROTATE_PREC) x 20 src/lib/rotate.c #define INTERP_VAL2(x_VAL, dest, ul, ur, ll, lr, x, y) \ x 21 src/lib/rotate.c x_VAL(dest) = (INTERP(INTERP(x_VAL(ul), x_VAL(ur), (x)), \ x 22 src/lib/rotate.c INTERP(x_VAL(ll), x_VAL(lr), (x)), \ x 29 src/lib/rotate.c #define INTERP_ARGB(dest, src, sow, x, y) do { \ x 30 src/lib/rotate.c INTERP_VAL2(R_VAL, (dest), (src), (src) + 1, (src) + (sow), (src) + (sow) + 1, (x) & _ROTATE_PREC_BITS, (y) & _ROTATE_PREC_BITS); \ x 31 src/lib/rotate.c INTERP_VAL2(G_VAL, (dest), (src), (src) + 1, (src) + (sow), (src) + (sow) + 1, (x) & _ROTATE_PREC_BITS, (y) & _ROTATE_PREC_BITS); \ x 32 src/lib/rotate.c INTERP_VAL2(B_VAL, (dest), (src), (src) + 1, (src) + (sow), (src) + (sow) + 1, (x) & _ROTATE_PREC_BITS, (y) & _ROTATE_PREC_BITS); \ x 33 src/lib/rotate.c INTERP_VAL2(A_VAL, (dest), (src), (src) + 1, (src) + (sow), (src) + (sow) + 1, (x) & _ROTATE_PREC_BITS, (y) & _ROTATE_PREC_BITS); \ x 54 src/lib/rotate.c int dw, int dh, int x, int y, x 67 src/lib/rotate.c *dest = src[(x >> _ROTATE_PREC) + ((y >> _ROTATE_PREC) * sow)]; x 69 src/lib/rotate.c x += dxh; x 77 src/lib/rotate.c x += dxv - dw * dxh; x 86 src/lib/rotate.c int dw, int dh, int x, int y, x 99 src/lib/rotate.c DATA32 *src_x_y = (src + (x >> _ROTATE_PREC) + x 101 src/lib/rotate.c INTERP_ARGB(dest, src_x_y, sow, x, y); x 103 src/lib/rotate.c x += dxh; x 111 src/lib/rotate.c x += dxv - dw * dxh; x 125 src/lib/rotate.c __check_inside_coords(int x, int y, int dxh, int dyh, int dxv, int dyv, x 131 src/lib/rotate.c if (((unsigned)x >= sw) || ((unsigned)y >= sh)) x 133 src/lib/rotate.c x += dxh * dw; x 135 src/lib/rotate.c if (((unsigned)x >= sw) || ((unsigned)y >= sh)) x 137 src/lib/rotate.c x += dxv * dh; x 139 src/lib/rotate.c if (((unsigned)x >= sw) || ((unsigned)y >= sh)) x 141 src/lib/rotate.c x -= dxh * dw; x 143 src/lib/rotate.c if (((unsigned)x >= sw) || ((unsigned)y >= sh)) x 152 src/lib/rotate.c int dow, int dw, int dh, int x, int y, x 160 src/lib/rotate.c if (__check_inside_coords(x, y, dxh, dyh, dxv, dyv, dw, dh, sw, sh)) x 162 src/lib/rotate.c __imlib_RotateSampleInside(src, dest, sow, dow, dw, dh, x, y, x 175 src/lib/rotate.c if (((unsigned)x < sw) && ((unsigned)y < sh)) x 176 src/lib/rotate.c *dest = src[(x >> _ROTATE_PREC) + ((y >> _ROTATE_PREC) * sow)]; x 180 src/lib/rotate.c x += dxh; x 189 src/lib/rotate.c x += dxv - dw * dxh; x 204 src/lib/rotate.c int dow, int dw, int dh, int x, int y, x 212 src/lib/rotate.c if (__check_inside_coords(x, y, dxh, dyh, dxv, dyv, dw, dh, sw - 1, sh - 1)) x 214 src/lib/rotate.c __imlib_RotateAAInside(src, dest, sow, dow, dw, dh, x, y, x 229 src/lib/rotate.c DATA32 *src_x_y = (src + (x >> _ROTATE_PREC) + x 231 src/lib/rotate.c if ((unsigned)x < sw) x 238 src/lib/rotate.c INTERP_ARGB(dest, src_x_y, sow, x, y); x 245 src/lib/rotate.c INTERP_RGB_A0(dest, src_x_y, src_x_y + 1, x, ~y); x 252 src/lib/rotate.c INTERP_RGB_A0(dest, src_x_y + sow, src_x_y + sow + 1, x, x 258 src/lib/rotate.c else if ((unsigned)(x - sw) < (_ROTATE_PREC_MAX)) x 265 src/lib/rotate.c INTERP_RGB_A0(dest, src_x_y, src_x_y + sow, y, ~x); x 272 src/lib/rotate.c INTERP_A000(dest, src_x_y, ~x, ~y); x 279 src/lib/rotate.c INTERP_A000(dest, src_x_y + sow, ~x, y); x 284 src/lib/rotate.c else if ((unsigned)(~x) < _ROTATE_PREC_MAX) x 292 src/lib/rotate.c x); x 299 src/lib/rotate.c INTERP_A000(dest, src_x_y + 1, x, ~y); x 306 src/lib/rotate.c INTERP_A000(dest, src_x_y + sow + 1, x, y); x 314 src/lib/rotate.c x += dxh; x 323 src/lib/rotate.c x += dxv - dw * dxh; x 342 src/lib/rotate.c int x, y, dxh, dyh, dxv, dyv, i; x 382 src/lib/rotate.c x = -(ddx * dxh + ddy * dxv); x 387 src/lib/rotate.c x += ssx * _ROTATE_PREC_MAX; x 411 src/lib/rotate.c x += _ROTATE_PREC_MAX; x 423 src/lib/rotate.c x2 = x + h * dxv; x 439 src/lib/rotate.c l = MAX(-MAX(y, y2) / dyh, -MAX(x, x2) / dxh); x 440 src/lib/rotate.c r = MIN((h - MIN(y, y2)) / dyh, (w - MIN(x, x2)) / dxh); x 445 src/lib/rotate.c l = MAX(-MAX(x, x2) / dxh, (h - MIN(y, y2)) / dyh); x 446 src/lib/rotate.c r = MIN(-MAX(y, y2) / dyh, (w - MIN(x, x2)) / dxh); x 451 src/lib/rotate.c l = -MAX(x, x2) / dxh; x 452 src/lib/rotate.c r = (w - MIN(x, x2)) / dxh; x 460 src/lib/rotate.c l = MAX(-MAX(y, y2) / dyh, (w - MIN(x, x2)) / dxh); x 461 src/lib/rotate.c r = MIN(-MAX(x, x2) / dxh, (h - MIN(y, y2)) / dyh); x 466 src/lib/rotate.c l = MAX((h - MIN(y, y2)) / dyh, (w - MIN(x, x2)) / dxh); x 467 src/lib/rotate.c r = MIN(-MAX(y, y2) / dyh, -MAX(x, x2) / dxh); x 472 src/lib/rotate.c l = (w - MIN(x, x2)) / dxh; x 473 src/lib/rotate.c r = -MAX(x, x2) / dxh; x 508 src/lib/rotate.c x = x2; x 516 src/lib/rotate.c x += l * dxh; x 520 src/lib/rotate.c x -= _ROTATE_PREC_MAX; x 525 src/lib/rotate.c x, y, dxh, dyh, dxv, dyv); x 529 src/lib/rotate.c x, y, dxh, dyh, dxv, dyv); x 535 src/lib/rotate.c x, y, dxh, dyh, dxv, dyv); x 541 src/lib/rotate.c x = x2; x 14 src/lib/rotate.h int dow, int dw, int dh, int x, int y, x 17 src/lib/rotate.h int dow, int dw, int dh, int x, int y, x 30 src/lib/rotate.h int dow, int dw, int dh, int x, int y, x 19 src/lib/scale.c #define INV_XAP (256 - xapoints[x]) x 20 src/lib/scale.c #define XAP (xapoints[x]) x 287 src/lib/scale.c int x, y, end; x 301 src/lib/scale.c for (x = dxx; x < end; x++) x 302 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 314 src/lib/scale.c int x, y, end; x 332 src/lib/scale.c for (x = dxx; x < end; x++) x 340 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 368 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 388 src/lib/scale.c for (x = dxx; x < end; x++) x 395 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 412 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 434 src/lib/scale.c for (x = dxx; x < end; x++) x 436 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 460 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + 1; x 517 src/lib/scale.c for (x = dxx; x < end; x++) x 525 src/lib/scale.c pix = sptr + xpoints[x]; x 550 src/lib/scale.c pix = sptr + xpoints[x]; x 569 src/lib/scale.c for (x = dxx; x < end; x++) x 577 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 594 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 614 src/lib/scale.c for (x = dxx; x < end; x++) x 619 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 643 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + sow; x 696 src/lib/scale.c for (x = dxx; x < end; x++) x 703 src/lib/scale.c xap = xpoints[x + 1] - xpoints[x]; x 706 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 718 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + sow; x 734 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 754 src/lib/scale.c for (x = dxx; x < end; x++) x 760 src/lib/scale.c xap = xpoints[x + 1] - xpoints[x]; x 763 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 778 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 804 src/lib/scale.c for (x = dxx; x < end; x++) x 809 src/lib/scale.c sptr = ypoints[dyy + y] + xpoints[x]; x 921 src/lib/scale.c for (x = dxx; x < end; x++) x 923 src/lib/scale.c int xap = xpoints[x + 1] - xpoints[x]; x 930 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 950 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 963 src/lib/scale.c int x, y, end; x 981 src/lib/scale.c for (x = dxx; x < end; x++) x 989 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1012 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1029 src/lib/scale.c for (x = dxx; x < end; x++) x 1036 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1050 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 1072 src/lib/scale.c for (x = dxx; x < end; x++) x 1074 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1094 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + 1; x 1144 src/lib/scale.c for (x = dxx; x < end; x++) x 1152 src/lib/scale.c pix = sptr + xpoints[x]; x 1173 src/lib/scale.c pix = sptr + xpoints[x]; x 1190 src/lib/scale.c for (x = dxx; x < end; x++) x 1197 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1211 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 1231 src/lib/scale.c for (x = dxx; x < end; x++) x 1236 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1256 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + sow; x 1302 src/lib/scale.c for (x = dxx; x < end; x++) x 1309 src/lib/scale.c xap = xpoints[x + 1] - xpoints[x]; x 1312 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1322 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x] + sow; x 1336 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1353 src/lib/scale.c for (x = dxx; x < end; x++) x 1359 src/lib/scale.c xap = xpoints[x + 1] - xpoints[x]; x 1362 src/lib/scale.c pix = ypoints[dyy + y] + xpoints[x]; x 1375 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 1398 src/lib/scale.c for (x = dxx; x < end; x++) x 1403 src/lib/scale.c sptr = ypoints[dyy + y] + xpoints[x]; x 1502 src/lib/scale.c for (x = dxx; x < end; x++) x 1504 src/lib/scale.c int xap = xpoints[x + 1] - xpoints[x]; x 1511 src/lib/scale.c pix = sptr + xpoints[x]; x 1529 src/lib/scale.c *dptr++ = sptr[xpoints[x]]; x 18 src/lib/updates.c #define T(x, y) t[((y) * tw) + (x)] x 25 src/lib/updates.c int tw, th, x, y, i; x 41 src/lib/updates.c for (x = 0; x < tw; x++) x 47 src/lib/updates.c CLIP(uu->x, uu->y, uu->w, uu->h, 0, 0, w, h); x 50 src/lib/updates.c for (x = uu->x >> TB; x <= ((uu->x + uu->w - 1) >> TB); x++) x 51 src/lib/updates.c T(x, y).used = T_USED; x 61 src/lib/updates.c for (x = 0; x < tw; x++) x 62 src/lib/updates.c gaps[x] = 0; x 63 src/lib/updates.c for (x = 0; x < tw; x++) x 65 src/lib/updates.c if ((have) && (T(x, y).used == T_UNUSED)) x 67 src/lib/updates.c start = x; x 71 src/lib/updates.c else if ((!have) && (gap) && (T(x, y).used & T_USED)) x 76 src/lib/updates.c gaps[start] = x - start; x 78 src/lib/updates.c else if (T(x, y).used & T_USED) x 86 src/lib/updates.c for (x = 0; x < tw; x++) x 88 src/lib/updates.c if ((gaps[x] > 0) && (gaps[x] < min)) x 90 src/lib/updates.c start = x; x 91 src/lib/updates.c min = gaps[x]; x 97 src/lib/updates.c for (x = start; x 98 src/lib/updates.c T(x, y).used == T_UNUSED; T(x++, y).used = T_USED); x 107 src/lib/updates.c for (x = 0; x < tw; x++) x 109 src/lib/updates.c if (T(x, y).used & T_USED) x 113 src/lib/updates.c for (xx = x + 1, ww = 1; x 118 src/lib/updates.c for (xx = x; xx < (x + ww); xx++) x 123 src/lib/updates.c xx = x + ww; x 130 src/lib/updates.c for (xx = x; xx < (x + ww); xx++) x 133 src/lib/updates.c nu = __imlib_AddUpdate(nu, (x << TB), (y << TB), x 144 src/lib/updates.c __imlib_AddUpdate(ImlibUpdate * u, int x, int y, int w, int h) x 148 src/lib/updates.c if ((w < 1) || (h < 1) || ((x + w) < 1) || ((y + h) < 1)) x 151 src/lib/updates.c nu->x = x; x 7 src/lib/updates.h int x, y, w, h; x 11 src/lib/updates.h __hidden ImlibUpdate *__imlib_AddUpdate(ImlibUpdate *u, int x, int y, int w, int h); x 49 src/lib/ximage.c int x, int y, int w, int h, XShmSegmentInfo * si) x 82 src/lib/ximage.c XShmGetImage(d, draw, xim, x, y, 0xffffffff); x 19 src/lib/ximage.h int depth, int x, int y, int w, int h, x 133 src/modules/filters/filter_bumpmap.c double x = 0, y = 0, z = 30, d = 0x200; x 146 src/modules/filters/filter_bumpmap.c ASSIGN_INT("x", x); x 191 src/modules/filters/filter_bumpmap.c x2 = -x; x 5 src/modules/filters/filter_colormod.c #define GET_INT(x, ptr) (((ptr)->type == VAR_PTR) ? \ x 6 src/modules/filters/filter_colormod.c (x) = (*(int *)(ptr)->data) : \ x 8 src/modules/filters/filter_colormod.c (x) = strtol((ptr)->data, 0, 0) \ x 11 src/modules/filters/filter_colormod.c #define GET_DOUBLE(x, ptr) (((ptr)->type == VAR_PTR) ? \ x 12 src/modules/filters/filter_colormod.c (x) = (*(double *)(ptr)->data) : \ x 14 src/modules/filters/filter_colormod.c (x) = strtod((ptr)->data, 0) \ x 59 src/modules/filters/filter_colormod.c int x = 0, y = 0, h, w, i; x 73 src/modules/filters/filter_colormod.c GET_INT(x, ptr); x 221 src/modules/filters/filter_colormod.c imlib_apply_color_modifier_to_rectangle(x, y, w, h); x 39 src/modules/filters/filter_test.c int x = 0, y = 0, w = 0, h = 0; x 55 src/modules/filters/filter_test.c ASSIGN_INT("x", x); x 79 src/modules/filters/filter_test.c imlib_blend_image_onto_image(anoim, 0, 0, 0, w, h, x, y, w, h); x 3 src/modules/loaders/loader_argb.c #define SWAP32(x) (x) = \ x 4 src/modules/loaders/loader_argb.c ((((x) & 0x000000ff ) << 24) |\ x 5 src/modules/loaders/loader_argb.c (((x) & 0x0000ff00 ) << 8) |\ x 6 src/modules/loaders/loader_argb.c (((x) & 0x00ff0000 ) >> 8) |\ x 7 src/modules/loaders/loader_argb.c (((x) & 0xff000000 ) >> 24)) x 72 src/modules/loaders/loader_argb.c int x; x 75 src/modules/loaders/loader_argb.c for (x = 0; x < im->w; x++) x 76 src/modules/loaders/loader_argb.c SWAP32(ptr[x]); x 133 src/modules/loaders/loader_argb.c int x; x 136 src/modules/loaders/loader_argb.c for (x = 0; x < im->w; x++) x 137 src/modules/loaders/loader_argb.c SWAP32(buf[x]); x 117 src/modules/loaders/loader_bmp.c unsigned short x, y; x 316 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end; x++) x 318 src/modules/loaders/loader_bmp.c if ((x & 7) == 0) x 385 src/modules/loaders/loader_bmp.c x = 0; x 400 src/modules/loaders/loader_bmp.c if (l + x > w) x 420 src/modules/loaders/loader_bmp.c x += l; x 427 src/modules/loaders/loader_bmp.c x = 0; x 438 src/modules/loaders/loader_bmp.c x += buffer_ptr[0]; x 442 src/modules/loaders/loader_bmp.c if (x >= w) x 446 src/modules/loaders/loader_bmp.c ptr = im->data + (h - y - 1) * w + x; x 451 src/modules/loaders/loader_bmp.c if (l + x > w) x 481 src/modules/loaders/loader_bmp.c x += l; x 519 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end; x++) x 521 src/modules/loaders/loader_bmp.c if ((x & 1) == 0) x 565 src/modules/loaders/loader_bmp.c x = 0; x 580 src/modules/loaders/loader_bmp.c if (x + l > w) x 584 src/modules/loaders/loader_bmp.c x += l; x 591 src/modules/loaders/loader_bmp.c x = 0; x 594 src/modules/loaders/loader_bmp.c ptr = im->data + ((h - y - 1) * w) + x; x 602 src/modules/loaders/loader_bmp.c x += buffer_ptr[0]; x 606 src/modules/loaders/loader_bmp.c if (x >= w) x 610 src/modules/loaders/loader_bmp.c ptr = im->data + ((h - y - 1) * w) + x; x 614 src/modules/loaders/loader_bmp.c if (x + l > w) x 627 src/modules/loaders/loader_bmp.c x += l; x 661 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end; x++) x 704 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end_minus_1; x++) x 757 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end_minus_2; x++) x 797 src/modules/loaders/loader_bmp.c for (x = 0; x < w && buffer_ptr < buffer_end_minus_3; x++) x 93 src/modules/loaders/loader_jpeg.c int x, y, l, i, scans, count, prevy; x 139 src/modules/loaders/loader_jpeg.c for (x = 0; x < w; x++) x 183 src/modules/loaders/loader_jpeg.c for (x = 0; x < w; x++) x 177 src/modules/loaders/loader_lbm.c int i, x, w; x 221 src/modules/loaders/loader_lbm.c x = (w <= z - i) ? w : z - i; x 222 src/modules/loaders/loader_lbm.c memcpy(p + i, ilbm->body.data + ilbm->offset, x); x 223 src/modules/loaders/loader_lbm.c i += x; x 294 src/modules/loaders/loader_lbm.c int i, o, x; x 308 src/modules/loaders/loader_lbm.c for (x = 0; x < w; x++) x 431 src/modules/loaders/loader_lbm.c row[x] = x 241 src/modules/loaders/loader_png.c int x, y, j, interlace; x 361 src/modules/loaders/loader_png.c for (j = 0, x = 0; x < im->w; x++) x 363 src/modules/loaders/loader_png.c data[j++] = (ptr[x] >> 16) & 0xff; x 364 src/modules/loaders/loader_png.c data[j++] = (ptr[x] >> 8) & 0xff; x 365 src/modules/loaders/loader_png.c data[j++] = (ptr[x]) & 0xff; x 145 src/modules/loaders/loader_pnm.c int i, j, x, y, pl = 0; x 161 src/modules/loaders/loader_pnm.c x = 0; x 162 src/modules/loaders/loader_pnm.c while (x < w) x 201 src/modules/loaders/loader_pnm.c x = 0; x 202 src/modules/loaders/loader_pnm.c while (x < w) x 228 src/modules/loaders/loader_pnm.c x++; x 234 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 245 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 275 src/modules/loaders/loader_pnm.c x = 0; x 276 src/modules/loaders/loader_pnm.c while (x < w3) x 302 src/modules/loaders/loader_pnm.c x++; x 308 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 319 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 348 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x += 8) x 350 src/modules/loaders/loader_pnm.c j = (w - x >= 8) ? 8 : w - x; x 381 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 392 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 423 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 434 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 463 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 498 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 509 src/modules/loaders/loader_pnm.c for (x = 0; x < w; x++) x 551 src/modules/loaders/loader_pnm.c int x, y, pl = 0; x 577 src/modules/loaders/loader_pnm.c for (x = 0; x < im->w; x++) x 605 src/modules/loaders/loader_pnm.c for (x = 0; x < im->w; x++) x 123 src/modules/loaders/loader_tga.c int x; x 127 src/modules/loaders/loader_tga.c for (x = 0; x < im->w; x++) x 342 src/modules/loaders/loader_tga.c int x; x 351 src/modules/loaders/loader_tga.c for (x = 0; (x < im->w) && (bufptr + bpp / 8 <= bufend); x++) /* for each pixel in the row */ x 538 src/modules/loaders/loader_tga.c int x, y; x 547 src/modules/loaders/loader_tga.c for (x = 0; x < w; x++) x 549 src/modules/loaders/loader_tga.c tmp = adv[x]; x 550 src/modules/loaders/loader_tga.c adv[x] = adv2[x]; x 551 src/modules/loaders/loader_tga.c adv2[x] = tmp; x 26 src/modules/loaders/loader_tiff.c static void raster(TIFFRGBAImage_Extra * img, uint32 * raster, uint32 x, x 31 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h, x 34 src/modules/loaders/loader_tiff.c (*(((TIFFRGBAImage_Extra *) img)->put_contig)) (img, rast, x, y, w, h, x 36 src/modules/loaders/loader_tiff.c raster((TIFFRGBAImage_Extra *) img, rast, x, y, w, h); x 41 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h, x 47 src/modules/loaders/loader_tiff.c (img, rast, x, y, w, h, fromskew, toskew, r, g, b, a); x 48 src/modules/loaders/loader_tiff.c raster((TIFFRGBAImage_Extra *) img, rast, x, y, w, h); x 55 src/modules/loaders/loader_tiff.c uint32 x, uint32 y, uint32 w, uint32 h) x 69 src/modules/loaders/loader_tiff.c x, y, w, h, image_width, image_height); x 101 src/modules/loaders/loader_tiff.c k = x + i; x 128 src/modules/loaders/loader_tiff.c k = x + i; x 159 src/modules/loaders/loader_tiff.c buffer_pixel = PIM(k, x + j); x 186 src/modules/loaders/loader_tiff.c buffer_pixel = PIM(k, image_height - 1 - (x + j)); x 236 src/modules/loaders/loader_tiff.c img->progress(img->image, img->pper, x, y, w, h); x 253 src/modules/loaders/loader_tiff.c img->progress(img->image, img->pper, y, x, h, w); x 411 src/modules/loaders/loader_tiff.c uint32 x, y; x 528 src/modules/loaders/loader_tiff.c for (x = 0; x < im->w; x++) x 530 src/modules/loaders/loader_tiff.c pixel = data[(y * im->w) + x];