Home
last modified time | relevance | path

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

12

/external/pdfium/third_party/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()
321 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
378 end = outline->contours[n]; in FT_Outline_Check()
422 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
449 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
563 last = outline->contours[n]; in FT_Outline_Reverse()
732 (outline)->contours[c - 1] + 1 \
734 (last) = (outline)->points + (outline)->contours[c]; \
843 last = outline->points + outline->contours[i];
943 last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/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()
321 FT_NEW_ARRAY( anoutline->contours, numContours ) ) in FT_Outline_New_Internal()
378 end = outline->contours[n]; in FT_Outline_Check()
425 FT_ARRAY_COPY( target->contours, source->contours, source->n_contours ); in FT_Outline_Copy()
452 FT_FREE( outline->contours ); in FT_Outline_Done_Internal()
566 last = outline->contours[n]; in FT_Outline_Reverse()
735 (outline)->contours[c - 1] + 1 \
737 (last) = (outline)->points + (outline)->contours[c]; \
846 last = outline->points + outline->contours[i];
946 last = outline->contours[c]; in FT_Outline_EmboldenXY()
[all …]
/external/freetype/src/autofit/
Dafhints.c309 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
690 if ( hints->contours != hints->embedded.contours ) in af_glyph_hints_done()
691 FT_FREE( hints->contours ); in af_glyph_hints_done()
746 if ( !hints->contours ) in af_glyph_hints_reload()
748 hints->contours = hints->embedded.contours; in af_glyph_hints_reload()
754 if ( hints->contours == hints->embedded.contours ) in af_glyph_hints_reload()
755 hints->contours = NULL; in af_glyph_hints_reload()
759 if ( FT_RENEW_ARRAY( hints->contours, old_max, new_max ) ) in af_glyph_hints_reload()
835 FT_Short endpoint = outline->contours[0]; in af_glyph_hints_reload()
883 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
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm153 int contours = showPathContour(iter);
157 bool expected = (path.getFillType() == SkPath::kWinding_FillType && contours == 1)
158 || (path.getFillType() == SkPath::kEvenOdd_FillType && contours == 2);
160 SkDebugf("suspect contours=%d\n", contours);
/external/pdfium/third_party/freetype/src/truetype/
Dttgload.c350 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
715 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1533 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1551 outline.contours = contours; in load_truetype_glyph()
1660 short* contours = NULL; in load_truetype_glyph() local
1674 FT_NEW_ARRAY( contours, outline.n_points ) ) in load_truetype_glyph()
1687 contours[i] = i; in load_truetype_glyph()
1693 contours[i] = i; in load_truetype_glyph()
1699 contours[i] = i; in load_truetype_glyph()
1705 contours[i] = i; in load_truetype_glyph()
[all …]
Dttobjs.c81 FT_FREE( zone->contours ); in tt_glyphzone_done()
131 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
/external/freetype/src/truetype/
Dttgload.c351 cont = gloader->current.outline.contours; in TT_Load_Simple_Glyph()
718 zone->contours = (FT_UShort*)load->outline.contours + start_contour; in tt_prepare_zone()
1583 short contours[4] = { 0, 1, 2, 3 }; in load_truetype_glyph() local
1601 outline.contours = contours; in load_truetype_glyph()
1756 short* contours = NULL; in load_truetype_glyph() local
1768 outline.contours = NULL; in load_truetype_glyph()
1772 FT_NEW_ARRAY( contours, outline.n_points ) ) in load_truetype_glyph()
1785 contours[i] = i; in load_truetype_glyph()
1791 contours[i] = i; in load_truetype_glyph()
1797 contours[i] = i; in load_truetype_glyph()
[all …]
Dttobjs.c77 FT_FREE( zone->contours ); in tt_glyphzone_done()
127 FT_NEW_ARRAY( zone->contours, maxContours ) ) in tt_glyphzone_new()
/external/skia/src/gpu/
DGrTessellator.cpp697 VertexList* contours, SkArenaAlloc& alloc, bool *isLinear) { in path_to_contours() argument
702 VertexList* contour = contours; in path_to_contours()
708 append_point_to_contour(quad[i], contours, alloc); in path_to_contours()
1139 void sanitize_contours(VertexList* contours, int contourCnt, bool approximate) { in sanitize_contours() argument
1140 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in sanitize_contours()
1177 void build_edges(VertexList* contours, int contourCnt, VertexList* mesh, Comparator& c, in build_edges() argument
1179 for (VertexList* contour = contours; contourCnt > 0; --contourCnt, ++contour) { in build_edges()
1687 void contours_to_mesh(VertexList* contours, int contourCnt, bool antialias, in contours_to_mesh() argument
1691 Vertex* v = contours[i].fHead; in contours_to_mesh()
1699 sanitize_contours(contours, contourCnt, antialias); in contours_to_mesh()
[all …]
/external/pdfium/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_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/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/pdfium/third_party/freetype/include/freetype/
Dftimage.h341 short* contours; /* the contour end points */ member
/external/freetype/include/freetype/
Dftimage.h341 short* contours; /* the contour end points */ member
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c1672 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1719 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1747 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/freetype/src/psaux/
Dpsobjs.c1667 outline->contours[outline->n_contours - 1] = in t1_builder_add_contour()
1714 ? 0 : outline->contours[outline->n_contours - 2] + 1; in t1_builder_close_contour()
1742 outline->contours[outline->n_contours - 1] = in t1_builder_close_contour()
/external/pdfium/third_party/freetype/include/freetype/internal/
Dtttypes.h1450 FT_UShort* contours; /* contour end points */ member
/external/freetype/include/freetype/internal/
Dtttypes.h1599 FT_UShort* contours; /* contour end points */ member
/external/freetype/src/smooth/
Dftgrays.c1410 last = outline->contours[n]; in FT_Outline_Decompose()
1856 if ( !outline->contours || !outline->points ) in gray_raster_render()
1860 outline->contours[outline->n_contours - 1] + 1 ) in gray_raster_render()
/external/pdfium/third_party/freetype/src/raster/
Dftraster.c1974 (UShort)ras.outline.contours[i], in Convert_Glyph()
1978 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
3154 if ( !outline->contours || !outline->points ) in ft_black_render()
3158 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()
/external/freetype/src/raster/
Dftraster.c1984 (UShort)ras.outline.contours[i], in Convert_Glyph()
1988 start = (UShort)ras.outline.contours[i] + 1; in Convert_Glyph()
3164 if ( !outline->contours || !outline->points ) in ft_black_render()
3168 outline->contours[outline->n_contours - 1] + 1 ) in ft_black_render()

12