Home
last modified time | relevance | path

Searched refs:cbox (Results 1 – 25 of 33) sorted by relevance

12

/external/freetype/src/raster/
Dftrend1.c89 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/pdfium/third_party/freetype/src/raster/
Dftrend1.c89 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/raster/
Dftrend1.c89 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/smooth/
Dftsmooth.c88 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 …]
Dftgrays.c1855 FT_BBox cbox, clip; in gray_raster_render() local
1918 FT_Outline_Get_CBox( outline, &cbox ); in gray_raster_render()
1921 if ( cbox.xMin < -0x1000000L || cbox.xMax > 0x1000000L || in gray_raster_render()
1922 cbox.yMin < -0x1000000L || cbox.yMax > 0x1000000L ) in gray_raster_render()
1926 cbox.xMin = cbox.xMin >> 6; in gray_raster_render()
1927 cbox.yMin = cbox.yMin >> 6; in gray_raster_render()
1928 cbox.xMax = ( cbox.xMax + 63 ) >> 6; in gray_raster_render()
1929 cbox.yMax = ( cbox.yMax + 63 ) >> 6; in gray_raster_render()
1951 ras.min_ex = FT_MAX( cbox.xMin, clip.xMin ); in gray_raster_render()
1952 ras.min_ey = FT_MAX( cbox.yMin, clip.yMin ); in gray_raster_render()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/smooth/
Dftsmooth.c88 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/pdfium/third_party/freetype/src/smooth/
Dftsmooth.c88 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/pdfium/core/src/fxge/android/
Dfpf_skiafont.cpp104 FXFT_BBox cbox; in GetGlyphBBox() local
105 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetGlyphBBox()
108 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox()
109 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox()
110 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox()
111 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
/external/pdfium/third_party/freetype/src/cid/
Dcidgload.c358 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cid/
Dcidgload.c369 FT_BBox cbox; in cid_slot_load_glyph() local
436 FT_Outline_Get_CBox( &cidglyph->outline, &cbox ); in cid_slot_load_glyph()
438 metrics->width = cbox.xMax - cbox.xMin; in cid_slot_load_glyph()
439 metrics->height = cbox.yMax - cbox.yMin; in cid_slot_load_glyph()
441 metrics->horiBearingX = cbox.xMin; in cid_slot_load_glyph()
442 metrics->horiBearingY = cbox.yMax; in cid_slot_load_glyph()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp290 FXFT_BBox cbox; in GetGlyphBBox() local
296 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetGlyphBBox()
300 bbox.left = cbox.xMin; in GetGlyphBBox()
301 bbox.right = cbox.xMax; in GetGlyphBBox()
302 bbox.top = cbox.yMax; in GetGlyphBBox()
303 bbox.bottom = cbox.yMin; in GetGlyphBBox()
305 bbox.left = cbox.xMin * 1000 / pixel_size_x; in GetGlyphBBox()
306 bbox.right = cbox.xMax * 1000 / pixel_size_x; in GetGlyphBBox()
307 bbox.top = cbox.yMax * 1000 / pixel_size_y; in GetGlyphBBox()
308 bbox.bottom = cbox.yMin * 1000 / pixel_size_y; in GetGlyphBBox()
/external/pdfium/third_party/freetype/src/base/
Dftbbox.c441 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()
Dftglyph.c123 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()
Dftoutln.c1040 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/
Dftbbox.c441 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()
Dftglyph.c123 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()
Dftoutln.c1046 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftbbox.c441 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()
Dftglyph.c123 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()
Dftoutln.c1043 FT_BBox cbox; in FT_Outline_Get_Orientation() local
1059 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
1062 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1065 xshift = FT_MSB( (FT_UInt32)( FT_ABS( cbox.xMax ) | in FT_Outline_Get_Orientation()
1066 FT_ABS( cbox.xMin ) ) ) - 14; in FT_Outline_Get_Orientation()
1069 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/type1/
Dt1gload.c396 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/third_party/freetype/src/type1/
Dt1gload.c396 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
Dpfrobjs.c368 FT_BBox cbox; in pfr_slot_load() local
451 FT_Outline_Get_CBox( outline, &cbox ); in pfr_slot_load()
453 metrics->width = cbox.xMax - cbox.xMin; in pfr_slot_load()
454 metrics->height = cbox.yMax - cbox.yMin; in pfr_slot_load()
455 metrics->horiBearingX = cbox.xMin; in pfr_slot_load()
456 metrics->horiBearingY = cbox.yMax - metrics->height; in pfr_slot_load()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp1292 FXFT_BBox cbox; in GetCharBBox() local
1296 FXFT_Glyph_Get_CBox(glyph, FXFT_GLYPH_BBOX_PIXELS, &cbox); in GetCharBBox()
1300 rect.left = cbox.xMin; in GetCharBBox()
1301 rect.right = cbox.xMax; in GetCharBBox()
1302 rect.top = cbox.yMax; in GetCharBBox()
1303 rect.bottom = cbox.yMin; in GetCharBBox()
1305 rect.left = cbox.xMin * 1000 / pixel_size_x; in GetCharBBox()
1306 rect.right = cbox.xMax * 1000 / pixel_size_x; in GetCharBBox()
1307 rect.top = cbox.yMax * 1000 / pixel_size_y; in GetCharBBox()
1308 rect.bottom = cbox.yMin * 1000 / pixel_size_y; in GetCharBBox()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/
Dftrender.h103 FT_BBox* cbox );

12