Home
last modified time | relevance | path

Searched refs:num_contours (Results 1 – 25 of 30) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh225 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in _zero_instruction_length() local
226 if (num_contours <= 0) return; // only for simple glyphs in _zero_instruction_length()
228 …nstruction_length = StructAtOffset<HBUINT16> (&glyph, GlyphHeader::static_size + 2 * num_contours); in _zero_instruction_length()
439 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in remove_padding() local
441 if (num_contours < 0) in remove_padding()
445 else if (num_contours > 0) in remove_padding()
448 glyph += GlyphHeader::static_size + 2 * num_contours; in remove_padding()
541 int16_t num_contours = (int16_t) glyph_header.numberOfContours; in get_instruction_length() local
542 if (num_contours < 0) in get_instruction_length()
565 unsigned int instruction_length_offset = GlyphHeader::static_size + 2 * num_contours; in get_instruction_length()
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftstroke.c656 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
679 num_contours++; in ft_stroke_border_get_counts()
690 *anum_contours = num_contours; in ft_stroke_border_get_counts()
695 num_contours = 0; in ft_stroke_border_get_counts()
1938 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
1949 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
1955 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
1969 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
1990 num_contours = count2 + count4; in FT_Stroker_GetCounts()
1997 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftstroke.c668 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
691 num_contours++; in ft_stroke_border_get_counts()
702 *anum_contours = num_contours; in ft_stroke_border_get_counts()
707 num_contours = 0; in ft_stroke_border_get_counts()
1991 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
2002 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
2008 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
2022 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
2043 num_contours = count2 + count4; in FT_Stroker_GetCounts()
2050 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/third_party/freetype/src/base/
Dftstroke.c656 FT_UInt num_contours = 0; in ft_stroke_border_get_counts() local
679 num_contours++; in ft_stroke_border_get_counts()
690 *anum_contours = num_contours; in ft_stroke_border_get_counts()
695 num_contours = 0; in ft_stroke_border_get_counts()
1957 FT_UInt num_points = 0, num_contours = 0; in FT_Stroker_GetBorderCounts() local
1968 &num_points, &num_contours ); in FT_Stroker_GetBorderCounts()
1974 *anum_contours = num_contours; in FT_Stroker_GetBorderCounts()
1988 FT_UInt count3, count4, num_contours = 0; in FT_Stroker_GetCounts() local
2009 num_contours = count2 + count4; in FT_Stroker_GetCounts()
2016 *anum_contours = num_contours; in FT_Stroker_GetCounts()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh634 int num_contours = header.numberOfContours; in get_contour_points() local
635 if (unlikely (!bytes.check_range (&endPtsOfContours[num_contours + 1]))) return false; in get_contour_points()
636 unsigned int num_points = endPtsOfContours[num_contours - 1] + 1; in get_contour_points()
642 for (int i = 0; i < num_contours; i++) in get_contour_points()
646 const HBUINT8 *p = &StructAtOffset<HBUINT8> (&endPtsOfContours[num_contours + 1], in get_contour_points()
647 endPtsOfContours[num_contours]); in get_contour_points()
888 int num_contours = header->numberOfContours; in Glyph() local
889 if (unlikely (num_contours == 0)) type = EMPTY; in Glyph()
890 else if (num_contours > 0) type = SIMPLE; in Glyph()
/third_party/harfbuzz/src/
Dhb-ot-glyf-table.hh593 int num_contours = header.numberOfContours; in get_contour_points() local
594 if (unlikely (!bytes.check_range (&endPtsOfContours[num_contours + 1]))) return false; in get_contour_points()
595 unsigned int num_points = endPtsOfContours[num_contours - 1] + 1; in get_contour_points()
601 for (int i = 0; i < num_contours; i++) in get_contour_points()
605 const HBUINT8 *p = &StructAtOffset<HBUINT8> (&endPtsOfContours[num_contours + 1], in get_contour_points()
606 endPtsOfContours[num_contours]); in get_contour_points()
832 int num_contours = header->numberOfContours; in Glyph() local
833 if (unlikely (num_contours == 0)) type = EMPTY; in Glyph()
834 else if (num_contours > 0) type = SIMPLE; in Glyph()
/third_party/skia/third_party/externals/freetype/src/sdf/
Dftsdf.c1319 FT_UInt num_contours = 0; in sdf_shape_dump() local
1346 FT_TRACE5(( " Contour %d\n", num_contours )); in sdf_shape_dump()
1393 num_contours++; in sdf_shape_dump()
1398 FT_TRACE5(( " total number of contours = %d\n", num_contours )); in sdf_shape_dump()
3499 FT_Int num_contours; /* total number of contours */ in sdf_generate_with_overlaps() local
3534 num_contours = 0; in sdf_generate_with_overlaps()
3539 num_contours++; in sdf_generate_with_overlaps()
3545 (FT_UInt)num_contours * sizeof ( *bitmaps ) ) ) in sdf_generate_with_overlaps()
3550 (FT_UInt)num_contours * sizeof ( *orientations ) ) ) in sdf_generate_with_overlaps()
3556 for ( i = 0; i < num_contours; i++ ) in sdf_generate_with_overlaps()
[all …]
/third_party/freetype/src/autofit/
Dafhints.c323 AF_Point* climit = contour + hints->num_contours; in af_glyph_hints_dump_points()
736 hints->num_contours = 0; in af_glyph_hints_done()
776 hints->num_contours = 0; in af_glyph_hints_reload()
838 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
945 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_reload()
973 AF_Point* contour_limit = hints->contours + hints->num_contours; in af_glyph_hints_reload()
1574 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_align_weak_points()
Dafhints.h355 FT_Int num_contours; /* number of used contours */ member
Daflatin2.c741 AF_Point* contour_limit = contour + hints->num_contours; in af_latin2_hints_compute_segments()
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafhints.c323 AF_Point* climit = contour + hints->num_contours; in af_glyph_hints_dump_points()
736 hints->num_contours = 0; in af_glyph_hints_done()
776 hints->num_contours = 0; in af_glyph_hints_reload()
838 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
945 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_reload()
973 AF_Point* contour_limit = hints->contours + hints->num_contours; in af_glyph_hints_reload()
1574 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_align_weak_points()
Dafhints.h355 FT_Int num_contours; /* number of used contours */ member
Daflatin2.c741 AF_Point* contour_limit = contour + hints->num_contours; in af_latin2_hints_compute_segments()
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c932 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1047 glyph->num_contours = 0; in psh_glyph_done()
1175 glyph->num_contours = (FT_UInt)outline->n_contours; in psh_glyph_init()
1183 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1295 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
1931 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
1934 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h192 FT_UInt num_contours; member
/third_party/freetype/src/pshinter/
Dpshalgo.c931 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1046 glyph->num_contours = 0; in psh_glyph_done()
1174 glyph->num_contours = (FT_UInt)outline->n_contours; in psh_glyph_init()
1182 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1294 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
1930 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
1933 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h192 FT_UInt num_contours; member
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c932 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_inflections()
1047 glyph->num_contours = 0; in psh_glyph_done()
1175 glyph->num_contours = (FT_UInt)outline->n_contours; in psh_glyph_init()
1183 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_init()
1295 for ( n = 0; n < glyph->num_contours; n++ ) in psh_glyph_compute_extrema()
1922 FT_UInt num_contours = glyph->num_contours; in psh_glyph_interpolate_other_points() local
1925 for ( ; num_contours > 0; num_contours--, contour++ ) in psh_glyph_interpolate_other_points()
Dpshalgo.h188 FT_UInt num_contours; member
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafhints.c421 AF_Point* climit = contour + hints->num_contours; in af_glyph_hints_dump_points()
834 hints->num_contours = 0; in af_glyph_hints_done()
874 hints->num_contours = 0; in af_glyph_hints_reload()
936 hints->num_contours = outline->n_contours; in af_glyph_hints_reload()
1040 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_reload()
1068 AF_Point* contour_limit = hints->contours + hints->num_contours; in af_glyph_hints_reload()
1669 AF_Point* contour_limit = contour + hints->num_contours; in af_glyph_hints_align_weak_points()
Dafhints.h355 FT_Int num_contours; /* number of used contours */ member
Daflatin.c1542 AF_Point* contour_limit = contour + hints->num_contours; in af_latin_hints_compute_segments()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h3458 …, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) in stbtt_FlattenCurves() argument
3471 *num_contours = n; in stbtt_FlattenCurves()
3477 *num_contours = 0; in stbtt_FlattenCurves()
3531 *num_contours = 0; in stbtt_FlattenCurves()
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h3458 …, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) in stbtt_FlattenCurves() argument
3471 *num_contours = n; in stbtt_FlattenCurves()
3477 *num_contours = 0; in stbtt_FlattenCurves()
3531 *num_contours = 0; in stbtt_FlattenCurves()
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h3432 …, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) in stbtt_FlattenCurves() argument
3445 *num_contours = n; in stbtt_FlattenCurves()
3451 *num_contours = 0; in stbtt_FlattenCurves()
3505 *num_contours = 0; in stbtt_FlattenCurves()

12