Home
last modified time | relevance | path

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

12

/external/freetype/src/base/
Dftgloadr.c93 base->outline.n_points = 0; in FT_GlyphLoader_Rewind()
148 current->points = base->points + base->n_points; in FT_GlyphLoader_Adjust_Points()
149 current->tags = base->tags + base->n_points; in FT_GlyphLoader_Adjust_Points()
156 base->n_points; in FT_GlyphLoader_Adjust_Points()
159 base->n_points; in FT_GlyphLoader_Adjust_Points()
201 FT_UInt n_points, in FT_GlyphLoader_CheckPoints() argument
214 new_max = base->n_points + current->n_points + n_points; in FT_GlyphLoader_CheckPoints()
312 current->outline.n_points = 0; in FT_GlyphLoader_Prepare()
340 n_base_points = base->outline.n_points; in FT_GlyphLoader_Add()
342 base->outline.n_points = in FT_GlyphLoader_Add()
[all …]
Dftoutln.c312 anoutline->n_points = (FT_UShort)numPoints; in FT_Outline_New_Internal()
349 FT_Int n_points = outline->n_points; in FT_Outline_Check() local
356 if ( n_points == 0 && n_contours == 0 ) in FT_Outline_Check()
360 if ( n_points <= 0 || n_contours <= 0 ) in FT_Outline_Check()
369 if ( end <= end0 || end >= n_points ) in FT_Outline_Check()
375 if ( end != n_points - 1 ) in FT_Outline_Check()
397 source->n_points != target->n_points || in FT_Outline_Copy()
404 FT_ARRAY_COPY( target->points, source->points, source->n_points ); in FT_Outline_Copy()
406 FT_ARRAY_COPY( target->tags, source->tags, source->n_points ); in FT_Outline_Copy()
468 if ( outline->n_points == 0 ) in FT_Outline_Get_CBox()
[all …]
Dftbbox.c590 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in FT_EXPORT_DEF()
606 for ( n = 1; n < outline->n_points; n++ ) in FT_EXPORT_DEF()
Dftglyph.c174 error = FT_Outline_New( library, source->n_points, source->n_contours, in FT_CALLBACK_DEF()
206 error = FT_Outline_New( library, source->outline.n_points, in ft_outline_glyph_copy()
Dftstroke.c705 FT_ARRAY_COPY( outline->points + outline->n_points, in ft_stroke_border_export()
713 FT_Byte* write = (FT_Byte*)outline->tags + outline->n_points; in ft_stroke_border_export()
732 FT_Short idx = (FT_Short)outline->n_points; in ft_stroke_border_export()
745 outline->n_points = (short)( outline->n_points + border->num_points ); in ft_stroke_border_export()
2306 outline->n_points = 0; in FT_Glyph_Stroke()
2395 outline->n_points = 0; in FT_Glyph_StrokeBorder()
/external/freetype/src/truetype/
Dttgload.c342 FT_Int n_points; in TT_Load_Simple_Glyph() local
382 n_points = 0; in TT_Load_Simple_Glyph()
385 n_points = cont[-1] + 1; in TT_Load_Simple_Glyph()
386 if ( n_points < 0 ) in TT_Load_Simple_Glyph()
391 error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 ); in TT_Load_Simple_Glyph()
444 flag_limit = flag + n_points; in TT_Load_Simple_Glyph()
471 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
510 vec_limit = vec + n_points; in TT_Load_Simple_Glyph()
543 outline->n_points = (FT_UShort)n_points; in TT_Load_Simple_Glyph()
695 zone->n_points = (FT_UShort)( load->outline.n_points - start_point ); in tt_prepare_zone()
[all …]
Dttinterp.c631 exec->pts.n_points = 0; in TT_Load_Context()
2834 if ( BOUNDS( aIdx1, CUR.zp2.n_points ) || in Ins_SxVTL()
2835 BOUNDS( aIdx2, CUR.zp1.n_points ) ) in Ins_SxVTL()
5065 if ( BOUNDSL( L, CUR.zp2.n_points ) ) in Ins_GC()
5102 if ( BOUNDS( L, CUR.zp2.n_points ) ) in Ins_SCFS()
5145 if ( BOUNDS( L, CUR.zp0.n_points ) || in Ins_MD()
5146 BOUNDS( K, CUR.zp1.n_points ) ) in Ins_MD()
5202 if ( BOUNDS( p2, CUR.zp1.n_points ) || in Ins_SDPVTL()
5203 BOUNDS( p1, CUR.zp2.n_points ) ) in Ins_SDPVTL()
5510 if ( BOUNDS( point, CUR.pts.n_points ) ) in Ins_FLIPPT()
[all …]
Dttgxvar.h168 FT_UInt n_points );
Dttgxvar.c1323 FT_UInt n_points ) in TT_Vary_Get_Glyph_Deltas() argument
1350 if ( FT_NEW_ARRAY( delta_xy, n_points ) ) in TT_Vary_Get_Glyph_Deltas()
1454 point_count == 0 ? n_points in TT_Vary_Get_Glyph_Deltas()
1457 point_count == 0 ? n_points in TT_Vary_Get_Glyph_Deltas()
1466 for ( j = 0; j < n_points; ++j ) in TT_Vary_Get_Glyph_Deltas()
Dttobjs.c86 zone->max_points = zone->n_points = 0; in tt_glyphzone_done()
969 size->twilight.n_points = n_twilight; in tt_size_init_bytecode()
1022 for ( i = 0; i < (FT_UInt)size->twilight.n_points; i++ ) in tt_size_ready_bytecode()
/external/harfbuzz/contrib/
Dharfbuzz-freetype.c69 hb_uint32 *n_points) { in hb_freetype_outline_point_get() argument
81 *n_points = face->glyph->outline.n_points; in hb_freetype_outline_point_get()
82 if (!(*n_points)) in hb_freetype_outline_point_get()
85 if (point > *n_points) in hb_freetype_outline_point_get()
/external/freetype/src/autofit/
Dafloader.c143 slot->outline.n_points + 4, in af_loader_load_g()
150 slot->outline.n_points ); in af_loader_load_g()
158 slot->outline.n_points ); in af_loader_load_g()
160 gloader->current.outline.n_points = slot->outline.n_points; in af_loader_load_g()
172 if ( slot->outline.n_points == 0 ) in af_loader_load_g()
264 start_point = gloader->base.outline.n_points; in af_loader_load_g()
294 num_base_points = gloader->base.outline.n_points; in af_loader_load_g()
315 num_points = gloader->base.outline.n_points; in af_loader_load_g()
374 dummy.n_points = (short)num_new_points; in af_loader_load_g()
Dafhints.c610 new_max = (FT_UInt)( outline->n_points + 2 ); in af_glyph_hints_reload()
622 hints->num_points = outline->n_points; in af_glyph_hints_reload()
Daflatin.c81 if ( error || face->glyph->outline.n_points <= 0 ) in af_latin_metrics_init_widths()
238 if ( error || glyph->outline.n_points <= 0 ) in af_latin_metrics_init_blues()
/external/freetype/include/freetype/internal/
Dftgloadr.h120 FT_UInt n_points,
125 ( (_count) == 0 || ((_loader)->base.outline.n_points + \
126 (_loader)->current.outline.n_points + \
Dtttypes.h1470 FT_UShort n_points; /* number of points in zone */ member
/external/freetype/src/psaux/
Dpsobjs.c1554 FT_Vector* point = outline->points + outline->n_points; in t1_builder_add_point()
1555 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in t1_builder_add_point()
1562 outline->n_points++; in t1_builder_add_point()
1609 (short)( outline->n_points - 1 ); in t1_builder_add_contour()
1659 if ( outline->n_points > 1 ) in t1_builder_close_contour()
1662 FT_Vector* p2 = outline->points + outline->n_points - 1; in t1_builder_close_contour()
1663 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in t1_builder_close_contour()
1670 outline->n_points--; in t1_builder_close_contour()
1677 if ( first == outline->n_points - 1 ) in t1_builder_close_contour()
1680 outline->n_points--; in t1_builder_close_contour()
[all …]
Dt1decode.c786 hinter->reset( hinter->hints, builder->current->n_points ); in t1_decoder_parse_charstrings()
1084 if ( hinter->close( hinter->hints, builder->current->n_points ) ) in t1_decoder_parse_charstrings()
/external/freetype/src/cff/
Dcffgload.c484 FT_Vector* point = outline->points + outline->n_points; in cff_builder_add_point()
485 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points; in cff_builder_add_point()
493 outline->n_points++; in cff_builder_add_point()
533 (short)( outline->n_points - 1 ); in cff_builder_add_contour()
580 if ( outline->n_points > 1 ) in cff_builder_close_contour()
583 FT_Vector* p2 = outline->points + outline->n_points - 1; in cff_builder_close_contour()
584 FT_Byte* control = (FT_Byte*)outline->tags + outline->n_points - 1; in cff_builder_close_contour()
591 outline->n_points--; in cff_builder_close_contour()
598 if ( first == outline->n_points - 1 ) in cff_builder_close_contour()
601 outline->n_points--; in cff_builder_close_contour()
[all …]
/external/freetype/src/smooth/
Dftsmooth.c259 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
278 FT_Vector* points_end = points + outline->n_points; in ft_smooth_render_generic()
Dftgrays.c418 FT_Vector* limit = vec + outline->n_points; in gray_compute_cbox()
421 if ( outline->n_points <= 0 ) in gray_compute_cbox()
1870 if ( outline->n_points == 0 || outline->n_contours <= 0 ) in gray_raster_render()
1876 if ( outline->n_points != in gray_raster_render()
/external/icu4c/samples/layout/
DGnomeFontInstance.cpp168 if (pointNumber >= fFace->glyph->outline.n_points) { in getGlyphPoint()
/external/freetype/include/freetype/
Dftimage.h386 short n_points; /* number of points in the glyph */ member
/external/freetype/src/pshinter/
Dpshalgo.c1274 if ( FT_NEW_ARRAY( glyph->points, outline->n_points ) || in psh_glyph_init()
1278 glyph->num_points = outline->n_points; in psh_glyph_init()
2196 if ( outline->n_points == 0 || outline->n_contours == 0 ) in ps_hints_apply()
/external/harfbuzz/tests/shaping/
Dmain.cpp126 *nPoints = face->glyph->outline.n_points; in hb_getPointInOutline()

12