Home
last modified time | relevance | path

Searched refs:contours (Results 1 – 25 of 51) sorted by relevance

123

/external/freetype/src/base/
Dftgloadr.c112 FT_FREE( loader->base.outline.contours ); in FT_GlyphLoader_Reset()
151 current->contours = base->contours + base->n_contours; in FT_GlyphLoader_Adjust_Points()
258 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
356 current->outline.contours[n] = in FT_GlyphLoader_Add()
357 (short)( current->outline.contours[n] + n_base_points ); in FT_GlyphLoader_Add()
384 FT_ARRAY_COPY( out->contours, in->contours, in FT_GlyphLoader_CopyPoints()
Dftoutln.c94 last = outline->contours[n]; in FT_Outline_Decompose()
322 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
379 end = outline->contours[n]; in FT_Outline_Check()
426 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
453 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
567 last = outline->contours[n]; in FT_Outline_Reverse()
742 (outline)->contours[c - 1] + 1 \
744 (last) = (outline)->points + (outline)->contours[c]; \
853 last = outline->points + outline->contours[i];
953 last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
Dftstroke.c737 FT_Short* write = outline->contours + outline->n_contours; in ft_stroke_border_export()
2123 last = (FT_UInt)outline->contours[n]; in FT_Stroker_ParseOutline()
/external/freetype/src/autofit/
Dafhints.c309 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
703 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
704 FT_FREE( hints->contours ); in af_glyph_hints_done()
759 if ( !hints->contours ) in af_glyph_hints_reload()
761 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
767 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
768 hints->contours = NULL; in af_glyph_hints_reload()
772 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
848 FT_Short endpoint = outline->contours[0]; in af_glyph_hints_reload()
896 endpoint = outline->contours[contour_index]; in af_glyph_hints_reload()
[all …]
Dafhints.h350 AF_Point* contours; /* contours array */ member
366 AF_Point contours[AF_CONTOURS_EMBEDDED]; member
Daflatin2.c263 last = glyph->outline.contours[nn]; in af_latin2_metrics_init_blues()
739 AF_Point* contour = hints->contours; in af_latin2_hints_compute_segments()
/external/skia/src/pathops/
DSkPathOpsAsWinding.cpp327 void reverseMarkedContours(vector<Contour>& contours, SkPath* result) { in reverseMarkedContours() argument
330 for (auto contour : contours) { in reverseMarkedContours()
391 vector<Contour> contours; // one per contour in AsWinding() local
393 winder.contourBounds(&contours); in AsWinding()
394 if (contours.size() <= 1) { in AsWinding()
399 for (auto& contour : contours) { in AsWinding()
424 winder.reverseMarkedContours(contours, &temp); in AsWinding()
/external/skqp/src/pathops/
DSkPathOpsAsWinding.cpp327 void reverseMarkedContours(vector<Contour>& contours, SkPath* result) { in reverseMarkedContours() argument
330 for (auto contour : contours) { in reverseMarkedContours()
391 vector<Contour> contours; // one per contour in AsWinding() local
393 winder.contourBounds(&contours); in AsWinding()
394 if (contours.size() <= 1) { in AsWinding()
399 for (auto& contour : contours) { in AsWinding()
424 winder.reverseMarkedContours(contours, &temp); in AsWinding()
/external/freetype/src/truetype/
Dttgload.c351 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
774 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1677 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1695 outline.contours = contours; in load_truetype_glyph()
1854 short* contours = NULL; in load_truetype_glyph() local
1866 outline.contours = NULL; in load_truetype_glyph()
1870 FT_NEW_ARRAY( contours, outline.n_points ) ) in load_truetype_glyph()
1883 contours[i] = i; in load_truetype_glyph()
1889 contours[i] = i; in load_truetype_glyph()
1895 contours[i] = i; in load_truetype_glyph()
[all …]
Dttobjs.c78 FT_FREE( zone->contours ); in tt_glyphzone_done()
132 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
Dttinterp.c5611 start = (FT_UShort)( exc->zp2.contours[contour - 1] + 1 - in Ins_SHC()
5618 limit = (FT_UShort)( exc->zp2.contours[contour] - in Ins_SHC()
5664 limit = (FT_UShort)( exc->zp2.contours[exc->zp2.n_contours - 1] + 1 ); in Ins_SHZ()
7071 end_point = exc->pts.contours[contour] - exc->pts.first_point; in Ins_IUP()
/external/freetype/src/pshinter/
Dpshalgo.c941 if ( glyph->contours[n].count < 4 ) in psh_glyph_compute_inflections()
945 first = glyph->contours[n].start; in psh_glyph_compute_inflections()
1044 FT_FREE( glyph->contours ); in psh_glyph_done()
1171 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1180 PSH_Contour contour = glyph->contours; in psh_glyph_init()
1189 next = (FT_UInt)outline->contours[n] + 1; in psh_glyph_init()
1297 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1301 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
1930 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
Dpshalgo.h195 PSH_Contour contours; member
/external/freetype/src/psaux/
Dpsobjs.c1717 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1764 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1800 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
1999 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
2043 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
2071 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
2299 outline->contours[outline->n_contours - 1] = in ps_builder_add_contour()
2343 ? 0 : outline->contours[outline->n_contours - 2] + 1; in ps_builder_close_contour()
2379 outline->contours[outline->n_contours - 1] = in ps_builder_close_contour()
/external/skia/src/gpu/
DGrTessellator.cpp747 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) { in path_to_contours() argument
752 VertexList* contour = contours; in path_to_contours()
758 append_point_to_contour(quad[i], contours, alloc); in path_to_contours()
1275 void sanitize_contours(VertexList* contours, int contourCnt, bool approximate) { in sanitize_contours() argument
1276 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitize_contours()
1326 void build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, in build_edges() argument
1328 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in build_edges()
2076 void contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, in contours_to_mesh() argument
2080 Vertex* v = contours[i].fHead; in contours_to_mesh()
2088 sanitize_contours(contours, contourCnt, antialias); in contours_to_mesh()
[all …]
/external/skqp/src/gpu/
DGrTessellator.cpp747 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) { in path_to_contours() argument
752 VertexList* contour = contours; in path_to_contours()
758 append_point_to_contour(quad[i], contours, alloc); in path_to_contours()
1275 void sanitize_contours(VertexList* contours, int contourCnt, bool approximate) { in sanitize_contours() argument
1276 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitize_contours()
1326 void build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, in build_edges() argument
1328 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in build_edges()
2076 void contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, in contours_to_mesh() argument
2080 Vertex* v = contours[i].fHead; in contours_to_mesh()
2088 sanitize_contours(contours, contourCnt, antialias); in contours_to_mesh()
[all …]
/external/google-fonts/arbutus-slab/
DFONTLOG.txt22 2. ArbutusSlab-OTF.sfd Merged contours and
/external/freetype/include/freetype/
Dftimage.h361 short* contours; /* the contour end points */ member
/external/freetype/src/pfr/
Dpfrgload.c93 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()
/external/freetype/src/tools/ftrandom/
DREADME14 . optionally reviews the contours of the glyph,
/external/freetype/include/freetype/internal/
Dtttypes.h1846 FT_UShort* contours; /* contour end points */ member
/external/freetype/src/smooth/
Dftgrays.c1411 last = outline->contours[n]; in FT_Outline_Decompose()
1779 if ( !outline->contours || !outline->points ) in gray_raster_render()
1783 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/freetype/src/raster/
Dftraster.c2017 (UShort)ras.outline.contours[i], in Convert_Glyph()
2021 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
3270 if ( !outline->contours || !outline->points ) in ft_black_render()
3274 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()
/external/freetype/docs/
Draster.txt92 - A glyph is usually made of several contours, also called
210 contours, taken on the y scanlines.
/external/fonttools/
DNEWS.rst223 implementations to specify a non-zero fill with overlapping contours (#1316).
573 contours with the winding direction reversed, while keeping the starting
575 - [filterPen] Added ``ContourFilterPen`` to manipulate contours as a whole
721 components decomposed as regular contours.

123