Searched refs:image_rect (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/xfa/fxfa/ |
D | cxfa_imagerenderer.cpp | 35 FX_RECT image_rect = image_rect_f.GetOuterRect(); in Start() local 36 int dest_width = image_rect.Width(); in Start() 37 int dest_height = image_rect.Height(); in Start() 51 clip_box.Intersect(image_rect); in Start() 62 dest_left = dest_width > 0 ? image_rect.left : image_rect.right; in Start() 63 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in Start() 81 dest_rect.Intersect(image_rect); in Start() 83 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in Start() 84 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in Start()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_imagerenderer.cpp | 31 FX_RECT image_rect = m_Matrix.GetUnitRect().GetOuterRect(); in CFX_ImageRenderer() local 35 m_ClipBox.Intersect(image_rect); in CFX_ImageRenderer() 44 int dest_width = image_rect.Width(); in CFX_ImageRenderer() 45 int dest_height = image_rect.Height(); in CFX_ImageRenderer() 47 bitmap_clip.Offset(-image_rect.left, -image_rect.top); in CFX_ImageRenderer() 65 int dest_width = image_rect.Width(); in CFX_ImageRenderer() 69 int dest_height = image_rect.Height(); in CFX_ImageRenderer() 77 bitmap_clip.Offset(-image_rect.left, -image_rect.top); in CFX_ImageRenderer()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_imagerenderer.cpp | 423 Optional<FX_RECT> image_rect = GetUnitRect(); in StartDIBBase() local 424 if (!image_rect.has_value()) in StartDIBBase() 428 clip_box.Intersect(image_rect.value()); in StartDIBBase() 435 Optional<FX_RECT> image_rect = GetUnitRect(); in StartDIBBase() local 436 if (!image_rect.has_value()) in StartDIBBase() 443 if (!GetDimensionsFromUnitRect(image_rect.value(), &dest_left, &dest_top, in StartDIBBase() 471 dest_rect.Intersect(image_rect.value()); in StartDIBBase() 473 dest_rect.left - image_rect->left, dest_rect.top - image_rect->top, in StartDIBBase() 474 dest_rect.right - image_rect->left, dest_rect.bottom - image_rect->top); in StartDIBBase() 516 Optional<FX_RECT> image_rect = GetUnitRect(); in StartBitmapAlpha() local [all …]
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_device.cpp | 1295 FX_RECT image_rect; in StretchDIBits() local 1296 image_rect.left = dest_width > 0 ? dest_left : dest_left + dest_width; in StretchDIBits() 1297 image_rect.right = dest_width > 0 ? dest_left + dest_width : dest_left; in StretchDIBits() 1298 image_rect.top = dest_height > 0 ? dest_top : dest_top + dest_height; in StretchDIBits() 1299 image_rect.bottom = dest_height > 0 ? dest_top + dest_height : dest_top; in StretchDIBits() 1300 FX_RECT clip_rect = image_rect; in StretchDIBits() 1302 clip_rect.Offset(-image_rect.left, -image_rect.top); in StretchDIBits() 1311 !GetDIBits(background, image_rect.left + clip_rect.left, in StretchDIBits() 1312 image_rect.top + clip_rect.top) || in StretchDIBits() 1320 return SetDIBits(background, 0, src_rect, image_rect.left + clip_rect.left, in StretchDIBits() [all …]
|
/external/webrtc/modules/desktop_capture/ |
D | desktop_and_cursor_composer_unittest.cc | 165 DesktopRect image_rect = in VerifyFrame() local 167 image_rect.Translate(pos); in VerifyFrame() 172 if (state == MouseCursorMonitor::INSIDE && image_rect.Contains(p)) { in VerifyFrame()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | sample_distorted_bounding_box_op.cc | 336 const Rectangle image_rect(0, 0, width, height); in DoCompute() local 343 bounding_boxes.push_back(image_rect); in DoCompute() 373 crop_rect = image_rect; in DoCompute()
|