Home
last modified time | relevance | path

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

/external/pdfium/third_party/agg23/
Dagg_clip_liang_barsky.h26 inline unsigned clipping_flags(T x, T y, const rect_base<T>& clip_box) in clipping_flags() argument
28 return (x > clip_box.x2) | in clipping_flags()
29 ((y > clip_box.y2) << 1) | in clipping_flags()
30 ((x < clip_box.x1) << 2) | in clipping_flags()
31 ((y < clip_box.y1) << 3); in clipping_flags()
35 const rect_base<T>& clip_box, in clip_liang_barsky() argument
43 deltax = (x1 > clip_box.x1) ? -nearzero : nearzero; in clip_liang_barsky()
47 xin = (FX_FLOAT)clip_box.x1; in clip_liang_barsky()
48 xout = (FX_FLOAT)clip_box.x2; in clip_liang_barsky()
50 xin = (FX_FLOAT)clip_box.x2; in clip_liang_barsky()
[all …]
Dagg_renderer_base.h64 const rect& clip_box() const in clip_box() function
Dagg_rasterizer_scanline_aa.h222 void clip_box(FX_FLOAT x1, FX_FLOAT y1, FX_FLOAT x2, FX_FLOAT y2) in clip_box() function
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp949 FX_RECT clip_box = m_pDevice->GetClipBox(); in ProcessShading() local
950 rect.Intersect(clip_box); in ProcessShading()
1015 FX_RECT clip_box = m_pDevice->GetClipBox(); in DrawTilingPattern() local
1016 if (clip_box.IsEmpty()) { in DrawTilingPattern()
1023 clip_box.right = clip_box.left + (int32_t)FXSYS_ceil(clip_box.Width() * sa); in DrawTilingPattern()
1024 clip_box.bottom = clip_box.top + (int32_t)FXSYS_ceil(clip_box.Height() * sd); in DrawTilingPattern()
1048 CFX_FloatRect clip_box_p(clip_box); in DrawTilingPattern()
1058 if (width > clip_box.Width() || height > clip_box.Height() || in DrawTilingPattern()
1059 width * height > clip_box.Width() * clip_box.Height()) { in DrawTilingPattern()
1092 min_col = (clip_box.left - orig_x) / width; in DrawTilingPattern()
[all …]
Dfpdf_render_image.cpp721 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource() local
722 clip_box.Intersect(image_rect); in StartDIBSource()
725 m_pTransformer->Start(m_pDIBSource, &m_ImageMatrix, m_Flags, &clip_box); in StartDIBSource()
759 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource() local
760 FX_RECT dest_rect = clip_box; in StartDIBSource()
/external/pdfium/core/src/fxge/skia/
Dfx_skia_device.cpp299 SkIRect clip_box; in SetClipMask() local
300 clip_box.set(0, 0, fix0_to_8(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClipMask()
302 clip_box.intersect(m_pAggDriver->m_pClipRgn->GetBox().left, in SetClipMask()
311 clip_box.intersect(FXSYS_floor(path_rect.fLeft), FXSYS_floor(path_rect.fTop), in SetClipMask()
316 pThisLayer->Create(clip_box.width(), clip_box.height(), FXDIB_8bppMask); in SetClipMask()
320 render.Init(pThisLayer, clip_box.fLeft, clip_box.fTop); in SetClipMask()
322 SkRasterClip rasterClip(clip_box); in SetClipMask()
327 m_pAggDriver->m_pClipRgn->IntersectMaskF(clip_box.fLeft, clip_box.fTop, mask); in SetClipMask()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp420 FX_RECT clip_box = m_ClipBox; in StretchDIBits() local
421 clip_box.Intersect(dest_rect); in StretchDIBits()
422 if (clip_box.IsEmpty()) { in StretchDIBits()
426 dest_height, &clip_box, flags, 0, in StretchDIBits()
450 FX_RECT clip_box = m_ClipBox; in StretchBitMask() local
451 clip_box.Intersect(dest_rect); in StretchBitMask()
453 dest_height, &clip_box, flags, in StretchBitMask()
/external/pdfium/third_party/freetype/src/smooth/
Dftgrays.c449 FT_BBox clip_box; member
1796 clip = &ras.clip_box; in gray_convert_glyph()
1973 ras.clip_box.xMin = 0; in gray_raster_render()
1974 ras.clip_box.yMin = 0; in gray_raster_render()
1975 ras.clip_box.xMax = (FT_Pos)target_map->width; in gray_raster_render()
1976 ras.clip_box.yMax = (FT_Pos)target_map->rows; in gray_raster_render()
1979 ras.clip_box = params->clip_box; in gray_raster_render()
1982 ras.clip_box.xMin = -32768L; in gray_raster_render()
1983 ras.clip_box.yMin = -32768L; in gray_raster_render()
1984 ras.clip_box.xMax = 32767L; in gray_raster_render()
[all …]
/external/freetype/src/smooth/
Dftgrays.c453 FT_BBox clip_box; member
1813 clip = &ras.clip_box; in gray_convert_glyph()
1990 ras.clip_box.xMin = 0; in gray_raster_render()
1991 ras.clip_box.yMin = 0; in gray_raster_render()
1992 ras.clip_box.xMax = (FT_Pos)target_map->width; in gray_raster_render()
1993 ras.clip_box.yMax = (FT_Pos)target_map->rows; in gray_raster_render()
1996 ras.clip_box = params->clip_box; in gray_raster_render()
1999 ras.clip_box.xMin = -32768L; in gray_raster_render()
2000 ras.clip_box.yMin = -32768L; in gray_raster_render()
2001 ras.clip_box.xMax = 32767L; in gray_raster_render()
[all …]
/external/pdfium/third_party/freetype/include/freetype/
Dftimage.h1017 FT_BBox clip_box; member
/external/freetype/include/
Dftimage.h1017 FT_BBox clip_box; member
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp339 rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathFill()
359 rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in SetClip_PathStroke()
1225 rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in DrawPath()
1244 rasterizer.clip_box(0.0f, 0.0f, in DrawPath()
1274 rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), in DrawPath()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp581 FX_RECT clip_box = m_pDevice->GetClipBox(); in StartDIBSource() local
582 clip_box.Intersect(image_rect); in StartDIBSource()
585 m_pTransformer->Start(pDib, &m_ImageMatrix, m_Flags, &clip_box); in StartDIBSource()
616 FX_RECT clip_box = m_pDevice->GetClipBox(); in StartDIBSource() local
617 FX_RECT dest_rect = clip_box; in StartDIBSource()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp4672 FX_RECT clip_box; in CompositeBitmap() local
4676 clip_box = pClipRgn->GetBox(); in CompositeBitmap()
4703 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeBitmap()
4704 (dest_left - clip_box.left); in CompositeBitmap()
4750 FX_RECT clip_box; in CompositeMask() local
4754 clip_box = pClipRgn->GetBox(); in CompositeMask()
4775 (dest_top + row - clip_box.top) * pClipMask->m_Pitch + in CompositeMask()
4776 (dest_left - clip_box.left); in CompositeMask()