Home
last modified time | relevance | path

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

/PHP-8.0/ext/gd/libgd/
H A Dgd_filter.c55 int dest_x, dest_y; in gdImageScatterEx() local
73 dest_y = (int)(y + ((rand() % (plus - sub)) + sub)); in gdImageScatterEx()
75 if (!gdImageBoundsSafe(im, dest_x, dest_y)) { in gdImageScatterEx()
80 new_pxl = gdImageGetPixel(im, dest_x, dest_y); in gdImageScatterEx()
84 gdImageSetPixel(im, dest_x, dest_y, pxl); in gdImageScatterEx()
95 dest_y = (int)(y + ((rand() % (plus - sub)) + sub)); in gdImageScatterEx()
97 if (!gdImageBoundsSafe(im, dest_x, dest_y)) { in gdImageScatterEx()
102 new_pxl = gdImageGetPixel(im, dest_x, dest_y); in gdImageScatterEx()
104 gdImageSetPixel(im, dest_x, dest_y, pxl); in gdImageScatterEx()

Completed in 6 milliseconds