Home
last modified time | relevance | path

Searched refs:mask_rect (Results 1 – 25 of 69) sorted by relevance

123

/dports/games/widelands/widelands-build21/src/graphic/gl/
H A Dblit_program.cc110 const Rectf mask_rect = to_gl_texture(current_args.mask); in draw() local
127 current_args.z_value, texture_rect.x, texture_rect.y, mask_rect.x, in draw()
128 mask_rect.y, blend_r, blend_g, blend_b, blend_a, program_flavor); in draw()
133 mask_rect.x + mask_rect.w, mask_rect.y, blend_r, blend_g, blend_b, in draw()
139 texture_rect.x, texture_rect.y + texture_rect.h, mask_rect.x, mask_rect.y + mask_rect.h, in draw()
148 texture_rect.y + texture_rect.h, mask_rect.x + mask_rect.w, in draw()
149 mask_rect.y + mask_rect.h, blend_r, blend_g, blend_b, blend_a, in draw()
/dports/graphics/blender/blender-2.91.0/source/blender/sequencer/intern/
H A Dmodifier.c74 unsigned char *rect, *mask_rect; member
131 handle->mask_rect = NULL; in modifier_init_handle()
144 td->mask_rect, in modifier_do_thread()
263 else if (mask_rect) { in whiteBalance_apply_threaded()
371 if (mask_rect) { in curves_apply_threaded()
506 else if (mask_rect) { in hue_correct_apply_threaded()
598 if (mask_rect) { in brightcontrast_apply_threaded()
599 unsigned char *m = mask_rect + pixel_index; in brightcontrast_apply_threaded()
666 if (rect && !mask_rect) { in maskmodifier_apply_threaded()
779 else if (mask_rect) { in tonemapmodifier_apply_threaded_simple()
[all …]
/dports/games/simutrans/simutrans-121.0/dataobj/
H A Drect.cc88 void rect_t::mask(rect_t const &mask_rect) in mask() argument
91 koord const mask_extent = mask_rect.origin + mask_rect.size; in mask()
93 if (origin.x >= mask_extent.x || extent.x <= mask_rect.origin.x || in mask()
94 origin.y >= mask_extent.y || extent.y <= mask_rect.origin.y) { in mask()
99 origin.clip_min(mask_rect.origin); in mask()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/layout/svg/
H A Dlayout_svg_resource_masker.cc124 FloatRect mask_rect = mask_content_boundaries_; in ResourceBoundingBox() local
129 mask_rect = transform.MapRect(mask_rect); in ResourceBoundingBox()
132 mask_rect.Intersect(mask_boundaries); in ResourceBoundingBox()
133 return mask_rect; in ResourceBoundingBox()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxge/
H A Dcfx_cliprgn.cpp33 FX_RECT mask_rect, in IntersectMaskRect() argument
37 m_Box.Intersect(mask_rect); in IntersectMaskRect()
42 if (m_Box == mask_rect) { in IntersectMaskRect()
53 pOldMask->GetBuffer() + pOldMask->GetPitch() * (row - mask_rect.top); in IntersectMaskRect()
55 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxge/
H A Dcfx_cliprgn.cpp33 FX_RECT mask_rect, in IntersectMaskRect() argument
37 m_Box.Intersect(mask_rect); in IntersectMaskRect()
42 if (m_Box == mask_rect) { in IntersectMaskRect()
53 pOldMask->GetBuffer() + pOldMask->GetPitch() * (row - mask_rect.top); in IntersectMaskRect()
55 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxge/ge/
H A Dcfx_cliprgn.cpp38 FX_RECT mask_rect, in IntersectMaskRect() argument
43 m_Box.Intersect(mask_rect); in IntersectMaskRect()
48 if (m_Box == mask_rect) { in IntersectMaskRect()
58 mask_dib->GetBuffer() + mask_dib->GetPitch() * (row - mask_rect.top); in IntersectMaskRect()
60 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
/dports/graphics/gimp-app/gimp-2.10.30/app/gegl/
H A Dgimp-gegl-loops.h66 const GeglRectangle *mask_rect,
72 const GeglRectangle *mask_rect,
78 const GeglRectangle *mask_rect,
88 const GeglRectangle *mask_rect,
H A Dgimp-gegl-loops.cc712 const GeglRectangle *mask_rect, in gimp_gegl_apply_mask() argument
717 if (! mask_rect) in gimp_gegl_apply_mask()
718 mask_rect = gegl_buffer_get_extent (mask_buffer); in gimp_gegl_apply_mask()
724 mask_rect, PIXELS_PER_THREAD, in gimp_gegl_apply_mask()
763 if (! mask_rect) in gimp_gegl_combine_mask()
764 mask_rect = gegl_buffer_get_extent (mask_buffer); in gimp_gegl_combine_mask()
770 mask_rect, PIXELS_PER_THREAD, in gimp_gegl_combine_mask()
810 if (! mask_rect) in gimp_gegl_combine_mask_weird()
811 mask_rect = gegl_buffer_get_extent (mask_buffer); in gimp_gegl_combine_mask_weird()
817 mask_rect, PIXELS_PER_THREAD, in gimp_gegl_combine_mask_weird()
[all …]
H A Dgimp-gegl-mask-combine.cc509 GeglRectangle mask_rect; in gimp_gegl_mask_combine_buffer() local
517 if (! gegl_rectangle_intersect (&mask_rect, in gimp_gegl_mask_combine_buffer()
528 add_on_rect = mask_rect; in gimp_gegl_mask_combine_buffer()
549 mask, &mask_rect); in gimp_gegl_mask_combine_buffer()
573 &mask_rect, PIXELS_PER_THREAD, in gimp_gegl_mask_combine_buffer()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgximage3.c194 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
284 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
285 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
286 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
288 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
291 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
292 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
293 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
298 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
299 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgximage3.c199 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
281 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
282 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
283 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
285 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
288 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
289 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
290 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
295 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
296 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgximage3.c194 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
284 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
285 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
286 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
288 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
291 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
292 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
293 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
298 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
299 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgximage3.c198 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
304 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
305 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
306 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
308 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
311 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
312 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
313 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
318 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
319 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgximage3.c198 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
304 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
305 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
306 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
308 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
311 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
312 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
313 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
318 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
319 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgximage3.c199 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
281 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
282 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
283 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
285 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
288 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
289 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
290 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
295 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
296 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgximage3.c201 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
307 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
308 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
309 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
311 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
314 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
315 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
316 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
321 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
322 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgximage3.c201 gs_int_rect mask_rect, data_rect; in gx_begin_image3_generic() local
307 mask_rect.p.x = (int)(data_rect.p.x * lmw / pim->Width); in gx_begin_image3_generic()
308 mask_rect.p.y = (int)(data_rect.p.y * lmh / pim->Height); in gx_begin_image3_generic()
309 mask_rect.q.x = (int)((data_rect.q.x + pim->Width - 1) * lmw / in gx_begin_image3_generic()
311 mask_rect.q.y = (int)((data_rect.q.y + pim->Height - 1) * lmh / in gx_begin_image3_generic()
314 mask_rect.p.x = mask_rect.p.y = 0; in gx_begin_image3_generic()
315 mask_rect.q.x = pim->MaskDict.Width; in gx_begin_image3_generic()
316 mask_rect.q.y = pim->MaskDict.Height; in gx_begin_image3_generic()
321 penum->mask_width = mask_rect.q.x - mask_rect.p.x; in gx_begin_image3_generic()
322 penum->mask_height = mask_rect.q.y - mask_rect.p.y; in gx_begin_image3_generic()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/
H A Dbox_reflection_utils.cc54 PhysicalRect mask_rect(PhysicalOffset(), frame_layout_rect.Size()); in BoxReflectionForPaintLayer() local
55 PhysicalRect mask_bounding_rect(mask_rect); in BoxReflectionForPaintLayer()
69 mask_rect, style, mask_nine_piece); in BoxReflectionForPaintLayer()
H A Dbox_model_object_painter.cc62 const IntRect& mask_rect, in PaintTextClipMask() argument
65 PaintInfo paint_info(context, mask_rect, PaintPhase::kTextClip, in PaintTextClipMask()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/
H A Dbox_reflection_utils.cc55 PhysicalRect mask_rect(PhysicalOffset(), frame_layout_rect.Size()); in BoxReflectionForPaintLayer() local
56 PhysicalRect mask_bounding_rect(mask_rect); in BoxReflectionForPaintLayer()
70 mask_rect, style, mask_nine_piece); in BoxReflectionForPaintLayer()
H A Dbox_model_object_painter.cc62 const IntRect& mask_rect, in PaintTextClipMask() argument
65 PaintInfo paint_info(context, mask_rect, PaintPhase::kTextClip, in PaintTextClipMask()
/dports/graphics/gimp-app/gimp-2.10.30/app/core/
H A Dgimphistogram.c73 GeglRectangle mask_rect; member
278 const GeglRectangle *mask_rect) in gimp_histogram_calculate() argument
297 if (mask_rect) in gimp_histogram_calculate()
298 context.mask_rect = *mask_rect; in gimp_histogram_calculate()
300 context.mask_rect = *gegl_buffer_get_extent (mask); in gimp_histogram_calculate()
315 const GeglRectangle *mask_rect) in gimp_histogram_calculate_async() argument
342 if (mask_rect) in gimp_histogram_calculate_async()
343 context->mask_rect = *mask_rect; in gimp_histogram_calculate_async()
345 context->mask_rect = *gegl_buffer_get_extent (mask); in gimp_histogram_calculate_async()
1042 mask_area.x += context->mask_rect.x - context->buffer_rect.x; in gimp_histogram_calculate_area()
[all …]
H A Dgimphistogram.h61 const GeglRectangle *mask_rect);
66 const GeglRectangle *mask_rect);
/dports/devel/py-game/pygame-2.1.0/test/
H A Dmask_test.py1907 mask_rect = mask.get_rect()
2812 mask_rect = mask.get_rect()
2867 mask_rect = mask.get_rect()
3497 mask_rect = mask.get_rect()
3508 mask_rect.topleft = dest
3532 mask_rect = mask.get_rect()
3551 mask_rect.topleft = dest
3766 mask_rect = mask.get_rect()
3999 mask_rect = mask.get_rect()
4074 mask_rect = mask.get_rect()
[all …]

123