Home
last modified time | relevance | path

Searched refs:clip_rect (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/core/src/fpdfdoc/
Ddoc_annot.cpp63 … FX_BOOL bWidgetPass, CPDF_RenderOptions* pOptions, FX_RECT* clip_rect) in DisplayPass() argument
93 if (clip_rect) { in DisplayPass()
96 annot_rect.Intersect(*clip_rect); in DisplayPass()
112 FX_RECT clip_rect; in DisplayAnnots() local
114 clip_rect = pDevice->GetClipBox(); in DisplayAnnots()
117 …ayAnnots(pPage, pDevice, NULL, bPrinting, pUser2Device, bShowWidget ? 3 : 1, pOptions, &clip_rect); in DisplayAnnots()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp999 FX_RECT clip_rect(left, top, left + pSrcRect->Width(), top + pSrcRect->Height()); in SetDIBits() local
1001 &clip_rect, 0, alpha_flag, pIccTransform, FXDIB_BLEND_NORMAL); in SetDIBits()
1057 FX_RECT clip_rect = image_rect; in StretchDIBits() local
1058 clip_rect.Intersect(*pClipRect); in StretchDIBits()
1059 clip_rect.Offset(-image_rect.left, -image_rect.top); in StretchDIBits()
1060 int clip_width = clip_rect.Width(), clip_height = clip_rect.Height(); in StretchDIBits()
1061 CFX_DIBitmap* pStretched = pSource->StretchTo(dest_width, dest_height, flags, &clip_rect); in StretchDIBits()
1067 … !GetDIBits(&background, image_rect.left + clip_rect.left, image_rect.top + clip_rect.top, NULL) || in StretchDIBits()
1073 …SetDIBits(&background, 0, &src_rect, image_rect.left + clip_rect.left, image_rect.top + clip_rect.… in StretchDIBits()
Dfx_win32_print.cpp37 FX_RECT clip_rect(left, top, left + pSrcRect->Width(), top + pSrcRect->Height()); in SetDIBits() local
39 &clip_rect, 0, alpha_flag, pIccTransform, FXDIB_BLEND_NORMAL); in SetDIBits()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_engine.cpp179 int dest_width, int dest_height, const FX_RECT& clip_rect, in CStretchEngine() argument
194 m_DestClip = clip_rect; in CStretchEngine()
195 FX_DWORD size = clip_rect.Width(); in CStretchEngine()
235 double src_left = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.left) + base_x); in CStretchEngine()
236 double src_right = FXSYS_Mul(scale_x, (FX_FLOAT)(clip_rect.right) + base_x); in CStretchEngine()
237 double src_top = FXSYS_Mul(scale_y, (FX_FLOAT)(clip_rect.top) + base_y); in CStretchEngine()
238 double src_bottom = FXSYS_Mul(scale_y, (FX_FLOAT)(clip_rect.bottom) + base_y); in CStretchEngine()
Ddib_int.h63 int dest_width, int dest_height, const FX_RECT& clip_rect,
Dfx_dib_transform.cpp184 FX_RECT clip_rect(0, 0, FXSYS_abs(dest_width), FXSYS_abs(dest_height)); in StretchTo() local
186 clip_rect.Intersect(*pClip); in StretchTo()
188 if (clip_rect.IsEmpty()) { in StretchTo()
192 return Clone(&clip_rect); in StretchTo()
196 if (stretcher.Start(&storer, this, dest_width, dest_height, clip_rect, flags)) { in StretchTo()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp267 CFX_FloatRect clip_rect = m_pDevice->GetClipBox(); in RenderObjectList() local
270 device2object.TransformRect(clip_rect); in RenderObjectList()
283 … if(pCurObj == NULL || pCurObj->m_Left > clip_rect.right || pCurObj->m_Right < clip_rect.left || in RenderObjectList()
284 pCurObj->m_Bottom > clip_rect.top || pCurObj->m_Top < clip_rect.bottom) { in RenderObjectList()
Dfpdf_render_pattern.cpp771 FX_RECT& clip_rect, int alpha, FX_BOOL bAlphaMode) in DrawShading() argument
796 clip_rect.Intersect(rect.GetOutterRect()); in DrawShading()
799 buffer.Initialize(m_pContext, m_pDevice, &clip_rect, m_pCurObj, 150); in DrawShading()
Drender_int.h138 void DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, FX_RECT& clip_rect,
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp1446 FX_RECT clip_rect; in FillRect() local
1447 GetClipBox(&clip_rect); in FillRect()
1448 FX_RECT draw_rect = clip_rect; in FillRect()
1464 …fill_color, draw_rect.left - clip_rect.left, draw_rect.top - clip_rect.top, FXDIB_BLEND_NORMAL, NU… in FillRect()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h689 … FX_BOOL bWidget, CPDF_RenderOptions* pOptions, FX_RECT* clip_rect);