Home
last modified time | relevance | path

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

12

/external/chromium_org/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()
314 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
340 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
345 base->outline.n_contours = in FT_GlyphLoader_Add()
346 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
366 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints()
[all …]
Dftoutln.c83 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
321 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New_Internal()
358 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
364 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
368 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
372 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
406 source->n_contours != target->n_contours ) in FT_Outline_Copy()
416 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
554 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
797 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()
Dftstroke.c731 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
740 outline->n_contours++; in ft_stroke_border_export()
2069 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2306 outline->n_contours = 0; in FT_Glyph_Stroke()
2395 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
248 new_max = base->n_contours + current->n_contours + in FT_GlyphLoader_CheckPoints()
249 n_contours; in FT_GlyphLoader_CheckPoints()
314 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
340 n_curr_contours = current->outline.n_contours; in FT_GlyphLoader_Add()
345 base->outline.n_contours = in FT_GlyphLoader_Add()
346 (short)( base->outline.n_contours + current->outline.n_contours ); in FT_GlyphLoader_Add()
366 FT_UInt num_contours = source->base.outline.n_contours; in FT_GlyphLoader_CopyPoints()
[all …]
Dftoutln.c83 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Decompose()
321 anoutline->n_contours = (FT_Short)numContours; in FT_Outline_New_Internal()
358 FT_Int n_contours = outline->n_contours; in FT_Outline_Check() local
364 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
368 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
372 for ( n = 0; n < n_contours; n++ ) in FT_Outline_Check()
406 source->n_contours != target->n_contours ) in FT_Outline_Copy()
416 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
554 for ( n = 0; n < outline->n_contours; n++ ) in FT_Outline_Reverse()
797 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()
Dftstroke.c731 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
740 outline->n_contours++; in ft_stroke_border_export()
2069 for ( n = 0; n < outline->n_contours; n++ ) in FT_Stroker_ParseOutline()
2306 outline->n_contours = 0; in FT_Glyph_Stroke()
2395 outline->n_contours = 0; in FT_Glyph_StrokeBorder()
/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.h1368 FT_Short n_contours; /* number of contours */ member
1399 FT_Short n_contours; member
/external/chromium_org/third_party/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.h1368 FT_Short n_contours; /* number of contours */ member
1399 FT_Short n_contours; member
/external/chromium_org/third_party/ots/src/
Dwoff2.cc276 unsigned int n_contours, unsigned int instruction_length, in StorePoints() argument
280 unsigned int flag_offset = kEndPtsOfContoursOffset + 2 * n_contours + 2 + in StorePoints()
544 uint16_t n_contours = 0; in ReconstructGlyf() local
545 if (!n_contour_stream.ReadU16(&n_contours)) { in ReconstructGlyf()
550 if (n_contours == 0xffff) { in ReconstructGlyf()
573 } else if (n_contours > 0) { in ReconstructGlyf()
579 for (unsigned int j = 0; j < n_contours; ++j) { in ReconstructGlyf()
603 kEndPtsOfContoursOffset + 2 * n_contours; in ReconstructGlyf()
607 Store16(glyf_dst, 0, n_contours); in ReconstructGlyf()
611 for (unsigned int contour_ix = 0; contour_ix < n_contours; ++contour_ix) { in ReconstructGlyf()
[all …]
/external/chromium_org/third_party/freetype/src/truetype/
Dttgload.c326 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
333 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
351 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
366 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
372 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
375 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
380 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
398 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
554 outline->n_contours = (FT_Short) n_contours; in TT_Load_Simple_Glyph()
706 zone->n_contours = (FT_Short) ( load->outline.n_contours - in tt_prepare_zone()
[all …]
/external/freetype/src/truetype/
Dttgload.c326 loader->n_contours = FT_NEXT_SHORT( p ); in TT_Load_Glyph_Header()
333 FT_TRACE5(( " # of contours: %d\n", loader->n_contours )); in TT_Load_Glyph_Header()
351 FT_Int n_contours = load->n_contours; in TT_Load_Simple_Glyph() local
366 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, 0, n_contours ); in TT_Load_Simple_Glyph()
372 cont_limit = cont + n_contours; in TT_Load_Simple_Glyph()
375 if ( n_contours >= 0xFFF || p + ( n_contours + 1 ) * 2 > limit ) in TT_Load_Simple_Glyph()
380 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
398 if ( n_contours > 0 ) in TT_Load_Simple_Glyph()
554 outline->n_contours = (FT_Short) n_contours; in TT_Load_Simple_Glyph()
706 zone->n_contours = (FT_Short) ( load->outline.n_contours - in tt_prepare_zone()
[all …]
/external/freetype/src/autofit/
Dafloader.c150 slot->outline.n_contours ); in af_loader_load_g()
160 slot->outline.n_contours ); in af_loader_load_g()
167 gloader->current.outline.n_contours = slot->outline.n_contours; in af_loader_load_g()
476 slot->outline.n_contours = internal->loader->base.outline.n_contours; in af_loader_load_g()
Dafhints.c615 new_max = (FT_UInt)outline->n_contours; in af_glyph_hints_reload()
645 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
711 if ( ++contour_index < outline->n_contours ) in af_glyph_hints_reload()
/external/chromium_org/third_party/freetype/src/autofit/
Dafloader.c150 slot->outline.n_contours ); in af_loader_load_g()
160 slot->outline.n_contours ); in af_loader_load_g()
167 gloader->current.outline.n_contours = slot->outline.n_contours; in af_loader_load_g()
476 slot->outline.n_contours = internal->loader->base.outline.n_contours; in af_loader_load_g()
Dafhints.c615 new_max = (FT_UInt)outline->n_contours; in af_glyph_hints_reload()
645 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
711 if ( ++contour_index < outline->n_contours ) in af_glyph_hints_reload()
/external/freetype/src/psaux/
Dpsobjs.c1655 outline->n_contours++; in t1_builder_add_contour()
1662 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1663 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1666 outline->n_contours++; in t1_builder_add_contour()
1709 first = outline->n_contours <= 1 in t1_builder_close_contour()
1710 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1728 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1734 outline->n_contours--; in t1_builder_close_contour()
1738 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/chromium_org/third_party/freetype/src/psaux/
Dpsobjs.c1655 outline->n_contours++; in t1_builder_add_contour()
1662 if ( outline->n_contours > 0 ) in t1_builder_add_contour()
1663 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1666 outline->n_contours++; in t1_builder_add_contour()
1709 first = outline->n_contours <= 1 in t1_builder_close_contour()
1710 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1728 if ( outline->n_contours > 0 ) in t1_builder_close_contour()
1734 outline->n_contours--; in t1_builder_close_contour()
1738 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/chromium_org/third_party/freetype/src/cff/
Dcffgload.c545 outline->n_contours++; in cff_builder_add_contour()
552 if ( outline->n_contours > 0 ) in cff_builder_add_contour()
553 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
556 outline->n_contours++; in cff_builder_add_contour()
596 first = outline->n_contours <= 1 in cff_builder_close_contour()
597 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
615 if ( outline->n_contours > 0 ) in cff_builder_close_contour()
621 outline->n_contours--; in cff_builder_close_contour()
625 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/cff/
Dcffgload.c545 outline->n_contours++; in cff_builder_add_contour()
552 if ( outline->n_contours > 0 ) in cff_builder_add_contour()
553 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
556 outline->n_contours++; in cff_builder_add_contour()
596 first = outline->n_contours <= 1 in cff_builder_close_contour()
597 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
615 if ( outline->n_contours > 0 ) in cff_builder_close_contour()
621 outline->n_contours--; in cff_builder_close_contour()
625 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/include/freetype/
Dftimage.h394 short n_contours; /* number of contours in glyph */ member
/external/chromium_org/third_party/freetype/include/freetype/
Dftimage.h394 short n_contours; /* number of contours in glyph */ member

12