/dports/multimedia/zart/gmic-2.8.1/gmic-qt/src/Host/Gimp/ |
H A D | host_gimp.cpp | 372 gint rgn_x, rgn_y, rgn_width, rgn_height; in gmic_qt_get_layers_extent() local 379 if (!gimp_drawable_mask_intersect(layer, &rgn_x, &rgn_y, &rgn_width, &rgn_height)) { in gmic_qt_get_layers_extent() 479 gint rgn_x, rgn_y, rgn_width, rgn_height; in gmic_qt_get_cropped_images() local 494 if (!gimp_drawable_mask_intersect(inputLayers[l], &rgn_x, &rgn_y, &rgn_width, &rgn_height)) { in gmic_qt_get_cropped_images() 506 const int iy = static_cast<int>(entireImage ? rgn_y : (rgn_y + y * rgn_height)); in gmic_qt_get_cropped_images() 622 gint rgn_x, rgn_y, rgn_width, rgn_height; in gmic_qt_output_images() local 637 if (gimp_drawable_mask_intersect(inputLayers[p], &rgn_x, &rgn_y, &rgn_width, &rgn_height)) { in gmic_qt_output_images() 641 gimp_pixel_rgn_init(®ion, drawable, rgn_x, rgn_y, rgn_width, rgn_height, true, true); in gmic_qt_output_images() 643 … gimp_pixel_rgn_set_rect(®ion, (guchar *)img.data(), rgn_x, rgn_y, rgn_width, rgn_height); in gmic_qt_output_images() 646 gimp_drawable_update(inputLayers[p], rgn_x, rgn_y, rgn_width, rgn_height); in gmic_qt_output_images() [all …]
|
/dports/graphics/gmic/gmic-3.0.0/gmic-qt/src/Host/Gimp/ |
H A D | host_gimp.cpp | 538 gint rgn_x, rgn_y, rgn_width, rgn_height; in getLayersExtent() local 545 …if (!gimp_drawable_mask_intersect(_GIMP_DRAWABLE(layer), &rgn_x, &rgn_y, &rgn_width, &rgn_height))… in getLayersExtent() 618 gint rgn_x, rgn_y, rgn_width, rgn_height; in getCroppedImages() local 633 …if (!gimp_drawable_mask_intersect(_GIMP_DRAWABLE(inputLayers[l]), &rgn_x, &rgn_y, &rgn_width, &rgn… in getCroppedImages() 645 const int iy = static_cast<int>(entireImage ? rgn_y : (rgn_y + y * rgn_height)); in getCroppedImages() 761 gint rgn_x, rgn_y, rgn_width, rgn_height; in outputImages() local 772 …if (gimp_drawable_mask_intersect(_GIMP_DRAWABLE(inputLayers[p]), &rgn_x, &rgn_y, &rgn_width, &rgn_… in outputImages() 776 gimp_pixel_rgn_init(®ion, drawable, rgn_x, rgn_y, rgn_width, rgn_height, true, true); in outputImages() 778 … gimp_pixel_rgn_set_rect(®ion, (guchar *)img.data(), rgn_x, rgn_y, rgn_width, rgn_height); in outputImages() 781 gimp_drawable_update(inputLayers[p], rgn_x, rgn_y, rgn_width, rgn_height); in outputImages() [all …]
|
/dports/graphics/gmic-qt/gmic-qt-v.2.9.8/src/Host/Gimp/ |
H A D | host_gimp.cpp | 538 gint rgn_x, rgn_y, rgn_width, rgn_height; in getLayersExtent() local 545 …if (!gimp_drawable_mask_intersect(_GIMP_DRAWABLE(layer), &rgn_x, &rgn_y, &rgn_width, &rgn_height))… in getLayersExtent() 618 gint rgn_x, rgn_y, rgn_width, rgn_height; in getCroppedImages() local 633 …if (!gimp_drawable_mask_intersect(_GIMP_DRAWABLE(inputLayers[l]), &rgn_x, &rgn_y, &rgn_width, &rgn… in getCroppedImages() 645 const int iy = static_cast<int>(entireImage ? rgn_y : (rgn_y + y * rgn_height)); in getCroppedImages() 761 gint rgn_x, rgn_y, rgn_width, rgn_height; in outputImages() local 772 …if (gimp_drawable_mask_intersect(_GIMP_DRAWABLE(inputLayers[p]), &rgn_x, &rgn_y, &rgn_width, &rgn_… in outputImages() 776 gimp_pixel_rgn_init(®ion, drawable, rgn_x, rgn_y, rgn_width, rgn_height, true, true); in outputImages() 778 … gimp_pixel_rgn_set_rect(®ion, (guchar *)img.data(), rgn_x, rgn_y, rgn_width, rgn_height); in outputImages() 781 gimp_drawable_update(inputLayers[p], rgn_x, rgn_y, rgn_width, rgn_height); in outputImages() [all …]
|