Home
last modified time | relevance | path

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

/external/chromium_org/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; in ft_raster1_render() local
163 FT_Outline_Get_CBox( outline, &cbox ); in ft_raster1_render()
167 cbox.xMin = FT_PIX_ROUND( cbox.xMin ); in ft_raster1_render()
168 cbox.yMin = FT_PIX_ROUND( cbox.yMin ); in ft_raster1_render()
169 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
170 cbox.yMax = FT_PIX_ROUND( cbox.yMax ); in ft_raster1_render()
172 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render()
[all …]
/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; in ft_raster1_render() local
163 FT_Outline_Get_CBox( outline, &cbox ); in ft_raster1_render()
167 cbox.xMin = FT_PIX_ROUND( cbox.xMin ); in ft_raster1_render()
168 cbox.yMin = FT_PIX_ROUND( cbox.yMin ); in ft_raster1_render()
169 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
170 cbox.yMax = FT_PIX_ROUND( cbox.yMax ); in ft_raster1_render()
172 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); 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()
107 FT_BBox cbox; in ft_smooth_render_generic() local
151 FT_Outline_Get_CBox( outline, &cbox ); in ft_smooth_render_generic()
153 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_smooth_render_generic()
154 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_smooth_render_generic()
155 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()
156 cbox.yMax = FT_PIX_CEIL( cbox.yMax ); in ft_smooth_render_generic()
158 if ( cbox.xMin < 0 && cbox.xMax > FT_INT_MAX + cbox.xMin ) in ft_smooth_render_generic()
[all …]
/external/chromium_org/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()
107 FT_BBox cbox; in ft_smooth_render_generic() local
151 FT_Outline_Get_CBox( outline, &cbox ); in ft_smooth_render_generic()
153 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_smooth_render_generic()
154 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_smooth_render_generic()
155 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()
156 cbox.yMax = FT_PIX_CEIL( cbox.yMax ); in ft_smooth_render_generic()
158 if ( cbox.xMin < 0 && cbox.xMax > FT_INT_MAX + cbox.xMin ) in ft_smooth_render_generic()
[all …]
/external/freetype/src/base/
Dftbbox.c564 FT_BBox cbox; in FT_EXPORT_DEF() local
589 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
590 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y; in FT_EXPORT_DEF()
600 if ( x < cbox.xMin ) cbox.xMin = x; in FT_EXPORT_DEF()
601 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()
603 if ( y < cbox.yMin ) cbox.yMin = y; in FT_EXPORT_DEF()
604 if ( y > cbox.yMax ) cbox.yMax = y; in FT_EXPORT_DEF()
620 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
621 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 + ( 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 - ( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox()
Dftoutln.c1027 FT_BBox cbox; in FT_Outline_Get_Orientation() local
1043 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
1045 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
1048 yshift = FT_MSB( cbox.yMax - cbox.yMin ) - 14; in FT_Outline_Get_Orientation()
/external/chromium_org/third_party/freetype/src/base/
Dftbbox.c564 FT_BBox cbox; in FT_EXPORT_DEF() local
589 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()
590 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y; in FT_EXPORT_DEF()
600 if ( x < cbox.xMin ) cbox.xMin = x; in FT_EXPORT_DEF()
601 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()
603 if ( y < cbox.yMin ) cbox.yMin = y; in FT_EXPORT_DEF()
604 if ( y > cbox.yMax ) cbox.yMax = y; in FT_EXPORT_DEF()
620 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()
621 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 + ( 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 - ( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox()
Dftoutln.c1027 FT_BBox cbox; in FT_Outline_Get_Orientation() local
1043 FT_Outline_Get_CBox( outline, &cbox ); in FT_Outline_Get_Orientation()
1045 xshift = FT_MSB( FT_ABS( cbox.xMax ) | FT_ABS( cbox.xMin ) ) - 14; in FT_Outline_Get_Orientation()
1048 yshift = FT_MSB( cbox.yMax - cbox.yMin ) - 14; in FT_Outline_Get_Orientation()
/external/chromium_org/third_party/freetype/include/freetype/
Dftrender.h103 FT_BBox* cbox );
/external/freetype/include/freetype/
Dftrender.h103 FT_BBox* cbox );
/external/pixman/pixman/
Dpixman.c168 pixman_box32_t * cbox = pixman_region32_rectangles (clip, NULL); in clip_general_image() local
171 if (rbox->x1 < (v = cbox->x1 + dx)) in clip_general_image()
173 if (rbox->x2 > (v = cbox->x2 + dx)) in clip_general_image()
175 if (rbox->y1 < (v = cbox->y1 + dy)) in clip_general_image()
177 if (rbox->y2 > (v = cbox->y2 + dy)) in clip_general_image()
/external/chromium_org/third_party/freetype/src/cff/
Dcffgload.c2941 FT_BBox cbox; in cff_slot_load() local
3035 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load()
3037 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load()
3038 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load()
3040 metrics->horiBearingX = cbox.xMin; in cff_slot_load()
3041 metrics->horiBearingY = cbox.yMax; in cff_slot_load()
/external/freetype/src/cff/
Dcffgload.c2941 FT_BBox cbox; in cff_slot_load() local
3035 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load()
3037 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load()
3038 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load()
3040 metrics->horiBearingX = cbox.xMin; in cff_slot_load()
3041 metrics->horiBearingY = cbox.yMax; in cff_slot_load()