Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp36 FX_RECT image_rect = image_rect_f.GetOuterRect(); in Start() local
37 int dest_width = image_rect.Width(); in Start()
38 int dest_height = image_rect.Height(); in Start()
52 clip_box.Intersect(image_rect); in Start()
63 dest_left = dest_width > 0 ? image_rect.left : image_rect.right; in Start()
64 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in Start()
82 dest_rect.Intersect(image_rect); in Start()
84 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in Start()
85 dest_rect.right - image_rect.left, dest_rect.bottom - image_rect.top); in Start()
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp33 FX_RECT image_rect = m_Matrix.GetUnitRect().GetOuterRect(); in CFX_ImageRenderer() local
36 m_ClipBox.Intersect(image_rect); in CFX_ImageRenderer()
45 int dest_width = image_rect.Width(); in CFX_ImageRenderer()
46 int dest_height = image_rect.Height(); in CFX_ImageRenderer()
48 bitmap_clip.Offset(-image_rect.left, -image_rect.top); in CFX_ImageRenderer()
67 int dest_width = image_rect.Width(); in CFX_ImageRenderer()
71 int dest_height = image_rect.Height(); in CFX_ImageRenderer()
79 bitmap_clip.Offset(-image_rect.left, -image_rect.top); in CFX_ImageRenderer()
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp58 FX_RECT image_rect = image_rect_f.GetOuterRect(); in StartLoadDIBSource() local
59 if (!image_rect.Valid()) in StartLoadDIBSource()
413 FX_RECT image_rect = image_rect_f.GetOuterRect(); in StartDIBSource() local
414 int dest_width = image_rect.Width(); in StartDIBSource()
415 int dest_height = image_rect.Height(); in StartDIBSource()
424 clip_box.Intersect(image_rect); in StartDIBSource()
436 int dest_left = dest_width > 0 ? image_rect.left : image_rect.right; in StartDIBSource()
437 int dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in StartDIBSource()
461 dest_rect.Intersect(image_rect); in StartDIBSource()
463 dest_rect.left - image_rect.left, dest_rect.top - image_rect.top, in StartDIBSource()
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer_unittest.cc143 DesktopRect image_rect = in VerifyFrame() local
145 image_rect.Translate(pos); in VerifyFrame()
150 if (state == MouseCursorMonitor::INSIDE && image_rect.Contains(p)) { in VerifyFrame()
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp1288 FX_RECT image_rect; in StretchDIBits() local
1289 image_rect.left = dest_width > 0 ? dest_left : dest_left + dest_width; in StretchDIBits()
1290 image_rect.right = dest_width > 0 ? dest_left + dest_width : dest_left; in StretchDIBits()
1291 image_rect.top = dest_height > 0 ? dest_top : dest_top + dest_height; in StretchDIBits()
1292 image_rect.bottom = dest_height > 0 ? dest_top + dest_height : dest_top; in StretchDIBits()
1293 FX_RECT clip_rect = image_rect; in StretchDIBits()
1295 clip_rect.Offset(-image_rect.left, -image_rect.top); in StretchDIBits()
1304 !GetDIBits(background, image_rect.left + clip_rect.left, in StretchDIBits()
1305 image_rect.top + clip_rect.top) || in StretchDIBits()
1313 return SetDIBits(background, 0, &src_rect, image_rect.left + clip_rect.left, in StretchDIBits()
[all …]
Dfx_win32_gdipext.cpp619 FX_RECT image_rect(dest_left, dest_top, dest_left + dest_width, in OutputImageMask() local
621 image_rect.Normalize(); in OutputImageMask()
622 FX_RECT image_clip = image_rect; in OutputImageMask()
627 image_clip.Offset(-image_rect.left, -image_rect.top); in OutputImageMask()
654 image_rect.left + image_clip.left, in OutputImageMask()
655 image_rect.top + image_clip.top); in OutputImageMask()
/external/tensorflow/tensorflow/core/kernels/
Dsample_distorted_bounding_box_op.cc321 const Rectangle image_rect(0, 0, width, height); in Compute() local
328 bounding_boxes.push_back(image_rect); in Compute()
358 crop_rect = image_rect; in Compute()