Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp318 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartLoadDIBSource() local
319 int dest_width = image_rect.Width(); in StartLoadDIBSource()
320 int dest_height = image_rect.Height(); in StartLoadDIBSource()
667 FX_RECT image_rect = image_rect_f.GetOutterRect(); in StartDIBSource() local
668 int dest_width = image_rect.Width(); in StartDIBSource()
669 int dest_height = image_rect.Height(); in StartDIBSource()
677 clip_box.Intersect(image_rect); in StartDIBSource()
690 dest_left = dest_width > 0 ? image_rect.left : image_rect.right; in StartDIBSource()
691 dest_top = dest_height > 0 ? image_rect.top : image_rect.bottom; in StartDIBSource()
712 dest_rect.Intersect(image_rect); in StartDIBSource()
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp1052 FX_RECT image_rect; in StretchDIBits() local
1053 image_rect.left = dest_width > 0 ? dest_left : dest_left + dest_width; in StretchDIBits()
1054 image_rect.right = dest_width > 0 ? dest_left + dest_width : dest_left; in StretchDIBits()
1055 image_rect.top = dest_height > 0 ? dest_top : dest_top + dest_height; in StretchDIBits()
1056 image_rect.bottom = dest_height > 0 ? dest_top + dest_height : dest_top; in StretchDIBits()
1057 FX_RECT clip_rect = image_rect; in StretchDIBits()
1059 clip_rect.Offset(-image_rect.left, -image_rect.top); in StretchDIBits()
1067 … !GetDIBits(&background, image_rect.left + clip_rect.left, image_rect.top + clip_rect.top, NULL) || in StretchDIBits()
1073 …FX_BOOL ret = SetDIBits(&background, 0, &src_rect, image_rect.left + clip_rect.left, image_rect.to… in StretchDIBits()
Dfx_win32_gdipext.cpp373 FX_RECT image_rect(dest_left, dest_top, dest_left + dest_width, dest_top + dest_height); in OutputImageMask() local
374 image_rect.Normalize(); in OutputImageMask()
375 FX_RECT image_clip = image_rect; in OutputImageMask()
380 image_clip.Offset(-image_rect.left, -image_rect.top); in OutputImageMask()
399 CallFunc(GdipDrawImageI)(pGraphics, bitmap, image_rect.left + image_clip.left, in OutputImageMask()
400 image_rect.top + image_clip.top); in OutputImageMask()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1537 FX_RECT image_rect = image_rect_f.GetOutterRect(); local
1539 m_ClipBox.Intersect(image_rect);
1558 int dest_width = image_rect.Width();
1559 int dest_height = image_rect.Height();
1561 bitmap_clip.Offset(-image_rect.left, -image_rect.top);
1576 int dest_width = image_rect.Width();
1580 int dest_height = image_rect.Height();
1588 bitmap_clip.Offset(-image_rect.left, -image_rect.top);