/external/pdfium/core/src/fxge/agg/agg23/ |
D | agg_clip_liang_barsky.h | 26 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 …]
|
D | agg_renderer_base.h | 64 const rect& clip_box() const in clip_box() function
|
D | fx_agg_driver.cpp | 340 …rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), (FX_FLOAT)(GetDeviceC… in SetClip_PathFill() 357 …rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), (FX_FLOAT)(GetDeviceC… in SetClip_PathStroke() 1145 …rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), (FX_FLOAT)(GetDeviceC… in DrawPath() 1158 …rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), (FX_FLOAT)(GetDeviceC… in DrawPath() 1181 …rasterizer.clip_box(0.0f, 0.0f, (FX_FLOAT)(GetDeviceCaps(FXDC_PIXEL_WIDTH)), (FX_FLOAT)(GetDeviceC… in DrawPath()
|
D | agg_rasterizer_scanline_aa.h | 219 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/ |
D | fpdf_render_pattern.cpp | 875 FX_RECT clip_box = m_pDevice->GetClipBox(); in ProcessShading() local 876 rect.Intersect(clip_box); in ProcessShading() 934 FX_RECT clip_box = m_pDevice->GetClipBox(); in DrawTilingPattern() local 935 if (clip_box.IsEmpty()) { in DrawTilingPattern() 942 clip_box.right = clip_box.left + (FX_INT32)FXSYS_ceil(clip_box.Width() * sa); in DrawTilingPattern() 943 clip_box.bottom = clip_box.top + (FX_INT32)FXSYS_ceil(clip_box.Height() * sd); in DrawTilingPattern() 966 CFX_FloatRect clip_box_p(clip_box); in DrawTilingPattern() 972 …if (width > clip_box.Width() || height > clip_box.Height() || width * height > clip_box.Width() * … in DrawTilingPattern() 1005 min_col = (clip_box.left - orig_x) / width; in DrawTilingPattern() 1006 if (clip_box.left < orig_x) { in DrawTilingPattern() [all …]
|
D | fpdf_render_image.cpp | 676 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource() local 677 clip_box.Intersect(image_rect); in StartDIBSource() 680 m_pTransformer->Start(m_pDIBSource, &m_ImageMatrix, m_Flags, &clip_box); in StartDIBSource() 710 FX_RECT clip_box = m_pRenderStatus->m_pDevice->GetClipBox(); in StartDIBSource() local 711 FX_RECT dest_rect = clip_box; in StartDIBSource()
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_device.cpp | 272 SkIRect clip_box; in SetClipMask() local 273 …clip_box.set(0, 0, fix0_to_8(GetDeviceCaps(FXDC_PIXEL_WIDTH)), fix0_to_8(GetDeviceCaps(FXDC_PIXEL_… in SetClipMask() 274 clip_box.intersect(m_pAggDriver->m_pClipRgn->GetBox().left, m_pAggDriver->m_pClipRgn->GetBox().top, in SetClipMask() 281 …clip_box.intersect(FXSYS_floor(path_rect.fLeft), FXSYS_floor(path_rect.fTop), FXSYS_floor(path_rec… in SetClipMask() 284 pThisLayer->Create(clip_box.width(), clip_box.height(), FXDIB_8bppMask); in SetClipMask() 288 render.Init(pThisLayer, clip_box.fLeft, clip_box.fTop); in SetClipMask() 290 SkRasterClip rasterClip(clip_box); in SetClipMask() 294 m_pAggDriver->m_pClipRgn->IntersectMaskF(clip_box.fLeft, clip_box.fTop, mask); in SetClipMask()
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_device.cpp | 370 FX_RECT clip_box = m_ClipBox; in StretchDIBits() local 371 clip_box.Intersect(dest_rect); in StretchDIBits() 372 if (clip_box.IsEmpty()) { in StretchDIBits() 375 …return m_pDeviceDriver->StretchDIBits(pBitmap, 0, left, top, dest_width, dest_height, &clip_box, f… in StretchDIBits() 388 FX_RECT clip_box = m_ClipBox; in StretchBitMask() local 389 clip_box.Intersect(dest_rect); in StretchBitMask() 390 …iver->StretchDIBits(pBitmap, argb, left, top, dest_width, dest_height, &clip_box, flags, alpha_fla… in StretchBitMask()
|
/external/freetype/src/smooth/ |
D | ftgrays.c | 453 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/src/smooth/ |
D | ftgrays.c | 431 FT_BBox clip_box; member 1794 clip = &ras.clip_box; in gray_convert_glyph() 1967 ras.clip_box.xMin = 0; in gray_raster_render() 1968 ras.clip_box.yMin = 0; in gray_raster_render() 1969 ras.clip_box.xMax = target_map->width; in gray_raster_render() 1970 ras.clip_box.yMax = target_map->rows; in gray_raster_render() 1973 ras.clip_box = params->clip_box; in gray_raster_render() 1976 ras.clip_box.xMin = -32768L; in gray_raster_render() 1977 ras.clip_box.yMin = -32768L; in gray_raster_render() 1978 ras.clip_box.xMax = 32767L; in gray_raster_render() [all …]
|
/external/pdfium/third_party/freetype/include/ |
D | ftimage.h | 1022 FT_BBox clip_box; member
|
/external/freetype/include/ |
D | ftimage.h | 1017 FT_BBox clip_box; member
|
/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_composite.cpp | 4113 FX_RECT clip_box; in CompositeBitmap() local 4117 clip_box = pClipRgn->GetBox(); in CompositeBitmap() 4135 …can = pClipMask->m_pBuffer + (dest_top + row - clip_box.top) * pClipMask->m_Pitch + (dest_left - c… in CompositeBitmap() 4166 FX_RECT clip_box; in CompositeMask() local 4170 clip_box = pClipRgn->GetBox(); in CompositeMask() 4184 …can = pClipMask->m_pBuffer + (dest_top + row - clip_box.top) * pClipMask->m_Pitch + (dest_left - c… in CompositeMask()
|