/external/chromium_org/ui/gfx/ |
blit.cc | 169 gfx::Rect dest_rect = gfx::IntersectRects(clip + offset, clip); local 170 if (dest_rect.size().IsEmpty()) 173 // Compute the source pixels that will map to the dest_rect 174 gfx::Rect src_rect = dest_rect - offset; 176 size_t row_bytes = dest_rect.width() * 4; 179 for (int y = dest_rect.height() - 1; y >= 0; y--) { 180 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y), 186 for (int y = 0; y < dest_rect.height(); y++) { 187 memcpy(bitmap.getAddr32(dest_rect.x(), dest_rect.y() + y) [all...] |
canvas.cc | 533 SkRect dest_rect = { SkIntToScalar(dest_x), local 537 canvas_->drawRect(dest_rect, paint); 601 SkRect dest_rect = { SkIntToScalar(dest_x), 613 canvas_->drawBitmapRect(bitmap, &src_rect, dest_rect, &paint); 641 canvas_->drawRect(dest_rect, p);
|
/external/chromium_org/remoting/base/ |
util_unittest.cc | 157 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( local 163 tester.RunTest(dest_size, dest_rect); 175 webrtc::DesktopRect dest_rect = webrtc::DesktopRect::MakeLTRB( local 181 tester.RunTest(dest_size, dest_rect);
|
/external/chromium_org/cc/output/ |
software_renderer.cc | 469 SkRect dest_rect = gfx::RectFToSkRect(QuadVertexRect()); local 475 content_mat.setRectToRect(content_rect, dest_rect, 529 mask_mat.setRectToRect(mask_rect, dest_rect, SkMatrix::kFill_ScaleToFit);
|
/external/chromium_org/content/renderer/pepper/ |
pepper_graphics_2d_host.cc | 107 const SkRect& dest_rect) { 117 dest_rect.width() == dest_image->width()) { 123 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), 124 static_cast<int>(dest_rect.fTop))); 132 dest_bitmap->getAddr32(static_cast<int>(dest_rect.fLeft), 133 static_cast<int>(dest_rect.fTop + y))); 271 SkRect dest_rect = {SkIntToScalar(0), SkIntToScalar(0), local 277 ConvertImageData(image_data_.get(), src_irect, image_resource, dest_rect); 285 *image_data_->GetMappedBitmap(), &src_irect, dest_rect, &paint); 713 SkRect dest_rect = {SkIntToScalar(invalidated_rect->x()) local 749 SkRect dest_rect = {SkIntToScalar(0), SkIntToScalar(0), local [all...] |