Home
last modified time | relevance | path

Searched refs:n_points (Results 1 – 25 of 49) sorted by relevance

12

/external/pdfium/third_party/freetype/src/base/
Dftgloadr.c94 base->outline.n_points = 0; in FT_GlyphLoader_Rewind()
149 current->points = base->points + base->n_points; in FT_GlyphLoader_Adjust_Points()
150 current->tags = base->tags + base->n_points; in FT_GlyphLoader_Adjust_Points()
157 base->n_points; in FT_GlyphLoader_Adjust_Points()
160 base->n_points; in FT_GlyphLoader_Adjust_Points()
202 FT_UInt n_points, in FT_GlyphLoader_CheckPoints() argument
215 new_max = base->n_points + current->n_points + n_points; in FT_GlyphLoader_CheckPoints()
316 current->outline.n_points = 0; in FT_GlyphLoader_Prepare()
344 n_base_points = base->outline.n_points; in FT_GlyphLoader_Add()
346 base->outline.n_points = in FT_GlyphLoader_Add()
[all …]
Dftoutln.c323 anoutline->n_points = (FT_UShort)numPoints; in FT_Outline_New_Internal()
360 FT_Int n_points = outline->n_points; in FT_Outline_Check() local
367 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
371 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
380 if ( end <= end0 || end >= n_points ) in FT_Outline_Check()
386 if ( end != n_points - 1 ) in FT_Outline_Check()
410 if ( source->n_points != target->n_points || in FT_Outline_Copy()
417 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_Outline_Copy()
419 FT_ARRAY_COPY( target->tags, source->tags, source->n_points ); in FT_Outline_Copy()
482 if ( outline->n_points == 0 ) in FT_Outline_Get_CBox()
[all …]
Dftbbox.c449 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
462 for ( n = 0; n < outline->n_points; n++ ) in FT_EXPORT_DEF()
/external/freetype/src/base/
Dftgloadr.c94 base->outline.n_points = 0; in FT_GlyphLoader_Rewind()
149 current->points = base->points + base->n_points; in FT_GlyphLoader_Adjust_Points()
150 current->tags = base->tags + base->n_points; in FT_GlyphLoader_Adjust_Points()
157 base->n_points; in FT_GlyphLoader_Adjust_Points()
160 base->n_points; in FT_GlyphLoader_Adjust_Points()
202 FT_UInt n_points, in FT_GlyphLoader_CheckPoints() argument
215 new_max = (FT_UInt)base->n_points + (FT_UInt)current->n_points + in FT_GlyphLoader_CheckPoints()
216 n_points; in FT_GlyphLoader_CheckPoints()
317 current->outline.n_points = 0; in FT_GlyphLoader_Prepare()
345 n_base_points = base->outline.n_points; in FT_GlyphLoader_Add()
[all …]
Dftoutln.c323 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New_Internal()
360 FT_Int n_points = outline->n_points; in FT_Outline_Check() local
367 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
371 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
380 if ( end <= end0 || end >= n_points ) in FT_Outline_Check()
386 if ( end != n_points - 1 ) in FT_Outline_Check()
410 if ( source->n_points != target->n_points || in FT_Outline_Copy()
417 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_Outline_Copy()
419 FT_ARRAY_COPY( target->tags, source->tags, source->n_points ); in FT_Outline_Copy()
482 if ( outline->n_points == 0 ) in FT_Outline_Get_CBox()
[all …]
Dftbbox.c456 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
469 for ( n = 0; n < outline->n_points; n++ ) in FT_EXPORT_DEF()
Dftglyph.c177 (FT_UInt)source->n_points, in FT_CALLBACK_DEF()
211 (FT_UInt)source->outline.n_points, in ft_outline_glyph_copy()
/external/freetype/src/truetype/
Dttgload.c356 FT_Int n_points; in TT_Load_Simple_Glyph() local
399 n_points = 0; in TT_Load_Simple_Glyph()
402 n_points = cont[-1] + 1; in TT_Load_Simple_Glyph()
403 if ( n_points < 0 ) in TT_Load_Simple_Glyph()
408 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); in TT_Load_Simple_Glyph()
463 flag_limit = flag + n_points; in TT_Load_Simple_Glyph()
490 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
529 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
562 outline->n_points = (FT_Short)n_points; in TT_Load_Simple_Glyph()
730 zone->n_points = (FT_UShort)load->outline.n_points - in tt_prepare_zone()
[all …]
Dttinterp.c475 exec->pts.n_points = 0; in TT_Load_Context()
4240 if ( BOUNDS( aIdx1, exc->zp2.n_points ) || in Ins_SxVTL()
4241 BOUNDS( aIdx2, exc->zp1.n_points ) ) in Ins_SxVTL()
4798 if ( BOUNDSL( L, exc->zp2.n_points ) ) in Ins_GC()
4836 if ( BOUNDS( L, exc->zp2.n_points ) ) in Ins_SCFS()
4880 if ( BOUNDS( L, exc->zp0.n_points ) || in Ins_MD()
4881 BOUNDS( K, exc->zp1.n_points ) ) in Ins_MD()
4960 if ( BOUNDS( p2, exc->zp1.n_points ) || in Ins_SDPVTL()
4961 BOUNDS( p1, exc->zp2.n_points ) ) in Ins_SDPVTL()
5295 if ( BOUNDS( point, exc->pts.n_points ) ) in Ins_FLIPPT()
[all …]
Dttgxvar.c1764 FT_UInt n_points ) in TT_Vary_Apply_Glyph_Deltas() argument
1801 if ( FT_NEW_ARRAY( points_org, n_points ) || in TT_Vary_Apply_Glyph_Deltas()
1802 FT_NEW_ARRAY( has_delta, n_points ) ) in TT_Vary_Apply_Glyph_Deltas()
1902 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
1905 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
1921 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
1961 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
1972 if ( idx >= n_points ) in TT_Vary_Apply_Glyph_Deltas()
1990 for ( j = 0; j < n_points; j++) in TT_Vary_Apply_Glyph_Deltas()
Dttgxvar.h168 FT_UInt n_points );
/external/pdfium/third_party/freetype/src/truetype/
Dttgload.c352 FT_Int n_points; in TT_Load_Simple_Glyph() local
395 n_points = 0; in TT_Load_Simple_Glyph()
398 n_points = cont[-1] + 1; in TT_Load_Simple_Glyph()
399 if ( n_points < 0 ) in TT_Load_Simple_Glyph()
404 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); in TT_Load_Simple_Glyph()
459 flag_limit = flag + n_points; in TT_Load_Simple_Glyph()
486 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
525 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
558 outline->n_points = (FT_UShort)n_points; in TT_Load_Simple_Glyph()
710 zone->n_points = (FT_UShort)( load->outline.n_points - start_point ); in tt_prepare_zone()
[all …]
Dttinterp.c614 exec->pts.n_points = 0; in TT_Load_Context()
2756 if ( BOUNDS( aIdx1, CUR.zp2.n_points ) || in Ins_SxVTL()
2757 BOUNDS( aIdx2, CUR.zp1.n_points ) ) in Ins_SxVTL()
5280 if ( BOUNDSL( L, CUR.zp2.n_points ) ) in Ins_GC()
5317 if ( BOUNDS( L, CUR.zp2.n_points ) ) in Ins_SCFS()
5360 if ( BOUNDS( L, CUR.zp0.n_points ) || in Ins_MD()
5361 BOUNDS( K, CUR.zp1.n_points ) ) in Ins_MD()
5437 if ( BOUNDS( p2, CUR.zp1.n_points ) || in Ins_SDPVTL()
5438 BOUNDS( p1, CUR.zp2.n_points ) ) in Ins_SDPVTL()
5751 if ( BOUNDS( point, CUR.pts.n_points ) ) in Ins_FLIPPT()
[all …]
Dttgxvar.c1304 FT_UInt n_points ) in TT_Vary_Get_Glyph_Deltas() argument
1331 if ( FT_NEW_ARRAY( delta_xy, n_points ) ) in TT_Vary_Get_Glyph_Deltas()
1435 point_count == 0 ? n_points in TT_Vary_Get_Glyph_Deltas()
1438 point_count == 0 ? n_points in TT_Vary_Get_Glyph_Deltas()
1447 for ( j = 0; j < n_points; ++j ) in TT_Vary_Get_Glyph_Deltas()
1458 if ( localpoints[j] >= n_points ) in TT_Vary_Get_Glyph_Deltas()
Dttgxvar.h168 FT_UInt n_points );
/external/freetype/include/internal/
Dftgloadr.h120 FT_UInt n_points,
126 ( (FT_UInt)(_loader)->base.outline.n_points + \
127 (FT_UInt)(_loader)->current.outline.n_points + \
/external/pdfium/third_party/freetype/include/internal/
Dftgloadr.h120 FT_UInt n_points,
126 ( (_loader)->base.outline.n_points + \
127 (_loader)->current.outline.n_points + \
/external/freetype/src/psaux/
Dpsobjs.c1613 FT_Vector* point = outline->points + outline->n_points; in t1_builder_add_point()
1614 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in t1_builder_add_point()
1621 outline->n_points++; in t1_builder_add_point()
1668 (short)( outline->n_points - 1 ); in t1_builder_add_contour()
1718 if ( outline->n_points > 1 ) in t1_builder_close_contour()
1721 FT_Vector* p2 = outline->points + outline->n_points - 1; in t1_builder_close_contour()
1722 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in t1_builder_close_contour()
1729 outline->n_points--; in t1_builder_close_contour()
1736 if ( first == outline->n_points - 1 ) in t1_builder_close_contour()
1739 outline->n_points--; in t1_builder_close_contour()
[all …]
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c1619 FT_Vector* point = outline->points + outline->n_points; in t1_builder_add_point()
1620 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in t1_builder_add_point()
1627 outline->n_points++; in t1_builder_add_point()
1674 (short)( outline->n_points - 1 ); in t1_builder_add_contour()
1724 if ( outline->n_points > 1 ) in t1_builder_close_contour()
1727 FT_Vector* p2 = outline->points + outline->n_points - 1; in t1_builder_close_contour()
1728 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in t1_builder_close_contour()
1735 outline->n_points--; in t1_builder_close_contour()
1742 if ( first == outline->n_points - 1 ) in t1_builder_close_contour()
1745 outline->n_points--; in t1_builder_close_contour()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffgload.c488 FT_Vector* point = outline->points + outline->n_points; in cff_builder_add_point()
489 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in cff_builder_add_point()
510 outline->n_points++; in cff_builder_add_point()
550 (short)( outline->n_points - 1 ); in cff_builder_add_contour()
597 if ( outline->n_points > 1 ) in cff_builder_close_contour()
600 FT_Vector* p2 = outline->points + outline->n_points - 1; in cff_builder_close_contour()
601 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in cff_builder_close_contour()
608 outline->n_points--; in cff_builder_close_contour()
615 if ( first == outline->n_points - 1 ) in cff_builder_close_contour()
618 outline->n_points--; in cff_builder_close_contour()
[all …]
/external/freetype/src/cff/
Dcffgload.c488 FT_Vector* point = outline->points + outline->n_points; in cff_builder_add_point()
489 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in cff_builder_add_point()
510 outline->n_points++; in cff_builder_add_point()
550 (short)( outline->n_points - 1 ); in cff_builder_add_contour()
597 if ( outline->n_points > 1 ) in cff_builder_close_contour()
600 FT_Vector* p2 = outline->points + outline->n_points - 1; in cff_builder_close_contour()
601 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in cff_builder_close_contour()
608 outline->n_points--; in cff_builder_close_contour()
615 if ( first == outline->n_points - 1 ) in cff_builder_close_contour()
618 outline->n_points--; in cff_builder_close_contour()
[all …]
/external/freetype/src/autofit/
Dafloader.c138 if ( slot->outline.n_points == 0 ) in af_loader_load_g()
314 slot->outline.n_points = internal->loader->base.outline.n_points; in af_loader_load_g()
/external/freetype/src/smooth/
Dftsmooth.c267 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
286 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
/external/pdfium/third_party/freetype/src/smooth/
Dftsmooth.c267 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
286 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
/external/pdfium/third_party/freetype/src/cid/
Dcidgload.c297 cidglyph->outline.n_points = 0; in cid_slot_load_glyph()
409 for ( n = cur->n_points; n > 0; n--, vec++ ) in cid_slot_load_glyph()

12