Lines Matching refs:dst
45 gdImagePtr dst; in gdImageCrop() local
50 dst = gdImageCreateTrueColor(crop->width, crop->height); in gdImageCrop()
51 if (dst == NULL) { in gdImageCrop()
54 gdImageSaveAlpha(dst, 1); in gdImageCrop()
56 dst = gdImageCreate(crop->width, crop->height); in gdImageCrop()
57 if (dst == NULL) { in gdImageCrop()
60 gdImagePaletteCopy(dst, src); in gdImageCrop()
62 dst->transparent = src->transparent; in gdImageCrop()
66 return dst; in gdImageCrop()
85 memcpy(dst->tpixels[dst_y++], src->tpixels[y++] + crop->x, crop->width * 4); in gdImageCrop()
91 dst->pixels[y - crop->y][x - crop->x] = src->pixels[y][x]; in gdImageCrop()
95 return dst; in gdImageCrop()