/external/pdfium/third_party/freetype/src/raster/ |
D | ftrend1.c | 89 FT_BBox* cbox ) in ft_raster1_get_cbox() argument 91 FT_MEM_ZERO( cbox, sizeof ( *cbox ) ); in ft_raster1_get_cbox() 94 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox() 107 FT_BBox cbox, cbox0; in ft_raster1_render() local 140 cbox.xMin = FT_PIX_ROUND( cbox0.xMin ); in ft_raster1_render() 141 cbox.yMin = FT_PIX_ROUND( cbox0.yMin ); in ft_raster1_render() 142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render() 143 cbox.yMax = FT_PIX_ROUND( cbox0.yMax ); in ft_raster1_render() 145 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render() 146 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render() [all …]
|
/external/freetype/src/raster/ |
D | ftrend1.c | 89 FT_BBox* cbox ) in ft_raster1_get_cbox() argument 91 FT_ZERO( cbox ); in ft_raster1_get_cbox() 94 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox() 107 FT_BBox cbox, cbox0; in ft_raster1_render() local 140 cbox.xMin = FT_PIX_ROUND( cbox0.xMin ); in ft_raster1_render() 141 cbox.yMin = FT_PIX_ROUND( cbox0.yMin ); in ft_raster1_render() 142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render() 143 cbox.yMax = FT_PIX_ROUND( cbox0.yMax ); in ft_raster1_render() 145 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render() 146 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render() [all …]
|
/external/pdfium/third_party/freetype/src/smooth/ |
D | ftsmooth.c | 88 FT_BBox* cbox ) in ft_smooth_get_cbox() argument 90 FT_MEM_ZERO( cbox, sizeof ( *cbox ) ); in ft_smooth_get_cbox() 93 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_smooth_get_cbox() 109 FT_BBox cbox; in ft_smooth_render_generic() local 148 FT_Outline_Get_CBox( outline, &cbox ); in ft_smooth_render_generic() 150 cbox.xMin = FT_PIX_FLOOR( cbox.xMin + x_shift ); in ft_smooth_render_generic() 151 cbox.yMin = FT_PIX_FLOOR( cbox.yMin + y_shift ); in ft_smooth_render_generic() 152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); in ft_smooth_render_generic() 153 cbox.yMax = FT_PIX_CEIL( cbox.yMax + y_shift ); in ft_smooth_render_generic() 155 x_shift -= cbox.xMin; in ft_smooth_render_generic() [all …]
|
/external/freetype/src/smooth/ |
D | ftsmooth.c | 88 FT_BBox* cbox ) in ft_smooth_get_cbox() argument 90 FT_ZERO( cbox ); in ft_smooth_get_cbox() 93 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_smooth_get_cbox() 109 FT_BBox cbox; in ft_smooth_render_generic() local 148 FT_Outline_Get_CBox( outline, &cbox ); in ft_smooth_render_generic() 150 cbox.xMin = FT_PIX_FLOOR( cbox.xMin + x_shift ); in ft_smooth_render_generic() 151 cbox.yMin = FT_PIX_FLOOR( cbox.yMin + y_shift ); in ft_smooth_render_generic() 152 cbox.xMax = FT_PIX_CEIL( cbox.xMax + x_shift ); in ft_smooth_render_generic() 153 cbox.yMax = FT_PIX_CEIL( cbox.yMax + y_shift ); in ft_smooth_render_generic() 155 x_shift -= cbox.xMin; in ft_smooth_render_generic() [all …]
|
D | ftgrays.c | 1835 FT_BBox cbox, clip; in gray_raster_render() local 1898 FT_Outline_Get_CBox( outline, &cbox ); in gray_raster_render() 1901 if ( cbox.xMin < -0x1000000L || cbox.xMax > 0x1000000L || in gray_raster_render() 1902 cbox.yMin < -0x1000000L || cbox.yMax > 0x1000000L ) in gray_raster_render() 1906 cbox.xMin = cbox.xMin >> 6; in gray_raster_render() 1907 cbox.yMin = cbox.yMin >> 6; in gray_raster_render() 1908 cbox.xMax = ( cbox.xMax + 63 ) >> 6; in gray_raster_render() 1909 cbox.yMax = ( cbox.yMax + 63 ) >> 6; in gray_raster_render() 1931 ras.min_ex = FT_MAX( cbox.xMin, clip.xMin ); in gray_raster_render() 1932 ras.min_ey = FT_MAX( cbox.yMin, clip.yMin ); in gray_raster_render() [all …]
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 106 FXFT_BBox cbox; in GetGlyphBBox() local 107 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetGlyphBBox() 110 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox() 111 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox() 112 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox() 113 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidgload.c | 358 FT_BBox cbox; in cid_slot_load_glyph() local 425 FT_Outline_Get_CBox( &cidglyph->outline, &cbox ); in cid_slot_load_glyph() 427 metrics->width = cbox.xMax - cbox.xMin; in cid_slot_load_glyph() 428 metrics->height = cbox.yMax - cbox.yMin; in cid_slot_load_glyph() 430 metrics->horiBearingX = cbox.xMin; in cid_slot_load_glyph() 431 metrics->horiBearingY = cbox.yMax; in cid_slot_load_glyph()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftbbox.c | 441 FT_BBox cbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, in FT_EXPORT_DEF() local 471 FT_UPDATE_BBOX( vec, cbox); in FT_EXPORT_DEF() 480 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF() 481 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
|
D | ftglyph.c | 123 FT_BBox* cbox ) in ft_bitmap_glyph_bbox() argument 128 cbox->xMin = glyph->left << 6; in ft_bitmap_glyph_bbox() 129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox() 130 cbox->yMax = glyph->top << 6; in ft_bitmap_glyph_bbox() 131 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox()
|
D | ftoutln.c | 1040 FT_BBox cbox; in FT_Outline_Get_Orientation() local 1056 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation() 1059 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1062 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation() 1063 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation() 1066 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
|
/external/freetype/src/base/ |
D | ftbbox.c | 444 FT_BBox cbox = { 0x7FFFFFFFL, 0x7FFFFFFFL, in FT_EXPORT_DEF() local 475 FT_UPDATE_BBOX( vec, cbox ); in FT_EXPORT_DEF() 484 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF() 485 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
|
D | ftglyph.c | 123 FT_BBox* cbox ) in ft_bitmap_glyph_bbox() argument 128 cbox->xMin = glyph->left * 64; in ft_bitmap_glyph_bbox() 129 cbox->xMax = cbox->xMin + (FT_Pos)( glyph->bitmap.width * 64 ); in ft_bitmap_glyph_bbox() 130 cbox->yMax = glyph->top * 64; in ft_bitmap_glyph_bbox() 131 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
|
D | ftoutln.c | 1046 FT_BBox cbox; in FT_Outline_Get_Orientation() local 1062 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation() 1065 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation() 1068 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation() 1069 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation() 1072 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1gload.c | 396 FT_BBox cbox; in T1_Load_Glyph() local 475 FT_Outline_Get_CBox( &t1glyph->outline, &cbox ); in T1_Load_Glyph() 477 metrics->width = cbox.xMax - cbox.xMin; in T1_Load_Glyph() 478 metrics->height = cbox.yMax - cbox.yMin; in T1_Load_Glyph() 480 metrics->horiBearingX = cbox.xMin; in T1_Load_Glyph() 481 metrics->horiBearingY = cbox.yMax; in T1_Load_Glyph()
|
/external/pdfium/core/fxge/ge/ |
D | cfx_font.cpp | 397 FXFT_BBox cbox; in GetGlyphBBox() local 402 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetGlyphBBox() 406 bbox.left = cbox.xMin; in GetGlyphBBox() 407 bbox.right = cbox.xMax; in GetGlyphBBox() 408 bbox.top = cbox.yMax; in GetGlyphBBox() 409 bbox.bottom = cbox.yMin; in GetGlyphBBox() 411 bbox.left = cbox.xMin * 1000 / pixel_size_x; in GetGlyphBBox() 412 bbox.right = cbox.xMax * 1000 / pixel_size_x; in GetGlyphBBox() 413 bbox.top = cbox.yMax * 1000 / pixel_size_y; in GetGlyphBBox() 414 bbox.bottom = cbox.yMin * 1000 / pixel_size_y; in GetGlyphBBox()
|
/external/pdfium/core/fpdfapi/font/ |
D | cpdf_cidfont.cpp | 443 FXFT_BBox cbox; in GetCharBBox() local 447 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetCharBBox() 451 rect = FX_RECT(cbox.xMin, cbox.yMax, cbox.xMax, cbox.yMin); in GetCharBBox() 453 rect = FX_RECT(cbox.xMin * 1000 / pixel_size_x, in GetCharBBox() 454 cbox.yMax * 1000 / pixel_size_y, in GetCharBBox() 455 cbox.xMax * 1000 / pixel_size_x, in GetCharBBox() 456 cbox.yMin * 1000 / pixel_size_y); in GetCharBBox()
|
/external/pdfium/third_party/freetype/include/freetype/ |
D | ftrender.h | 103 FT_BBox* cbox );
|
/external/freetype/include/freetype/ |
D | ftrender.h | 104 FT_BBox* cbox );
|
/external/pdfium/core/fxge/ |
D | fx_freetype.h | 145 #define FXFT_Get_Outline_Bbox(outline, cbox) FT_Outline_Get_CBox(outline, cbox) argument
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cffgload.c | 2950 FT_BBox cbox; in cff_slot_load() local 3062 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load() 3064 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load() 3065 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load() 3067 metrics->horiBearingX = cbox.xMin; in cff_slot_load() 3068 metrics->horiBearingY = cbox.yMax; in cff_slot_load()
|
/external/freetype/src/cff/ |
D | cffgload.c | 3078 FT_BBox cbox; in cff_slot_load() local 3190 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load() 3192 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load() 3193 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load() 3195 metrics->horiBearingX = cbox.xMin; in cff_slot_load() 3196 metrics->horiBearingY = cbox.yMax; in cff_slot_load()
|