Home
last modified time | relevance | path

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

123

/external/freetype/src/base/
Dftgloadr.c112 FT_FREE( loader->base.outline.contours ); in FT_GlyphLoader_Reset()
151 current->contours = FT_OFFSET( base->contours, base->n_contours ); in FT_GlyphLoader_Adjust_Points()
270 if ( FT_RENEW_ARRAY( base->contours, old_max, new_max ) ) in FT_GlyphLoader_CheckPoints()
368 current->outline.contours[n] = in FT_GlyphLoader_Add()
369 (short)( current->outline.contours[n] + n_base_points ); in FT_GlyphLoader_Add()
Dftoutln.c85 last = outline->contours[n]; in FT_Outline_Decompose()
321 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New()
362 end = outline->contours[n]; in FT_Outline_Check()
409 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
446 FT_FREE( outline->contours ); in FT_Outline_Done()
545 last = outline->contours[n]; in FT_Outline_Reverse()
730 (outline)->contours[c - 1] + 1 \
732 (last) = (outline)->points + (outline)->contours[c]; \
841 last = outline->points + outline->contours[i];
941 last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/external/freetype/src/autofit/
Dafhints.c322 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
733 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
734 FT_FREE( hints->contours ); in af_glyph_hints_done()
789 if ( !hints->contours ) in af_glyph_hints_reload()
791 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
797 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
798 hints->contours = NULL; in af_glyph_hints_reload()
802 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
878 FT_Short endpoint = outline->contours[0]; in af_glyph_hints_reload()
926 endpoint = outline->contours[contour_index]; in af_glyph_hints_reload()
[all …]
Dafhints.h356 AF_Point* contours; /* contours array */ member
372 AF_Point contours[AF_CONTOURS_EMBEDDED]; member
Daflatin2.c263 last = glyph->outline.contours[nn]; in af_latin2_metrics_init_blues()
740 AF_Point* contour = hints->contours; in af_latin2_hints_compute_segments()
/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/skia/src/pathops/
DSkPathOpsAsWinding.cpp324 SkPath reverseMarkedContours(vector<Contour>& contours, SkPathFillType fillType) { in reverseMarkedContours() argument
331 for (const Contour& contour : contours) { in reverseMarkedContours()
390 vector<Contour> contours; // one per contour in AsWinding() local
392 winder.contourBounds(&contours); in AsWinding()
393 if (contours.size() <= 1) { in AsWinding()
398 for (auto& contour : contours) { in AsWinding()
421 *result = winder.reverseMarkedContours(contours, fillType); in AsWinding()
/external/skia/src/gpu/
DGrTriangulator.h60 void pathToContours(float tolerance, const SkRect& clipBounds, VertexList* contours,
64 void contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh,
164 void sanitizeContours(VertexList* contours, int contourCnt) const;
166 void buildEdges(VertexList* contours, int contourCnt, VertexList* mesh,
168 Poly* contoursToPolys(VertexList* contours, int contourCnt) const;
DGrTriangulator.cpp434 VertexList* contours, bool* isLinear) const { in pathToContours() argument
438 VertexList* contour = contours; in pathToContours()
444 this->appendPointToContour(quad[i], contours); in pathToContours()
1007 void GrTriangulator::sanitizeContours(VertexList* contours, int contourCnt) const { in sanitizeContours() argument
1008 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitizeContours()
1063 void GrTriangulator::buildEdges(VertexList* contours, int contourCnt, VertexList* mesh, in buildEdges() argument
1065 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in buildEdges()
1371 void GrTriangulator::contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh, in contoursToMesh() argument
1375 Vertex* v = contours[i].fHead; in contoursToMesh()
1383 this->sanitizeContours(contours, contourCnt); in contoursToMesh()
[all …]
/external/fonttools/Lib/fontTools/ttLib/
DremoveOverlaps.py99 if {tuple(c) for c in path.contours} != {tuple(c) for c in path2.contours}:
/external/freetype/src/truetype/
Dttgload.c377 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
803 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1759 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1780 outline.contours = contours; in load_truetype_glyph()
1950 short* contours = NULL; in load_truetype_glyph() local
1963 outline.contours = NULL; in load_truetype_glyph()
1967 FT_NEW_ARRAY( contours, outline.n_points ) || in load_truetype_glyph()
1981 contours[i] = i; in load_truetype_glyph()
1987 contours[i] = i; in load_truetype_glyph()
1993 contours[i] = i; in load_truetype_glyph()
[all …]
Dttobjs.c77 FT_FREE( zone->contours ); in tt_glyphzone_done()
131 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
/external/freetype/src/psaux/
Dpsobjs.c1716 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1763 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1799 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
1998 outline->contours[outline->n_contours - 1] = in cff_builder_add_contour()
2042 ? 0 : outline->contours[outline->n_contours - 2] + 1; in cff_builder_close_contour()
2078 outline->contours[outline->n_contours - 1] = in cff_builder_close_contour()
2306 outline->contours[outline->n_contours - 1] = in ps_builder_add_contour()
2350 ? 0 : outline->contours[outline->n_contours - 2] + 1; in ps_builder_close_contour()
2386 outline->contours[outline->n_contours - 1] = in ps_builder_close_contour()
/external/freetype/src/pshinter/
Dpshalgo.c940 if ( glyph->contours[n].count < 4 ) in psh_glyph_compute_inflections()
944 first = glyph->contours[n].start; in psh_glyph_compute_inflections()
1043 FT_FREE( glyph->contours ); in psh_glyph_done()
1170 FT_NEW_ARRAY( glyph->contours, outline->n_contours ) ) in psh_glyph_init()
1179 PSH_Contour contour = glyph->contours; in psh_glyph_init()
1188 next = (FT_UInt)outline->contours[n] + 1; in psh_glyph_init()
1296 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1300 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
1929 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
Dpshalgo.h195 PSH_Contour contours; member
/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.h343 short* contours; /* the contour end points */ member
/external/freetype/src/tools/ftrandom/
DREADME14 . optionally reviews the contours of the glyph,
/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/include/freetype/internal/
Dtttypes.h1703 FT_UShort* contours; /* contour end points */ member
/external/freetype/src/smooth/
Dftgrays.c1414 last = outline->contours[n]; in FT_Outline_Decompose()
1781 if ( !outline->contours || !outline->points ) in gray_raster_render()
1785 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/freetype/src/raster/
Dftraster.c2025 (UShort)ras.outline.contours[i], in Convert_Glyph()
2029 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
3304 if ( !outline->contours || !outline->points ) in ft_black_render()
3308 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/
DREADME.rst179 Simplify TrueType glyphs by merging overlapping contours and components.

123