Searched refs:image_clip (Results 1 – 2 of 2) sorted by relevance
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_gdipext.cpp | 373 FX_RECT image_clip = image_rect; in OutputImageMask() local 374 image_clip.Intersect(*pClipRect); in OutputImageMask() 375 if (image_clip.IsEmpty()) { in OutputImageMask() 378 image_clip.Offset(-image_rect.left, -image_rect.top); in OutputImageMask() 381 pStretched = _StretchMonoToGray(dest_width, dest_height, pBitmap, &image_clip); in OutputImageMask() 383 pStretched = pBitmap->StretchTo(dest_width, dest_height, FALSE, &image_clip); in OutputImageMask() 386 CallFunc(GdipCreateBitmapFromScan0)(image_clip.Width(), image_clip.Height(), in OutputImageMask() 387 … (image_clip.Width() + 3) / 4 * 4, PixelFormat8bppIndexed, pStretched->GetBuffer(), &bitmap); in OutputImageMask() 397 CallFunc(GdipDrawImageI)(pGraphics, bitmap, image_rect.left + image_clip.left, in OutputImageMask() 398 image_rect.top + image_clip.top); in OutputImageMask()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 438 FX_RECT image_clip = image_rect; in StartRenderDIBSource() local 441 if ((image_clip.Width() * m_pDIBSource->GetWidth() / image_rect.Width()) * in StartRenderDIBSource() 442 (image_clip.Height() * m_pDIBSource->GetHeight() / image_rect.Height()) > in StartRenderDIBSource()
|