Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/freetype/src/base/
Dftgloadr.c95 base->outline.n_contours = 0; in FT_GlyphLoader_Rewind()
151 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
203 FT_UInt n_contours ) in FT_GlyphLoader_CheckPoints() argument
248 new_max = base->n_contours + current->n_contours + in FT_GlyphLoader_CheckPoints()
249 n_contours; in FT_GlyphLoader_CheckPoints()
317 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
343 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
348 base->outline.n_contours = in FT_GlyphLoader_Add()
349 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
369 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints()
[all …]
Dftoutln.c86 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
324 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New_Internal()
361 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
367 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
371 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
375 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
411 source->n_contours != target->n_contours ) in FT_Outline_Copy()
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
560 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
809 for ( i = 0; i < outline->n_contours; i++ )
[all …]
Dftglyph.c176 error = FT_Outline_New( library, source->n_points, source->n_contours, in FT_CALLBACK_DEF()
209 source->outline.n_contours, &target->outline ); in ft_outline_glyph_copy()
Dftbbox.c449 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
Dftstroke.c731 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
740 outline->n_contours++; in ft_stroke_border_export()
2116 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2355 outline->n_contours = 0; in FT_Glyph_Stroke()
2446 outline->n_contours = 0; in FT_Glyph_StrokeBorder()
/external/freetype/src/base/
Dftgloadr.c95 base->outline.n_contours = 0; in FT_GlyphLoader_Rewind()
151 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
203 FT_UInt n_contours ) in FT_GlyphLoader_CheckPoints() argument
249 new_max = (FT_UInt)base->n_contours + (FT_UInt)current->n_contours + in FT_GlyphLoader_CheckPoints()
250 n_contours; in FT_GlyphLoader_CheckPoints()
318 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
344 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
349 base->outline.n_contours = in FT_GlyphLoader_Add()
350 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
370 FT_UInt num_contours = (FT_UInt)source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints()
[all …]
Dftoutln.c86 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
324 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New_Internal()
361 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
367 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
371 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
375 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
411 source->n_contours != target->n_contours ) in FT_Outline_Copy()
421 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
560 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
802 for ( i = 0; i < outline->n_contours; i++ )
[all …]
Dftglyph.c178 source->n_contours, in FT_CALLBACK_DEF()
212 source->outline.n_contours, in ft_outline_glyph_copy()
Dftbbox.c456 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
Dftstroke.c731 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
740 outline->n_contours++; in ft_stroke_border_export()
2112 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2353 outline->n_contours = 0; in FT_Glyph_Stroke()
2444 outline->n_contours = 0; in FT_Glyph_StrokeBorder()
/external/freetype/include/internal/
Dftgloadr.h121 FT_UInt n_contours );
132 ( (FT_UInt)(_loader)->base.outline.n_contours + \
133 (FT_UInt)(_loader)->current.outline.n_contours + \
Dtttypes.h1443 FT_Short n_contours; /* number of contours */ member
1474 FT_Short n_contours; member
/external/pdfium/third_party/freetype/include/internal/
Dftgloadr.h121 FT_UInt n_contours );
132 ( (_loader)->base.outline.n_contours + \
133 (_loader)->current.outline.n_contours + \
Dtttypes.h1445 FT_Short n_contours; /* number of contours */ member
1476 FT_Short n_contours; member
/external/freetype/src/truetype/
Dttgload.c328 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
335 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
353 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
368 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
374 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
377 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
382 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
400 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
563 outline->n_contours = (FT_Short)n_contours; in TT_Load_Simple_Glyph()
732 zone->n_contours = load->outline.n_contours - in tt_prepare_zone()
[all …]
/external/pdfium/third_party/freetype/src/truetype/
Dttgload.c324 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
331 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
349 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
364 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
370 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
373 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
378 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
396 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
559 outline->n_contours = (FT_Short) n_contours; in TT_Load_Simple_Glyph()
711 zone->n_contours = (FT_Short) ( load->outline.n_contours - in tt_prepare_zone()
[all …]
/external/freetype/src/psaux/
Dpsobjs.c1659 outline->n_contours++; in t1_builder_add_contour()
1666 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1667 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1670 outline->n_contours++; in t1_builder_add_contour()
1713 first = outline->n_contours <= 1 in t1_builder_close_contour()
1714 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1732 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1738 outline->n_contours--; in t1_builder_close_contour()
1742 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c1665 outline->n_contours++; in t1_builder_add_contour()
1672 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1673 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1676 outline->n_contours++; in t1_builder_add_contour()
1719 first = outline->n_contours <= 1 in t1_builder_close_contour()
1720 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1738 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1744 outline->n_contours--; in t1_builder_close_contour()
1748 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/pdfium/third_party/freetype/src/cff/
Dcffgload.c541 outline->n_contours++; in cff_builder_add_contour()
548 if ( outline->n_contours > 0 ) in cff_builder_add_contour()
549 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
552 outline->n_contours++; in cff_builder_add_contour()
592 first = outline->n_contours <= 1 in cff_builder_close_contour()
593 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
611 if ( outline->n_contours > 0 ) in cff_builder_close_contour()
617 outline->n_contours--; in cff_builder_close_contour()
621 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
2685 glyph->root.outline.n_contours = 0; in cff_slot_load()
[all …]
/external/freetype/src/cff/
Dcffgload.c541 outline->n_contours++; in cff_builder_add_contour()
548 if ( outline->n_contours > 0 ) in cff_builder_add_contour()
549 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
552 outline->n_contours++; in cff_builder_add_contour()
592 first = outline->n_contours <= 1 in cff_builder_close_contour()
593 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
611 if ( outline->n_contours > 0 ) in cff_builder_close_contour()
617 outline->n_contours--; in cff_builder_close_contour()
621 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
2690 glyph->root.outline.n_contours = 0; in cff_slot_load()
[all …]
/external/freetype/src/autofit/
Dafloader.c313 slot->outline.n_contours = internal->loader->base.outline.n_contours; in af_loader_load_g()
Dafhints.c620 new_max = (FT_UInt)outline->n_contours; in af_glyph_hints_reload()
674 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
743 if ( ++contour_index < outline->n_contours ) in af_glyph_hints_reload()
/external/pdfium/third_party/freetype/include/
Dftimage.h341 short n_contours; /* number of contours in glyph */ member
/external/freetype/include/
Dftimage.h336 short n_contours; /* number of contours in glyph */ member
/external/pdfium/third_party/freetype/src/cid/
Dcidgload.c298 cidglyph->outline.n_contours = 0; in cid_slot_load_glyph()

12