Home
last modified time | relevance | path

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

/dports/graphics/krita/krita-4.4.8/libs/image/
H A Dkis_painter_blt_multi_fixed.cpp33 const QRect dabRect = dab.realBounds(); in applyDevice() local
34 const QRect rc = applyRect & dabRect; in applyDevice()
37 const int dabRowStride = srcPixelSize * dabRect.width(); in applyDevice()
67 const int dabX = dstX - dabRect.x(); in applyDevice()
68 const int dabY = dstY - dabRect.y(); in applyDevice()
93 const QRect dabRect = dab.realBounds(); in applyDeviceWithSelection() local
94 const QRect rc = applyRect & dabRect; in applyDeviceWithSelection()
97 const int dabRowStride = srcPixelSize * dabRect.width(); in applyDeviceWithSelection()
131 const int dabX = dstX - dabRect.x(); in applyDeviceWithSelection()
132 const int dabY = dstY - dabRect.y(); in applyDeviceWithSelection()
/dports/graphics/krita/krita-4.4.8/plugins/paintops/filterop/
H A Dkis_filterop.cpp114 QRect dabRect = dab->bounds(); in paintAt() local
117 Q_ASSERT(dstRect.size() == dabRect.size()); in paintAt()
130 m_filter->process(m_tmpDevice, dabRect, m_filterConfiguration, 0); in paintAt()
136 dabRect.x(), dabRect.y(), in paintAt()
137 dabRect.width(), dabRect.height()); in paintAt()
/dports/graphics/gimp-app/gimp-2.10.30/app/paint/
H A Dgimpmybrushsurface.c243 GeglRectangle dabRect; in gimp_mypaint_surface_get_color() local
248 dabRect = calculate_dab_roi (x, y, radius); in gimp_mypaint_surface_get_color()
255 if (dabRect.width > 0 || dabRect.height > 0) in gimp_mypaint_surface_get_color()
271 GeglRectangle mask_roi = dabRect; in gimp_mypaint_surface_get_color()
356 GeglRectangle dabRect; in gimp_mypaint_surface_draw_dab() local
381 dabRect = calculate_dab_roi (x, y, radius); in gimp_mypaint_surface_draw_dab()
382 gegl_rectangle_intersect (&dabRect, &dabRect, gegl_buffer_get_extent (surface->buffer)); in gimp_mypaint_surface_draw_dab()
384 if (dabRect.width <= 0 || dabRect.height <= 0) in gimp_mypaint_surface_draw_dab()
387 gegl_rectangle_bounding_box (&surface->dirty, &surface->dirty, &dabRect); in gimp_mypaint_surface_draw_dab()
389 iter = gegl_buffer_iterator_new (surface->buffer, &dabRect, 0, in gimp_mypaint_surface_draw_dab()
[all …]
/dports/graphics/krita/krita-4.4.8/plugins/paintops/libpaintop/
H A DKisDabCacheUtils.cpp47 QRect correctDabRectWhenFetchedFromCache(const QRect &dabRect, in correctDabRectWhenFetchedFromCache() argument
50 int diffX = (realDabSize.width() - dabRect.width()) / 2; in correctDabRectWhenFetchedFromCache()
51 int diffY = (realDabSize.height() - dabRect.height()) / 2; in correctDabRectWhenFetchedFromCache()
53 return QRect(dabRect.x() - diffX, dabRect.y() - diffY, in correctDabRectWhenFetchedFromCache()
H A DKisDabCacheUtils.h108 PAINTOP_EXPORT QRect correctDabRectWhenFetchedFromCache(const QRect &dabRect,
/dports/graphics/krita/krita-4.4.8/plugins/paintops/gridbrush/
H A Dkis_grid_paintop.cpp107 const QRectF dabRect(posX, posY, gridWidth, gridHeight); in paintAt() local
108 const QRect dabRectAligned = dabRect.toAlignedRect(); in paintAt()
143 tile = QRectF(dabRect.x() + x * xStep, dabRect.y() + y * yStep, xStep, yStep); in paintAt()
/dports/graphics/krita/krita-4.4.8/plugins/paintops/tangentnormal/
H A Dkis_tangent_normal_paintop.cpp149 QRect dabRect = m_maskDab->bounds(); in paintAt() local
152 Q_ASSERT(m_dstDabRect.size() == dabRect.size()); in paintAt()
153 Q_UNUSED(dabRect); in paintAt()