Home
last modified time | relevance | path

Searched refs:clip_box (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/third_party/agg23/
Dagg_clip_liang_barsky.h27 inline unsigned clipping_flags(T x, T y, const rect_base<T>& clip_box) in clipping_flags() argument
29 return (x > clip_box.x2) | in clipping_flags()
30 ((y > clip_box.y2) << 1) | in clipping_flags()
31 ((x < clip_box.x1) << 2) | in clipping_flags()
32 ((y < clip_box.y1) << 3); in clipping_flags()
36 const rect_base<T>& clip_box, in clip_liang_barsky() argument
54 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
58 xin = (float)clip_box.x1; in clip_liang_barsky()
59 xout = (float)clip_box.x2; in clip_liang_barsky()
61 xin = (float)clip_box.x2; in clip_liang_barsky()
[all …]
D0002-ubsan-error-fixes.patch33 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero;
Dagg_renderer_base.h64 const rect& clip_box() const in clip_box() function
Dagg_rasterizer_scanline_aa.h222 void clip_box(float x1, float y1, float x2, float y2) in clip_box() function
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp51 FX_RECT clip_box = m_pDevice->GetClipBox(); in Start() local
52 clip_box.Intersect(image_rect); in Start()
55 pDib, &m_ImageMatrix, FXDIB_INTERPOL, &clip_box); in Start()
80 FX_RECT clip_box = m_pDevice->GetClipBox(); in Start() local
81 FX_RECT dest_rect = clip_box; in Start()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp2195 FX_RECT clip_box = m_pDevice->GetClipBox(); in ProcessShading() local
2196 rect.Intersect(clip_box); in ProcessShading()
2224 FX_RECT clip_box = m_pDevice->GetClipBox(); in DrawTilingPattern() local
2225 if (clip_box.IsEmpty()) in DrawTilingPattern()
2231 clip_box.right = clip_box.left + (int32_t)ceil(clip_box.Width() * sa); in DrawTilingPattern()
2232 clip_box.bottom = clip_box.top + (int32_t)ceil(clip_box.Height() * sd); in DrawTilingPattern()
2263 mtPattern2Device.GetInverse().TransformRect(CFX_FloatRect(clip_box)); in DrawTilingPattern()
2277 if (width > clip_box.Width() || height > clip_box.Height() || in DrawTilingPattern()
2278 width * height > clip_box.Width() * clip_box.Height()) { in DrawTilingPattern()
2307 min_col = (clip_box.left - orig_x) / width; in DrawTilingPattern()
[all …]
Dcpdf_imagerenderer.cpp423 FX_RECT clip_box = m_pRenderStatus->GetRenderDevice()->GetClipBox(); in StartDIBSource() local
424 clip_box.Intersect(image_rect); in StartDIBSource()
427 m_pDIBSource, &m_ImageMatrix, m_Flags, &clip_box); in StartDIBSource()
459 FX_RECT clip_box = m_pRenderStatus->GetRenderDevice()->GetClipBox(); in StartDIBSource() local
460 FX_RECT dest_rect = clip_box; in StartDIBSource()
/external/pdfium/core/fxge/win32/
Dfx_win32_device.cpp230 const rect_base& clip_box, in clip_liang_barsky() argument
238 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
241 xin = clip_box.x1; in clip_liang_barsky()
242 xout = clip_box.x2; in clip_liang_barsky()
244 xin = clip_box.x2; in clip_liang_barsky()
245 xout = clip_box.x1; in clip_liang_barsky()
249 deltay = (y1 > clip_box.y1) ? -nearzero : nearzero; in clip_liang_barsky()
252 yin = clip_box.y1; in clip_liang_barsky()
253 yout = clip_box.y2; in clip_liang_barsky()
255 yin = clip_box.y2; in clip_liang_barsky()
[all …]
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp859 FX_RECT clip_box; in CompositeBitmap() local
863 clip_box = pClipRgn->GetBox(); in CompositeBitmap()
890 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeBitmap()
891 (dest_left - clip_box.left); in CompositeBitmap()
937 FX_RECT clip_box; in CompositeMask() local
941 clip_box = pClipRgn->GetBox(); in CompositeMask()
962 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeMask()
963 (dest_left - clip_box.left); in CompositeMask()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp792 FX_RECT clip_box = m_ClipBox; in StretchDIBitsWithFlagsAndBlend() local
793 clip_box.Intersect(dest_rect); in StretchDIBitsWithFlagsAndBlend()
794 return clip_box.IsEmpty() || m_pDeviceDriver->StretchDIBits( in StretchDIBitsWithFlagsAndBlend()
796 dest_height, &clip_box, flags, blend_mode); in StretchDIBitsWithFlagsAndBlend()
827 FX_RECT clip_box = m_ClipBox; in StretchBitMaskWithFlags() local
828 clip_box.Intersect(dest_rect); in StretchBitMaskWithFlags()
830 dest_height, &clip_box, flags, in StretchBitMaskWithFlags()
/external/freetype/include/freetype/
Dftimage.h1007 FT_BBox clip_box; member
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1245 rasterizer.clip_box(0.0f, 0.0f, in SetClip_PathFill()
1267 rasterizer.clip_box(0.0f, 0.0f, in SetClip_PathStroke()
1316 rasterizer.clip_box(0.0f, 0.0f, in DrawPath()
1336 rasterizer.clip_box(0.0f, 0.0f, in DrawPath()
1360 rasterizer.clip_box(0.0f, 0.0f, in DrawPath()
/external/freetype/src/smooth/
Dftgrays.c1916 clip = params->clip_box; in gray_raster_render()
/external/freetype/
DChangeLog.202235 Add `clip_box' element to FT_Raster_Params structure.
DChangeLog.26306 (gray_TWorker): No need to store `clip_box'.