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 = (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.c324 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New_Internal()
361 FT_Int n_points = outline->n_points; in FT_Outline_Check() local
368 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
372 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
381 if ( end <= end0 || end >= n_points ) in FT_Outline_Check()
387 if ( end != n_points - 1 ) in FT_Outline_Check()
411 if ( source->n_points != target->n_points || in FT_Outline_Copy()
418 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_Outline_Copy()
420 FT_ARRAY_COPY( target->tags, source->tags, source->n_points ); in FT_Outline_Copy()
483 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/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.c324 anoutline->n_points = (FT_Short)numPoints; in FT_Outline_New_Internal()
361 FT_Int n_points = outline->n_points; in FT_Outline_Check() local
368 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
372 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
381 if ( end <= end0 || end >= n_points ) in FT_Outline_Check()
387 if ( end != n_points - 1 ) in FT_Outline_Check()
411 if ( source->n_points != target->n_points || in FT_Outline_Copy()
418 if ( source->n_points ) in FT_Outline_Copy()
420 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_Outline_Copy()
421 FT_ARRAY_COPY( target->tags, source->tags, source->n_points ); in FT_Outline_Copy()
[all …]
Dftbbox.c459 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
473 for ( n = 0; n < outline->n_points; n++ ) in FT_EXPORT_DEF()
Dftglyph.c179 (FT_UInt)source->n_points, in FT_DEFINE_GLYPH()
213 (FT_UInt)source->outline.n_points, in ft_outline_glyph_copy()
/external/pdfium/third_party/freetype/src/truetype/
Dttgload.c333 FT_Int n_points; in TT_Load_Simple_Glyph() local
376 n_points = 0; in TT_Load_Simple_Glyph()
379 n_points = cont[-1] + 1; in TT_Load_Simple_Glyph()
380 if ( n_points < 0 ) in TT_Load_Simple_Glyph()
385 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); in TT_Load_Simple_Glyph()
440 flag_limit = flag + n_points; in TT_Load_Simple_Glyph()
467 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
506 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
539 outline->n_points = (FT_Short)n_points; in TT_Load_Simple_Glyph()
707 zone->n_points = (FT_UShort)load->outline.n_points - in tt_prepare_zone()
[all …]
Dttinterp.c468 exec->pts.n_points = 0; in TT_Load_Context()
4230 if ( BOUNDS( aIdx1, exc->zp2.n_points ) || in Ins_SxVTL()
4231 BOUNDS( aIdx2, exc->zp1.n_points ) ) in Ins_SxVTL()
4788 if ( BOUNDSL( L, exc->zp2.n_points ) ) in Ins_GC()
4826 if ( BOUNDS( L, exc->zp2.n_points ) ) in Ins_SCFS()
4870 if ( BOUNDS( L, exc->zp0.n_points ) || in Ins_MD()
4871 BOUNDS( K, exc->zp1.n_points ) ) in Ins_MD()
4950 if ( BOUNDS( p2, exc->zp1.n_points ) || in Ins_SDPVTL()
4951 BOUNDS( p1, exc->zp2.n_points ) ) in Ins_SDPVTL()
5285 if ( BOUNDS( point, exc->pts.n_points ) ) in Ins_FLIPPT()
[all …]
Dttgxvar.c1765 FT_UInt n_points ) in TT_Vary_Apply_Glyph_Deltas() argument
1802 if ( FT_NEW_ARRAY( points_org, n_points ) || in TT_Vary_Apply_Glyph_Deltas()
1803 FT_NEW_ARRAY( has_delta, n_points ) ) in TT_Vary_Apply_Glyph_Deltas()
1903 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
1906 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
1922 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
1962 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
1973 if ( idx >= n_points ) in TT_Vary_Apply_Glyph_Deltas()
1991 for ( j = 0; j < n_points; j++) in TT_Vary_Apply_Glyph_Deltas()
Dttgxvar.h168 FT_UInt n_points );
/external/freetype/src/truetype/
Dttgload.c334 FT_Int n_points; in TT_Load_Simple_Glyph() local
377 n_points = 0; in TT_Load_Simple_Glyph()
380 n_points = cont[-1] + 1; in TT_Load_Simple_Glyph()
381 if ( n_points < 0 ) in TT_Load_Simple_Glyph()
386 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); in TT_Load_Simple_Glyph()
442 flag_limit = flag + n_points; in TT_Load_Simple_Glyph()
469 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
508 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
541 outline->n_points = (FT_Short)n_points; in TT_Load_Simple_Glyph()
710 zone->n_points = (FT_UShort)load->outline.n_points - in tt_prepare_zone()
[all …]
Dttinterp.c453 exec->pts.n_points = 0; in TT_Load_Context()
4189 if ( BOUNDS( aIdx1, exc->zp2.n_points ) || in Ins_SxVTL()
4190 BOUNDS( aIdx2, exc->zp1.n_points ) ) in Ins_SxVTL()
4712 if ( BOUNDSL( L, exc->zp2.n_points ) ) in Ins_GC()
4750 if ( BOUNDS( L, exc->zp2.n_points ) ) in Ins_SCFS()
4794 if ( BOUNDS( L, exc->zp0.n_points ) || in Ins_MD()
4795 BOUNDS( K, exc->zp1.n_points ) ) in Ins_MD()
4874 if ( BOUNDS( p2, exc->zp1.n_points ) || in Ins_SDPVTL()
4875 BOUNDS( p1, exc->zp2.n_points ) ) in Ins_SDPVTL()
5228 if ( BOUNDS( point, exc->pts.n_points ) ) in Ins_FLIPPT()
[all …]
Dttgxvar.c3030 FT_UInt n_points ) in TT_Vary_Apply_Glyph_Deltas() argument
3068 if ( FT_NEW_ARRAY( points_org, n_points ) || in TT_Vary_Apply_Glyph_Deltas()
3069 FT_NEW_ARRAY( points_out, n_points ) || in TT_Vary_Apply_Glyph_Deltas()
3070 FT_NEW_ARRAY( has_delta, n_points ) ) in TT_Vary_Apply_Glyph_Deltas()
3121 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
3195 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
3199 point_count == 0 ? n_points in TT_Vary_Apply_Glyph_Deltas()
3215 for ( j = 0; j < n_points; j++ ) in TT_Vary_Apply_Glyph_Deltas()
3221 if ( j < n_points - 3 ) in TT_Vary_Apply_Glyph_Deltas()
3231 if ( j == ( n_points - 3 ) && in TT_Vary_Apply_Glyph_Deltas()
[all …]
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftgloadr.h120 FT_UInt n_points,
126 ( (FT_UInt)(_loader)->base.outline.n_points + \
127 (FT_UInt)(_loader)->current.outline.n_points + \
/external/freetype/include/freetype/internal/
Dftgloadr.h102 FT_UInt n_points,
108 ( (FT_UInt)(_loader)->base.outline.n_points + \
109 (FT_UInt)(_loader)->current.outline.n_points + \
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c1618 FT_Vector* point = outline->points + outline->n_points; in t1_builder_add_point()
1619 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in t1_builder_add_point()
1626 outline->n_points++; in t1_builder_add_point()
1673 (short)( outline->n_points - 1 ); in t1_builder_add_contour()
1723 if ( outline->n_points > 1 ) in t1_builder_close_contour()
1726 FT_Vector* p2 = outline->points + outline->n_points - 1; in t1_builder_close_contour()
1727 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in t1_builder_close_contour()
1734 outline->n_points--; in t1_builder_close_contour()
1741 if ( first == outline->n_points - 1 ) in t1_builder_close_contour()
1744 outline->n_points--; in t1_builder_close_contour()
[all …]
/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/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/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/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()
413 for ( n = cur->n_points; n > 0; n--, vec++ ) in cid_slot_load_glyph()
/external/pdfium/third_party/freetype/src/type1/
Dt1gload.c321 t1glyph->outline.n_points = 0; in T1_Load_Glyph()
463 for ( n = cur->n_points; n > 0; n--, vec++ ) in T1_Load_Glyph()

12