Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftgloadr.c94 base->outline.n_contours = 0; in FT_GlyphLoader_Rewind()
150 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
202 FT_UInt n_contours ) in FT_GlyphLoader_CheckPoints() argument
247 new_max = base->n_contours + current->n_contours + in FT_GlyphLoader_CheckPoints()
248 n_contours; in FT_GlyphLoader_CheckPoints()
313 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
339 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
344 base->outline.n_contours = in FT_GlyphLoader_Add()
345 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
365 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints()
[all …]
Dftoutln.c82 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
313 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New_Internal()
350 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
356 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
360 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
364 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
398 source->n_contours != target->n_contours ) in FT_Outline_Copy()
408 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
546 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
789 for ( i = 0; i < outline->n_contours; i++ )
[all …]
Dftglyph.c174 error = FT_Outline_New( library, source->n_points, source->n_contours, in FT_CALLBACK_DEF()
207 source->outline.n_contours, &target->outline ); in ft_outline_glyph_copy()
Dftstroke.c731 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
740 outline->n_contours++; in ft_stroke_border_export()
2070 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2307 outline->n_contours = 0; in FT_Glyph_Stroke()
2396 outline->n_contours = 0; in FT_Glyph_StrokeBorder()
Dftbbox.c590 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
/external/freetype/include/freetype/internal/
Dftgloadr.h121 FT_UInt n_contours );
130 ( (_count) == 0 || ((_loader)->base.outline.n_contours + \
131 (_loader)->current.outline.n_contours + \
Dtttypes.h1471 FT_Short n_contours; /* number of contours */ member
1502 FT_Short n_contours; member
/external/freetype/src/truetype/
Dttgload.c313 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
320 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
338 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
353 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
359 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
362 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
367 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
385 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
541 outline->n_contours = (FT_Short) n_contours; in TT_Load_Simple_Glyph()
693 zone->n_contours = (FT_Short) ( load->outline.n_contours - in tt_prepare_zone()
[all …]
Dttinterp.c632 exec->pts.n_contours = 0; in TT_Load_Context()
5789 bounds = ( CUR.GS.gep2 == 0 ) ? 1 : CUR.zp2.n_contours; in Ins_SHC()
5855 else if ( CUR.GS.gep2 == 1 && CUR.zp2.n_contours > 0 ) in Ins_SHZ()
5856 limit = (FT_UShort)( CUR.zp2.contours[CUR.zp2.n_contours - 1] + 1 ); in Ins_SHZ()
6832 if ( CUR.pts.n_contours == 0 ) in Ins_IUP()
6906 } while ( contour < CUR.pts.n_contours ); in Ins_IUP()
Dttobjs.c87 zone->max_contours = zone->n_contours = 0; in tt_glyphzone_done()
/external/freetype/src/autofit/
Dafloader.c144 slot->outline.n_contours ); in af_loader_load_g()
154 slot->outline.n_contours ); in af_loader_load_g()
161 gloader->current.outline.n_contours = slot->outline.n_contours; in af_loader_load_g()
470 slot->outline.n_contours = internal->loader->base.outline.n_contours; in af_loader_load_g()
Dafhints.c593 new_max = (FT_UInt)outline->n_contours; in af_glyph_hints_reload()
623 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
689 if ( ++contour_index < outline->n_contours ) in af_glyph_hints_reload()
Daflatin.c255 nn < glyph->outline.n_contours; in af_latin_metrics_init_blues()
Dafcjk.c363 nn < glyph->outline.n_contours; in af_cjk_metrics_init_blues()
Daflatin2.c249 for ( nn = 0; nn < glyph->outline.n_contours; first = last+1, nn++ ) in af_latin2_metrics_init_blues()
/external/freetype/src/psaux/
Dpsobjs.c1600 outline->n_contours++; in t1_builder_add_contour()
1607 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1608 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1611 outline->n_contours++; in t1_builder_add_contour()
1654 first = outline->n_contours <= 1 in t1_builder_close_contour()
1655 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1673 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1679 outline->n_contours--; in t1_builder_close_contour()
1683 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/freetype/src/cff/
Dcffgload.c524 outline->n_contours++; in cff_builder_add_contour()
531 if ( outline->n_contours > 0 ) in cff_builder_add_contour()
532 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
535 outline->n_contours++; in cff_builder_add_contour()
575 first = outline->n_contours <= 1 in cff_builder_close_contour()
576 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
594 if ( outline->n_contours > 0 ) in cff_builder_close_contour()
600 outline->n_contours--; in cff_builder_close_contour()
604 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
2657 glyph->root.outline.n_contours = 0; in cff_slot_load()
[all …]
/external/freetype/include/freetype/
Dftimage.h385 short n_contours; /* number of contours in glyph */ member
/external/freetype/src/pshinter/
Dpshalgo.c1275 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1279 glyph->num_contours = outline->n_contours; in psh_glyph_init()
2196 if ( outline->n_points == 0 || outline->n_contours == 0 ) in ps_hints_apply()
/external/freetype/src/smooth/
Dftgrays.c1476 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
1880 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in gray_raster_render()
1887 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/freetype/src/raster/
Dftraster.c2043 for ( i = 0; i < ras.outline.n_contours; i++ ) in Convert_Glyph()
3557 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in ft_black_render()
3564 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp1024 if (0 == fFace->glyph->outline.n_contours) { in generateMetrics()