Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/freetype/src/sdf/
Dftsdf.c375 SDF_Contour* contours; member
612 SDF_Contour* contours; in sdf_shape_done() local
620 contours = (*shape)->contours; in sdf_shape_done()
626 while ( contours ) in sdf_shape_done()
628 temp = contours; in sdf_shape_done()
629 contours = contours->next; in sdf_shape_done()
667 contour->next = shape->contours; in sdf_move_to()
668 shape->contours = contour; in sdf_move_to()
696 contour = shape->contours; in sdf_line_to()
739 contour = shape->contours; in sdf_conic_to()
[all …]
/third_party/freetype/src/sdf/
Dftsdf.c375 SDF_Contour* contours; member
612 SDF_Contour* contours; in sdf_shape_done() local
620 contours = (*shape)->contours; in sdf_shape_done()
626 while ( contours ) in sdf_shape_done()
628 temp = contours; in sdf_shape_done()
629 contours = contours->next; in sdf_shape_done()
667 contour->next = shape->contours; in sdf_move_to()
668 shape->contours = contour; in sdf_move_to()
696 contour = shape->contours; in sdf_line_to()
739 contour = shape->contours; in sdf_conic_to()
[all …]
/third_party/flutter/skia/third_party/externals/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()
Dftoutln.c86 last = outline->contours[n]; in FT_Outline_Decompose()
322 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New()
363 end = outline->contours[n]; in FT_Outline_Check()
410 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
447 FT_FREE( outline->contours ); in FT_Outline_Done()
546 last = outline->contours[n]; in FT_Outline_Reverse()
731 (outline)->contours[c - 1] + 1 \
733 (last) = (outline)->points + (outline)->contours[c]; \
842 last = outline->points + outline->contours[i];
942 last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/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
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafhints.c420 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
831 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
832 FT_FREE( hints->contours ); in af_glyph_hints_done()
887 if ( !hints->contours ) in af_glyph_hints_reload()
889 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
895 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
896 hints->contours = NULL; in af_glyph_hints_reload()
900 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
973 FT_Short endpoint = outline->contours[0]; in af_glyph_hints_reload()
1021 endpoint = outline->contours[contour_index]; in af_glyph_hints_reload()
[all …]
Dafhints.h356 AF_Point* contours; /* contours array */ member
369 AF_Point contours[AF_CONTOURS_EMBEDDED]; member
/third_party/freetype/src/autofit/
Dafhints.c420 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
831 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
832 FT_FREE( hints->contours ); in af_glyph_hints_done()
887 if ( !hints->contours ) in af_glyph_hints_reload()
889 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
895 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
896 hints->contours = NULL; in af_glyph_hints_reload()
900 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
973 FT_Short endpoint = outline->contours[0]; in af_glyph_hints_reload()
1021 endpoint = outline->contours[contour_index]; in af_glyph_hints_reload()
[all …]
Dafhints.h356 AF_Point* contours; /* contours array */ member
369 AF_Point contours[AF_CONTOURS_EMBEDDED]; member
/third_party/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()
/third_party/flutter/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()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h63 void pathToContours(float tolerance, const SkRect& clipBounds, VertexList* contours,
67 void contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh,
167 void sanitizeContours(VertexList* contours, int contourCnt) const;
169 void buildEdges(VertexList* contours, int contourCnt, VertexList* mesh,
171 Poly* contoursToPolys(VertexList* contours, int contourCnt) const;
DGrTriangulator.cpp526 VertexList* contours, bool* isLinear) const { in pathToContours() argument
530 VertexList* contour = contours; in pathToContours()
536 this->appendPointToContour(quad[i], contours); in pathToContours()
1105 void GrTriangulator::sanitizeContours(VertexList* contours, int contourCnt) const { in sanitizeContours() argument
1106 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitizeContours()
1161 void GrTriangulator::buildEdges(VertexList* contours, int contourCnt, VertexList* mesh, in buildEdges() argument
1163 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in buildEdges()
1469 void GrTriangulator::contoursToMesh(VertexList* contours, int contourCnt, VertexList* mesh, in contoursToMesh() argument
1473 Vertex* v = contours[i].fHead; in contoursToMesh()
1481 this->sanitizeContours(contours, contourCnt); in contoursToMesh()
[all …]
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttgload.c384 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
812 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1765 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1786 outline.contours = contours; in load_truetype_glyph()
1954 short* contours = NULL; in load_truetype_glyph() local
1967 outline.contours = NULL; in load_truetype_glyph()
1971 FT_NEW_ARRAY( contours, outline.n_points ) || in load_truetype_glyph()
1985 contours[i] = i; in load_truetype_glyph()
1991 contours[i] = i; in load_truetype_glyph()
1997 contours[i] = i; in load_truetype_glyph()
[all …]
/third_party/freetype/src/truetype/
Dttgload.c384 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
812 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1765 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1786 outline.contours = contours; in load_truetype_glyph()
1954 short* contours = NULL; in load_truetype_glyph() local
1967 outline.contours = NULL; in load_truetype_glyph()
1971 FT_NEW_ARRAY( contours, outline.n_points ) || in load_truetype_glyph()
1985 contours[i] = i; in load_truetype_glyph()
1991 contours[i] = i; in load_truetype_glyph()
1997 contours[i] = i; in load_truetype_glyph()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/truetype/
Dttgload.c372 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
794 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1735 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1756 outline.contours = contours; in load_truetype_glyph()
1926 short* contours = NULL; in load_truetype_glyph() local
1939 outline.contours = NULL; in load_truetype_glyph()
1943 FT_NEW_ARRAY( contours, outline.n_points ) || in load_truetype_glyph()
1957 contours[i] = i; in load_truetype_glyph()
1963 contours[i] = i; in load_truetype_glyph()
1969 contours[i] = i; in load_truetype_glyph()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstsegmentation.cpp706 std::vector < std::vector < Point > >contours; in find_connected_components() local
709 findContours (mask, contours, hierarchy, RETR_TREE, CHAIN_APPROX_SIMPLE, in find_connected_components()
711 if (contours.size () == 0) in find_connected_components()
715 const std::vector < Point > &c = contours[idx]; in find_connected_components()
/third_party/flutter/skia/third_party/externals/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()
/third_party/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_QNEW_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()
1298 PSH_Point first = glyph->contours[n].start; in psh_glyph_compute_extrema()
1302 if ( glyph->contours[n].count == 0 ) in psh_glyph_compute_extrema()
1923 PSH_Contour contour = glyph->contours; in psh_glyph_interpolate_other_points()
/third_party/skia/third_party/externals/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()

12345