/dports/devel/allegro/allegro-4.4.3.1/src/misc/ |
H A D | ccolconv.c | 49 dest = dest_rect->data; in _colorconv_blit_8_to_8() 105 dest = dest_rect->data; in _colorconv_blit_8_to_16() 232 dest = dest_rect->data; in _colorconv_blit_8_to_24() 298 dest = dest_rect->data; in _colorconv_blit_8_to_32() 373 dest = dest_rect->data; in _colorconv_blit_15_to_8() 423 dest = dest_rect->data; in _colorconv_blit_15_to_16() 461 dest = dest_rect->data; in _colorconv_blit_15_to_24() 530 dest = dest_rect->data; in _colorconv_blit_15_to_32() 576 dest = dest_rect->data; in _colorconv_blit_16_to_8() 628 dest = dest_rect->data; in _colorconv_blit_16_to_15() [all …]
|
/dports/emulators/mednafen/mednafen/src/drivers/ |
H A D | nongl.cpp | 53 if((dest_rect->w <= 0) || (dest_rect->h <= 0)) in CheckDestRect() 56 if(dest_rect->x >= dest_surface->w) in CheckDestRect() 59 if(dest_rect->y >= dest_surface->h) in CheckDestRect() 62 if(((int64)dest_rect->x + dest_rect->w) <= 0) in CheckDestRect() 65 if(((int64)dest_rect->y + dest_rect->h) <= 0) in CheckDestRect() 76 if(dest_rect->x < 0 || dest_rect->y < 0) in CheckDRNeedsClipping() 79 if(((int64)dest_rect->x + dest_rect->w) > dest_surface->w) in CheckDRNeedsClipping() 82 if(((int64)dest_rect->y + dest_rect->h) > dest_surface->h) in CheckDRNeedsClipping() 92 const int32 dr_w = dest_rect->w; \ 101 …T* dest_pixels = dest_surface->pixels + std::max(0, dest_rect->x) + (std::max(0, dest_rect->y) * d… [all …]
|
H A D | opengl.cpp | 79 neo_dest_rect.x = dest_rect->x + xseg * dest_rect->w / rect->w; in BlitRaw() 105 p_glVertex2f(dest_rect->x, dest_rect->y + dest_rect->h); in BlitRaw() 108 p_glVertex2f(dest_rect->x + dest_rect->w, dest_rect->y + dest_rect->h); in BlitRaw() 111 p_glVertex2f(dest_rect->x + dest_rect->w, dest_rect->y); in BlitRaw() 114 p_glVertex2f(dest_rect->x, dest_rect->y); in BlitRaw() 161 dest_coords[dco][0] = dest_rect->x + dest_rect->w; in MakeDestCoords() 166 dest_coords[dco][0] = dest_rect->x + dest_rect->w; in MakeDestCoords() 167 dest_coords[dco][1] = dest_rect->y + dest_rect->h; in MakeDestCoords() 172 dest_coords[dco][1] = dest_rect->y + dest_rect->h; in MakeDestCoords() 254 bound_pos = dest_rect->x + dest_rect->w; in DrawLinearIP() [all …]
|
H A D | nnx.cpp | 36 T *dest_pixies = dest->pix<T>() + dest_rect->y * dest->pitchinpix; in t_nnx() 37 dest_pixies += dest_rect->x; in t_nnx() 39 int dest_pitch_diff = dest_pitch - dest_rect->w + dest_pitch * (factor - 1); in t_nnx() 131 T *dest_pixies = dest->pix<T>() + dest_rect->y * dest->pitchinpix; in t_nnyx() 132 dest_pixies += dest_rect->x; in t_nnyx() 196 t_nnx<uint8>(factor, src, src_rect, dest, dest_rect); in nnx() 200 t_nnx<uint16>(factor, src, src_rect, dest, dest_rect); in nnx() 204 t_nnx<uint32>(factor, src, &src_rect, dest, &dest_rect); in nnx() 215 t_nnyx<uint8>(factor, src, src_rect, dest, dest_rect); in nnyx() 219 t_nnyx<uint16>(factor, src, src_rect, dest, dest_rect); in nnyx() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/src/qnx/ |
H A D | qphaccel.c | 55 struct Ph_rect dest_rect = { in photon_blit_to_self() local 78 ph_update_window(&dest_rect); in photon_blit_to_self() 95 struct Ph_rect dest_rect = { in photon_masked_blit() local 188 struct Ph_rect dest_rect = { in photon_clear_to_color() local 212 ph_update_window(&dest_rect); in photon_clear_to_color() 224 struct Ph_rect dest_rect; in photon_rectfill() local 284 ph_update_window(&dest_rect); in photon_rectfill() 296 struct Ph_rect dest_rect; in ddraw_hline() local 335 PgDrawLine(&dest_rect.ul, &dest_rect.lr); in ddraw_hline() 349 struct Ph_rect dest_rect; in ddraw_vline() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/ |
H A D | blit.cc | 65 gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); in ScrollCanvas() local 66 if (dest_rect.size().IsEmpty()) in ScrollCanvas() 70 gfx::Rect src_rect = dest_rect - offset; in ScrollCanvas() 72 size_t row_bytes = dest_rect.width() * 4; in ScrollCanvas() 75 for (int y = dest_rect.height() - 1; y >= 0; y--) { in ScrollCanvas() 76 memcpy(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas() 82 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas() 83 memcpy(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas() 91 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas() 92 memmove(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/ |
H A D | blit.cc | 65 gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); in ScrollCanvas() local 66 if (dest_rect.size().IsEmpty()) in ScrollCanvas() 70 gfx::Rect src_rect = dest_rect - offset; in ScrollCanvas() 72 size_t row_bytes = dest_rect.width() * 4; in ScrollCanvas() 75 for (int y = dest_rect.height() - 1; y >= 0; y--) { in ScrollCanvas() 76 memcpy(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas() 82 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas() 83 memcpy(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas() 91 for (int y = 0; y < dest_rect.height(); y++) { in ScrollCanvas() 92 memmove(pixmap.writable_addr32(dest_rect.x(), dest_rect.y() + y), in ScrollCanvas()
|
/dports/devel/allegro/allegro-4.4.3.1/src/win/ |
H A D | wddaccel.c | 93 RECT dest_rect, source_rect; in ddraw_masked_blit() local 100 dest_rect.top = dest_y + dest->y_ofs; in ddraw_masked_blit() 204 RECT dest_rect, source_rect; in ddraw_do_stretch_blit() local 268 RECT dest_rect; in ddraw_clear_to_color() local 310 RECT dest_rect; in ddraw_rectfill() local 353 dest_rect.top = y1 + bitmap->y_ofs; in ddraw_rectfill() 389 RECT dest_rect; in ddraw_hline() local 420 dest_rect.top = y + bitmap->y_ofs; in ddraw_hline() 455 RECT dest_rect; in ddraw_vline() local 485 dest_rect.top = y1 + bitmap->y_ofs; in ddraw_vline() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/ |
H A D | placeholder_image.cc | 75 const FloatRect& dest_rect, in DrawCenteredIcon() argument 79 dest_rect.X() + (dest_rect.Width() - scale_factor * kIconWidth) / 2.0f, in DrawCenteredIcon() 80 dest_rect.Y() + (dest_rect.Height() - scale_factor * kIconHeight) / 2.0f, in DrawCenteredIcon() 253 FloatRect(dest_rect), FloatRect(dest_rect), kRespectImageOrientation, in PaintImageForCurrentFrame() 293 canvas->drawRect(dest_rect, flags); in Draw() 295 if (dest_rect.Width() < in Draw() 297 dest_rect.Height() < in Draw() 328 dest_rect.X() + (dest_rect.Width() - icon_and_text_width) / 2.0f; in Draw() 330 dest_rect.Y() + in Draw() 331 (dest_rect.Height() - in Draw() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/ |
H A D | placeholder_image.cc | 75 const FloatRect& dest_rect, in DrawCenteredIcon() argument 79 dest_rect.X() + (dest_rect.Width() - scale_factor * kIconWidth) / 2.0f, in DrawCenteredIcon() 80 dest_rect.Y() + (dest_rect.Height() - scale_factor * kIconHeight) / 2.0f, in DrawCenteredIcon() 251 FloatRect(dest_rect), FloatRect(dest_rect), kRespectImageOrientation, in PaintImageForCurrentFrame() 287 canvas->drawRect(dest_rect, flags); in Draw() 289 if (dest_rect.Width() < in Draw() 291 dest_rect.Height() < in Draw() 322 dest_rect.X() + (dest_rect.Width() - icon_and_text_width) / 2.0f; in Draw() 324 dest_rect.Y() + in Draw() 325 (dest_rect.Height() - in Draw() [all …]
|
H A D | placeholder_image_test.cc | 73 ExpectDrawGrayBox(canvas, dest_rect); in DrawImageExpectingGrayBoxOnly() 77 image.Draw(&canvas, PaintFlags(), dest_rect, in DrawImageExpectingGrayBoxOnly() 83 const FloatRect& dest_rect, in DrawImageExpectingIconOnly() argument 86 ExpectDrawGrayBox(canvas, dest_rect); in DrawImageExpectingIconOnly() 93 FloatNear(dest_rect.Center().X() - in DrawImageExpectingIconOnly() 97 FloatNear(dest_rect.Center().Y() - in DrawImageExpectingIconOnly() 109 image.Draw(&canvas, PaintFlags(), dest_rect, in DrawImageExpectingIconOnly() 145 ExpectDrawGrayBox(canvas, dest_rect); in DrawImageExpectingIconAndTextLTR() 199 image.Draw(&canvas, PaintFlags(), dest_rect, in DrawImageExpectingIconAndTextLTR() 397 ExpectDrawGrayBox(canvas, dest_rect); in TEST_F() [all …]
|
/dports/graphics/pinta/pinta-1.7.1/Pinta.Tools/Tools/ |
H A D | EraserTool.cs | 74 private ImageSurface copySurfacePart(ImageSurface surf, Gdk.Rectangle dest_rect) in copySurfacePart() argument 76 …mp_surface = CairoExtensions.CreateImageSurface (Format.Argb32, dest_rect.Width, dest_rect.Height); in copySurfacePart() 80 g.SetSourceSurface (surf, -dest_rect.Left, -dest_rect.Top); in copySurfacePart() 81 g.Rectangle (new Rectangle (0, 0, dest_rect.Width, dest_rect.Height)); in copySurfacePart() 92 g.SetSourceSurface (tmp_surface, dest_rect.Left, dest_rect.Top); in pasteSurfacePart() 93 … g.Rectangle (new Rectangle (dest_rect.Left, dest_rect.Top, dest_rect.Width, dest_rect.Height)); in pasteSurfacePart() 141 if ((dest_rect.Width > 0) && (dest_rect.Height > 0)) { in eraseSmooth() 143 using (ImageSurface tmp_surface = copySurfacePart (surf, dest_rect)) { in eraseSmooth() 145 for (int iy = dest_rect.Top; iy < dest_rect.Bottom; iy++) { in eraseSmooth() 152 for (int ix = dest_rect.Left; ix < dest_rect.Right; ix++) { in eraseSmooth() [all …]
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/res/ |
H A D | cs_clip_box_shadow.glsl | 25 RectWithSize dest_rect; 30 RectWithSize dest_rect = RectWithSize(data[2].xy, data[2].zw); 36 dest_rect 49 RectWithSize dest_rect = bs_data.dest_rect; 50 dest_rect.p0 += cmi.local_pos; 53 dest_rect, 73 vEdge.z = (dest_rect.size.x / bs_data.src_rect_size.x) - 0.5; 74 vUv.x = (local_pos.x - dest_rect.p0.x) / bs_data.src_rect_size.x; 80 vUv.x = (local_pos.x - dest_rect.p0.x) / dest_rect.size.x; 88 vEdge.w = (dest_rect.size.y / bs_data.src_rect_size.y) - 0.5; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/ |
H A D | svg_preserve_aspect_ratio.cc | 184 void SVGPreserveAspectRatio::TransformRect(FloatRect& dest_rect, in TransformRect() argument 190 float orig_dest_width = dest_rect.Width(); in TransformRect() 191 float orig_dest_height = dest_rect.Height(); in TransformRect() 203 dest_rect.SetY(dest_rect.Y() + orig_dest_height / 2 - in TransformRect() 204 dest_rect.Height() / 2); in TransformRect() 209 dest_rect.SetY(dest_rect.Y() + orig_dest_height - in TransformRect() 210 dest_rect.Height()); in TransformRect() 222 dest_rect.SetX(dest_rect.X() + orig_dest_width / 2 - in TransformRect() 223 dest_rect.Width() / 2); in TransformRect() 228 dest_rect.SetX(dest_rect.X() + orig_dest_width - dest_rect.Width()); in TransformRect() [all …]
|
/dports/graphics/tumble/tumble-0.36/ |
H A D | bitblt.c | 233 Rect dest_rect) in blt_background() argument 243 assert (dest_rect.min.x < dest_rect.max.x); in blt_background() 244 assert (dest_rect.min.y < dest_rect.max.y); in blt_background() 252 dest_rect.min.x = dest_bitmap->rect.min.x; in blt_background() 254 dest_rect.max.x = dest_bitmap->rect.max.x; in blt_background() 260 left_bit = dest_rect.min.x % BITS_PER_WORD; in blt_background() 333 Rect *dest_rect) 339 assert (dest_rect->min.x < dest_rect->max.x); 340 assert (dest_rect->min.y < dest_rect->max.y); 343 assert (dest_rect->min.x < dest_rect->max.x); [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/webrender/res/ |
H A D | cs_clip_box_shadow.glsl | 25 RectWithSize dest_rect; 30 RectWithSize dest_rect = RectWithSize(data[2].xy, data[2].zw); 36 dest_rect 48 RectWithSize dest_rect = bs_data.dest_rect; 51 dest_rect, 69 vEdge.z = (dest_rect.size.x / bs_data.src_rect_size.x) - 0.5; 70 vUv.x = (local_pos.x - dest_rect.p0.x) / bs_data.src_rect_size.x; 76 vUv.x = (local_pos.x - dest_rect.p0.x) / dest_rect.size.x; 84 vEdge.w = (dest_rect.size.y / bs_data.src_rect_size.y) - 0.5; 85 vUv.y = (local_pos.y - dest_rect.p0.y) / bs_data.src_rect_size.y; [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/svg/ |
H A D | svg_preserve_aspect_ratio.cc | 188 void SVGPreserveAspectRatio::TransformRect(FloatRect& dest_rect, in TransformRect() argument 194 float orig_dest_width = dest_rect.Width(); in TransformRect() 195 float orig_dest_height = dest_rect.Height(); in TransformRect() 207 dest_rect.SetY(dest_rect.Y() + orig_dest_height / 2 - in TransformRect() 208 dest_rect.Height() / 2); in TransformRect() 213 dest_rect.SetY(dest_rect.Y() + orig_dest_height - in TransformRect() 214 dest_rect.Height()); in TransformRect() 226 dest_rect.SetX(dest_rect.X() + orig_dest_width / 2 - in TransformRect() 227 dest_rect.Width() / 2); in TransformRect() 232 dest_rect.SetX(dest_rect.X() + orig_dest_width - dest_rect.Width()); in TransformRect() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/app/gegl/ |
H A D | gimp-gegl-apply-operation.c | 59 const GeglRectangle *dest_rect, in gimp_gegl_apply_operation() argument 67 dest_rect, in gimp_gegl_apply_operation() 115 if (! dest_rect) in gimp_gegl_apply_cached_operation() 116 dest_rect = gegl_buffer_get_extent (dest_buffer); in gimp_gegl_apply_cached_operation() 183 all_pixels = (gint64) dest_rect->width * (gint64) dest_rect->height; in gimp_gegl_apply_cached_operation() 350 dest_buffer, dest_rect); in gimp_gegl_apply_cached_operation() 435 const GeglRectangle *dest_rect, in gimp_gegl_apply_feather() argument 456 dest_buffer, dest_rect, in gimp_gegl_apply_feather() 558 const GeglRectangle *dest_rect, in gimp_gegl_apply_grow() argument 584 const GeglRectangle *dest_rect, in gimp_gegl_apply_shrink() argument [all …]
|
H A D | gimp-gegl-loops.h | 29 const GeglRectangle *dest_rect); 40 const GeglRectangle *dest_rect, 50 const GeglRectangle *dest_rect, 68 const GeglRectangle *dest_rect, 74 const GeglRectangle *dest_rect, 80 const GeglRectangle *dest_rect, 95 const GeglRectangle *dest_rect,
|
/dports/games/fillets-ng/fillets-ng-1.0.1/src/effect/ |
H A D | WavyPicture.cpp | 42 SDL_Rect dest_rect; in drawOn() local 57 dest_rect.x = m_loc.getX(); in drawOn() 58 dest_rect.y = m_loc.getY() + py; in drawOn() 59 SDL_BlitSurface(m_surface, &line_rect, screen, &dest_rect); in drawOn() 64 dest_rect.x = m_loc.getX() + pad.x; in drawOn() 65 dest_rect.y = m_loc.getY() + py; in drawOn() 66 SDL_BlitSurface(m_surface, &pad, screen, &dest_rect); in drawOn()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/desktop_capture/ |
H A D | desktop_frame.cc | 32 const DesktopRect& dest_rect) { in CopyPixelsFrom() argument 33 assert(DesktopRect::MakeSize(size()).ContainsRect(dest_rect)); in CopyPixelsFrom() 35 uint8_t* dest = GetFrameDataAtPos(dest_rect.top_left()); in CopyPixelsFrom() 36 for (int y = 0; y < dest_rect.height(); ++y) { in CopyPixelsFrom() 37 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); in CopyPixelsFrom() 45 const DesktopRect& dest_rect) { in CopyPixelsFrom() argument 47 DesktopRect::MakeOriginSize(src_pos, dest_rect.size()))); in CopyPixelsFrom() 50 src_frame.stride(), dest_rect); in CopyPixelsFrom()
|
/dports/games/kevedit/kevedit-0.5.1/src/display/ |
H A D | display_sdl.c | 706 SDL_Rect src_rect, dest_rect; in display_update() local 780 dest_rect.x = src_rect.x+xstart; in display_update() 786 SDL_UpdateRect(vdest->video, dest_rect.x, dest_rect.y, dest_rect.w, dest_rect.h); in display_update() 809 SDL_Rect src_rect, dest_rect; in display_curse() local 834 src_rect.w = dest_rect.w = 8; in display_curse() 835 src_rect.h = dest_rect.h = 14; in display_curse() 838 SDL_UpdateRect(info.video, dest_rect.x, dest_rect.y, dest_rect.w, dest_rect.h); in display_curse() 843 SDL_Rect src_rect, dest_rect; in display_curse_inactive() local 879 src_rect.w = dest_rect.w = 8; in display_curse_inactive() 880 src_rect.h = dest_rect.h = 14; in display_curse_inactive() [all …]
|
/dports/graphics/cegui/cegui-0.8.7/cegui/src/falagard/ |
H A D | ComponentBase.cpp | 51 Rectf dest_rect(d_area.getPixelRect(srcWindow)); in render() local 54 clipper = &dest_rect; in render() 56 const Rectf final_clip_rect(dest_rect.getIntersection(*clipper)); in render() 57 render_impl(srcWindow, dest_rect, modColours, in render() 68 Rectf dest_rect(d_area.getPixelRect(srcWindow, baseRect)); in render() local 71 clipper = &dest_rect; in render() 73 const Rectf final_clip_rect(dest_rect.getIntersection(*clipper)); in render() 74 render_impl(srcWindow, dest_rect, modColours, in render()
|
/dports/emulators/mednafen/mednafen/src/video/ |
H A D | resize.cpp | 57 …const MDFN_Rect *src_rect, const int32 *LineWidths, MDFN_Surface *dest, const MDFN_Rect *dest_rect) in MDFN_ResizeSurface() argument 66 src_x_inc = (double)src_rect->w / dest_rect->w; in MDFN_ResizeSurface() 67 src_y_inc = (double)src_rect->h / dest_rect->h; in MDFN_ResizeSurface() 74 for(int32 y = 0; y < dest_rect->h; y++) in MDFN_ResizeSurface() 76 uint32 *dest_pix = dest->pixels + dest_rect->x + (dest_rect->y + y) * dest->pitch32; in MDFN_ResizeSurface() 89 src_x_inc = (double)LineWidths[INT(src_y)] / dest_rect->w; in MDFN_ResizeSurface() 106 for(int32 x = 0; x < dest_rect->w; x++) in MDFN_ResizeSurface() 109 else for(int32 x = 0; x < dest_rect->w; x++) in MDFN_ResizeSurface()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/base/ |
H A D | util.cc | 52 const webrtc::DesktopRect& dest_rect) { in CopyRGB32Rect() argument 53 DCHECK(DoesRectContain(dest_buffer_rect, dest_rect)); in CopyRGB32Rect() 54 DCHECK(DoesRectContain(source_buffer_rect, dest_rect)); in CopyRGB32Rect() 58 dest_rect.left() - source_buffer_rect.left(), in CopyRGB32Rect() 59 dest_rect.top() - source_buffer_rect.top(), in CopyRGB32Rect() 62 dest_rect.left() - dest_buffer_rect.left(), in CopyRGB32Rect() 63 dest_rect.top() - dest_buffer_rect.top(), in CopyRGB32Rect() 67 const int bytes_per_line = kBytesPerPixelRGB32 * dest_rect.width(); in CopyRGB32Rect() 68 for (int i = 0 ; i < dest_rect.height(); ++i) { in CopyRGB32Rect()
|