Searched refs:cbox (Results 1 – 6 of 6) sorted by relevance
88 FT_BBox* cbox ) in ft_raster1_get_cbox() argument90 FT_MEM_ZERO( cbox, sizeof ( *cbox ) ); in ft_raster1_get_cbox()93 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox()106 FT_BBox cbox; in ft_raster1_render() local162 FT_Outline_Get_CBox( outline, &cbox ); in ft_raster1_render()164 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render()165 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render()166 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_raster1_render()167 cbox.yMax = FT_PIX_CEIL( cbox.yMax ); in ft_raster1_render()169 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_raster1_render()[all …]
88 FT_BBox* cbox ) in ft_smooth_get_cbox() argument90 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() local136 FT_Outline_Get_CBox( outline, &cbox ); in ft_smooth_render_generic()138 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_smooth_render_generic()139 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_smooth_render_generic()140 cbox.xMax = FT_PIX_CEIL( cbox.xMax ); in ft_smooth_render_generic()141 cbox.yMax = FT_PIX_CEIL( cbox.yMax ); in ft_smooth_render_generic()143 width = (FT_UInt)( ( cbox.xMax - cbox.xMin ) >> 6 ); in ft_smooth_render_generic()[all …]
577 FT_BBox cbox; in FT_EXPORT_DEF() local602 bbox.xMin = bbox.xMax = cbox.xMin = cbox.xMax = vec->x; in FT_EXPORT_DEF()603 bbox.yMin = bbox.yMax = cbox.yMin = cbox.yMax = vec->y; in FT_EXPORT_DEF()613 if ( x < cbox.xMin ) cbox.xMin = x; in FT_EXPORT_DEF()614 if ( x > cbox.xMax ) cbox.xMax = x; in FT_EXPORT_DEF()616 if ( y < cbox.yMin ) cbox.yMin = y; in FT_EXPORT_DEF()617 if ( y > cbox.yMax ) cbox.yMax = y; in FT_EXPORT_DEF()633 if ( cbox.xMin < bbox.xMin || cbox.xMax > bbox.xMax || in FT_EXPORT_DEF()634 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
121 FT_BBox* cbox ) in ft_bitmap_glyph_bbox() argument126 cbox->xMin = glyph->left << 6; in ft_bitmap_glyph_bbox()127 cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 ); in ft_bitmap_glyph_bbox()128 cbox->yMax = glyph->top << 6; in ft_bitmap_glyph_bbox()129 cbox->yMin = cbox->yMax - ( glyph->bitmap.rows << 6 ); in ft_bitmap_glyph_bbox()
103 FT_BBox* cbox );
2848 FT_BBox cbox; in cff_slot_load() local2948 FT_Outline_Get_CBox( &glyph->root.outline, &cbox ); in cff_slot_load()2950 metrics->width = cbox.xMax - cbox.xMin; in cff_slot_load()2951 metrics->height = cbox.yMax - cbox.yMin; in cff_slot_load()2953 metrics->horiBearingX = cbox.xMin; in cff_slot_load()2954 metrics->horiBearingY = cbox.yMax; in cff_slot_load()