Home
last modified time | relevance | path

Searched refs:n_contours (Results 1 – 25 of 34) sorted by relevance

12

/external/freetype/src/base/
Dftgloadr.c94 base->outline.n_contours = 0; in FT_GlyphLoader_Rewind()
151 current->contours = FT_OFFSET( base->contours, base->n_contours ); in FT_GlyphLoader_Adjust_Points()
207 FT_UInt n_contours ) in FT_GlyphLoader_CheckPoints() argument
261 new_max = (FT_UInt)base->n_contours + (FT_UInt)current->n_contours + in FT_GlyphLoader_CheckPoints()
262 n_contours; in FT_GlyphLoader_CheckPoints()
330 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
356 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
361 base->outline.n_contours = in FT_GlyphLoader_Add()
362 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
Dftoutln.c78 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
325 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New()
346 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
352 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
356 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
360 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
396 source->n_contours != target->n_contours ) in FT_Outline_Copy()
408 if ( source->n_contours ) in FT_Outline_Copy()
409 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
543 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
[all …]
Dftglyph.c180 source->n_contours, in FT_DEFINE_GLYPH()
214 source->outline.n_contours, in ft_outline_glyph_copy()
Dftbbox.c480 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
Dftstroke.c732 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
741 outline->n_contours++; in ft_stroke_border_export()
2091 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2318 outline->n_contours = 0; in FT_Glyph_Stroke()
2404 outline->n_contours = 0; in FT_Glyph_StrokeBorder()
/external/freetype/src/psaux/
Dpsobjs.c1708 outline->n_contours++; in t1_builder_add_contour()
1715 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1716 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1719 outline->n_contours++; in t1_builder_add_contour()
1762 first = outline->n_contours <= 1 in t1_builder_close_contour()
1763 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1767 if ( outline->n_contours && first == outline->n_points ) in t1_builder_close_contour()
1769 outline->n_contours--; in t1_builder_close_contour()
1789 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1795 outline->n_contours--; in t1_builder_close_contour()
[all …]
/external/freetype/include/freetype/internal/
Dftgloadr.h102 FT_UInt n_contours );
113 ( (FT_UInt)(_loader)->base.outline.n_contours + \
114 (FT_UInt)(_loader)->current.outline.n_contours + \
Dtttypes.h1696 FT_Short n_contours; /* number of contours */ member
1739 FT_Short n_contours; member
/external/freetype/src/truetype/
Dttgload.c333 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
340 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
358 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
372 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
378 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
381 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
386 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
404 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
576 outline->n_contours = (FT_Short)n_contours; in TT_Load_Simple_Glyph()
797 zone->n_contours = load->outline.n_contours - in tt_prepare_zone()
[all …]
Dttinterp.c478 exec->pts.n_contours = 0; in TT_Load_Context()
5632 bounds = ( exc->GS.gep2 == 0 ) ? 1 : exc->zp2.n_contours; in Ins_SHC()
5699 else if ( exc->GS.gep2 == 1 && exc->zp2.n_contours > 0 ) in Ins_SHZ()
5700 limit = (FT_UShort)( exc->zp2.contours[exc->zp2.n_contours - 1] + 1 ); in Ins_SHZ()
7020 if ( exc->pts.n_contours == 0 ) in Ins_IUP()
7104 } while ( contour < exc->pts.n_contours ); in Ins_IUP()
Dttobjs.c84 zone->max_contours = zone->n_contours = 0; in tt_glyphzone_done()
/external/freetype/src/sfnt/
Dsfwoff2.c535 FT_UShort n_contours, in store_points() argument
541 FT_UInt flag_offset = 10 + ( 2 * n_contours ) + 2 + instruction_len; in store_points()
936 FT_UShort n_contours = 0; in reconstruct_glyf() local
953 FT_READ_USHORT( n_contours ) ) in reconstruct_glyf()
957 if ( n_contours == 0xffff ) in reconstruct_glyf()
994 WRITE_USHORT( pointer, n_contours ); in reconstruct_glyf()
1031 else if ( n_contours > 0 ) in reconstruct_glyf()
1050 if ( FT_NEW_ARRAY( n_points_arr, n_contours ) ) in reconstruct_glyf()
1056 for ( j = 0; j < n_contours; ++j ) in reconstruct_glyf()
1111 ( 2 * n_contours ) + in reconstruct_glyf()
[all …]
/external/freetype/src/pfr/
Dpfrgload.c92 if ( outline->n_contours > 0 ) in pfr_glyph_close_contour()
93 first = outline->contours[outline->n_contours - 1]; in pfr_glyph_close_contour()
112 outline->contours[outline->n_contours++] = (short)last; in pfr_glyph_close_contour()
Dpfrobjs.c357 outline->n_contours = 0; in pfr_slot_load()
/external/freetype/src/cache/
Dftcimage.c138 (FT_Offset)outg->outline.n_contours * sizeof ( FT_Short ) + in ftc_inode_weight()
/external/freetype/include/freetype/
Dftimage.h338 short n_contours; /* number of contours in glyph */ member
/external/freetype/src/cff/
Dcffgload.c280 glyph->root.outline.n_contours = 0; in cff_slot_load()
384 glyph->root.outline.n_contours = 0; in cff_slot_load()
/external/freetype/src/autofit/
Dafhints.c784 new_max = (FT_UInt)outline->n_contours; in af_glyph_hints_reload()
838 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
924 if ( ++contour_index < outline->n_contours ) in af_glyph_hints_reload()
/external/freetype/src/smooth/
Dftgrays.c1407 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
1778 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in gray_raster_render()
1785 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/freetype/src/cid/
Dcidgload.c367 cidglyph->outline.n_contours = 0; in cid_slot_load_glyph()
/external/freetype/src/pshinter/
Dpshalgo.c1170 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1174 glyph->num_contours = (FT_UInt)outline->n_contours; in psh_glyph_init()
2084 if ( outline->n_points == 0 || outline->n_contours == 0 ) in ps_hints_apply()
/external/freetype/src/type1/
Dt1gload.c402 t1glyph->outline.n_contours = 0; in T1_Load_Glyph()
/external/freetype/src/raster/
Dftraster.c2015 for ( i = 0; i < ras.outline.n_contours; i++ ) in Convert_Glyph()
3301 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in ft_black_render()
3308 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1323 if (err != 0 || fFace->glyph->outline.n_contours == 0) { in generateMetrics()
1377 if (0 < fFace->glyph->outline.n_contours) { in generateMetrics()
1397 if (0 < fFace->glyph->outline.n_contours) { in generateMetrics()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp1189 if (0 < fFace->glyph->outline.n_contours) { in generateMetrics()
1208 if (0 < fFace->glyph->outline.n_contours) { in generateMetrics()

12