Home
last modified time | relevance | path

Searched refs:FT_Pos (Results 1 – 25 of 45) sorted by relevance

12

/external/freetype/src/base/
Dftbbox.c103 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check()
104 FT_Pos y2, in BBox_Conic_Check()
105 FT_Pos y3, in BBox_Conic_Check()
106 FT_Pos* min, in BBox_Conic_Check()
107 FT_Pos* max ) in BBox_Conic_Check()
218 BBox_Cubic_Check( FT_Pos p1,
219 FT_Pos p2,
220 FT_Pos p3,
221 FT_Pos p4,
222 FT_Pos* min,
[all …]
Dftoutln.c72 FT_Pos delta; in FT_Outline_Decompose()
463 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox()
487 FT_Pos x, y; in FT_Outline_Get_CBox()
511 FT_Pos xOffset, in FT_Outline_Translate()
512 FT_Pos yOffset ) in FT_Outline_Translate()
675 FT_Pos xz, yz; in FT_Vector_Transform()
745 FT_Pos x;
826 FT_Pos xmin;
883 FT_Pos strength ) in FT_Outline_Embolden()
929 FT_Pos d; in FT_Outline_Embolden()
[all …]
Dftcalc.c725 FT_Pos delta, xx, yy; in FT_Matrix_Invert()
783 FT_Pos xz, yz; in FT_Vector_Transform_Scaled()
840 ft_corner_orientation( FT_Pos in_x, in ft_corner_orientation()
841 FT_Pos in_y, in ft_corner_orientation()
842 FT_Pos out_x, in ft_corner_orientation()
843 FT_Pos out_y ) in ft_corner_orientation()
920 ft_corner_is_flat( FT_Pos in_x, in ft_corner_is_flat()
921 FT_Pos in_y, in ft_corner_is_flat()
922 FT_Pos out_x, in ft_corner_is_flat()
923 FT_Pos out_y ) in ft_corner_is_flat()
[all …]
/external/freetype/src/autofit/
Dafangles.c26 af_corner_is_flat( FT_Pos x_in,
27 FT_Pos y_in,
28 FT_Pos x_out,
29 FT_Pos y_out )
31 FT_Pos ax = x_in;
32 FT_Pos ay = y_in;
34 FT_Pos d_in, d_out, d_corner;
64 af_corner_orientation( FT_Pos x_in,
65 FT_Pos y_in,
66 FT_Pos x_out,
[all …]
Dafhints.h111 FT_Pos ox, oy; /* original, scaled position */
113 FT_Pos x, y; /* current position */
114 FT_Pos u, v; /* current (x,y) or (y,x) depending on context */
136 FT_Pos num_linked; /* number of linked segments */
137 FT_Pos score; /* used during stem matching */
138 FT_Pos len; /* used during stem matching */
150 FT_Pos opos; /* original, scaled position */
151 FT_Pos pos; /* current position */
193 FT_Pos x_delta;
196 FT_Pos y_delta;
[all …]
Daflatin.c110 FT_Pos dist; in af_latin_metrics_init_widths()
130 FT_Pos stdw; in af_latin_metrics_init_widths()
168 FT_Pos flats [AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin_metrics_init_blues()
169 FT_Pos rounds[AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin_metrics_init_blues()
190 FT_Pos* blue_ref; in af_latin_metrics_init_blues()
191 FT_Pos* blue_shoot; in af_latin_metrics_init_blues()
202 FT_Pos best_y; /* same as points.y */ in af_latin_metrics_init_blues()
280 FT_Pos dist; in af_latin_metrics_init_blues()
373 FT_Pos ref = *blue_ref; in af_latin_metrics_init_blues()
374 FT_Pos shoot = *blue_shoot; in af_latin_metrics_init_blues()
[all …]
Daflatin2.c117 FT_Pos dist; in af_latin2_metrics_init_widths()
137 FT_Pos stdw; in af_latin2_metrics_init_widths()
174 FT_Pos flats [AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin2_metrics_init_blues()
175 FT_Pos rounds[AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin2_metrics_init_blues()
196 FT_Pos* blue_ref; in af_latin2_metrics_init_blues()
197 FT_Pos* blue_shoot; in af_latin2_metrics_init_blues()
284 FT_Pos dist; in af_latin2_metrics_init_blues()
378 FT_Pos ref = *blue_ref; in af_latin2_metrics_init_blues()
379 FT_Pos shoot = *blue_shoot; in af_latin2_metrics_init_blues()
499 FT_Pos delta; in af_latin2_metrics_scale_dim()
[all …]
Dafcjk.c169 FT_Pos len_threshold; in af_cjk_hints_link_segments()
170 FT_Pos dist_threshold; in af_cjk_hints_link_segments()
192 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
199 FT_Pos min = seg1->min_coord; in af_cjk_hints_link_segments()
200 FT_Pos max = seg1->max_coord; in af_cjk_hints_link_segments()
201 FT_Pos len; in af_cjk_hints_link_segments()
339 FT_Pos edge_distance_threshold; in af_cjk_hints_compute_edges()
373 FT_Pos best = 0xFFFFU; in af_cjk_hints_compute_edges()
381 FT_Pos dist; in af_cjk_hints_compute_edges()
402 FT_Pos dist2 = 0; in af_cjk_hints_compute_edges()
[all …]
Dafwarp.h36 FT_Pos x1, x2;
37 FT_Pos t1, t2;
38 FT_Pos x1min, x1max;
39 FT_Pos x2min, x2max;
40 FT_Pos w0, wmin, wmax;
43 FT_Pos best_delta;
Dafwarp.c49 FT_Pos delta, in af_warper_compute_line_best()
50 FT_Pos xx1, in af_warper_compute_line_best()
51 FT_Pos xx2, in af_warper_compute_line_best()
68 FT_Pos xx1min = warper->x1min; in af_warper_compute_line_best()
69 FT_Pos xx1max = warper->x1max; in af_warper_compute_line_best()
70 FT_Pos w = xx2 - xx1; in af_warper_compute_line_best()
97 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; in af_warper_compute_line_best()
98 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best()
99 FT_Pos y = y0 + ( idx_min - idx0 ); in af_warper_compute_line_best()
137 FT_Pos *a_delta ) in af_warper_compute()
[all …]
Daftypes.h88 FT_Pos org; /* original position/width in font units */
89 FT_Pos cur; /* current/scaled position/width in device sub-pixels */
90 FT_Pos fit; /* current/fitted position/width in device sub-pixels */
97 FT_Pos* table );
132 af_angle_atan( FT_Pos dx,
133 FT_Pos dy );
220 FT_Pos x_delta; /* in 1/64th device pixels */
221 FT_Pos y_delta; /* in 1/64th device pixels */
Dafhints.c334 af_direction_compute( FT_Pos dx, in af_direction_compute()
335 FT_Pos dy ) in af_direction_compute()
337 FT_Pos ll, ss; /* long and short arm lengths */ in af_direction_compute()
447 FT_Pos x_delta = hints->x_delta; in af_glyph_hints_reload()
448 FT_Pos y_delta = hints->y_delta; in af_glyph_hints_reload()
585 FT_Pos in_x = 0; in af_glyph_hints_reload()
586 FT_Pos in_y = 0; in af_glyph_hints_reload()
593 FT_Pos out_x, out_y; in af_glyph_hints_reload()
775 FT_Pos u, ou, fu; /* point position */ in af_glyph_hints_align_strong_points()
776 FT_Pos delta; in af_glyph_hints_align_strong_points()
[all …]
Daflatin.h99 FT_Pos delta;
103 FT_Pos edge_distance_threshold;
104 FT_Pos standard_width;
113 FT_Pos org_delta;
/external/freetype/src/cff/
Dcfftypes.h124 FT_Pos stroke_width;
157 FT_Pos blue_values[14];
158 FT_Pos other_blues[10];
159 FT_Pos family_blues[14];
160 FT_Pos family_other_blues[10];
163 FT_Pos blue_shift;
164 FT_Pos blue_fuzz;
165 FT_Pos standard_width;
166 FT_Pos standard_height;
170 FT_Pos snap_widths[13];
[all …]
Dcffgload.h90 FT_Pos pos_x;
91 FT_Pos pos_y;
135 FT_Pos glyph_width;
136 FT_Pos nominal_width;
/external/freetype/src/pshinter/
Dpshglob.h67 FT_Pos cur;
68 FT_Pos fit;
99 FT_Pos cur_ref;
100 FT_Pos cur_delta;
101 FT_Pos cur_bottom;
102 FT_Pos cur_top;
152 FT_Pos align_top;
153 FT_Pos align_bot;
165 FT_LOCAL( FT_Pos )
Dpshalgo.h58 FT_Pos cur_pos;
59 FT_Pos cur_len;
74 FT_Pos min;
75 FT_Pos max;
174 FT_Pos org_u;
175 FT_Pos org_v;
176 FT_Pos cur_u;
178 FT_Pos org_x;
179 FT_Pos cur_x;
180 FT_Pos org_y;
[all …]
Dpshalgo.c346 static FT_Pos
348 FT_Pos len, in psh_dimension_quantize_len()
355 FT_Pos delta = len - dim->stdw.widths[0].cur; in psh_dimension_quantize_len()
452 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align()
453 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align()
456 FT_Pos fit_len; in psh_hint_align()
514 FT_Pos par_org_center, par_cur_center; in psh_hint_align()
515 FT_Pos cur_org_center, cur_delta; in psh_hint_align()
579 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
580 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
[all …]
Dpshglob.c62 FT_Pos w, dist; in psh_globals_scale_widths()
84 FT_LOCAL_DEF( FT_Pos )
89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult );
90 FT_Pos best = 64 + 32 + 2;
91 FT_Pos reference = width;
96 FT_Pos w;
97 FT_Pos dist;
368 FT_Pos delta ) in psh_blues_scale_zones()
504 FT_Pos Delta; in psh_blues_scale_zones()
533 FT_Pos delta; in psh_blues_snap_stem()
/external/freetype/include/freetype/internal/
Dftcalc.h146 ft_corner_orientation( FT_Pos in_x,
147 FT_Pos in_y,
148 FT_Pos out_x,
149 FT_Pos out_y );
157 ft_corner_is_flat( FT_Pos in_x,
158 FT_Pos in_y,
159 FT_Pos out_x,
160 FT_Pos out_y );
Dpsaux.h455 FT_Pos x,
456 FT_Pos y,
461 FT_Pos x,
462 FT_Pos y );
469 FT_Pos x,
470 FT_Pos y );
568 FT_Pos pos_x;
569 FT_Pos pos_y;
/external/freetype/include/freetype/
Dfreetype.h241 FT_Pos width;
242 FT_Pos height;
244 FT_Pos horiBearingX;
245 FT_Pos horiBearingY;
246 FT_Pos horiAdvance;
248 FT_Pos vertBearingX;
249 FT_Pos vertBearingY;
250 FT_Pos vertAdvance;
298 FT_Pos size;
300 FT_Pos x_ppem;
[all …]
Dftimage.h59 typedef signed long FT_Pos; typedef
77 FT_Pos x;
78 FT_Pos y;
118 FT_Pos xMin, yMin;
119 FT_Pos xMax, yMax;
687 FT_Pos delta;
/external/freetype/src/psaux/
Dpsobjs.h170 FT_Pos x,
171 FT_Pos y,
176 FT_Pos x,
177 FT_Pos y );
185 FT_Pos x,
186 FT_Pos y );
/external/freetype/src/truetype/
Dttgload.c256 FT_Pos delta_x, in translate_array()
257 FT_Pos delta_y ) in translate_array()
364 FT_Pos x; in TT_Load_Simple_Glyph()
497 FT_Pos y = 0; in TT_Load_Simple_Glyph()
506 y = (FT_Pos)FT_NEXT_BYTE( p ); in TT_Load_Simple_Glyph()
515 y = (FT_Pos)FT_NEXT_SHORT( p ); in TT_Load_Simple_Glyph()
533 FT_Pos y = 0; in TT_Load_Simple_Glyph()
542 y = (FT_Pos)FT_NEXT_BYTE( p ); in TT_Load_Simple_Glyph()
551 y = (FT_Pos)FT_NEXT_SHORT( p ); in TT_Load_Simple_Glyph()
738 FT_Pos origin; in TT_Hint_Glyph()
[all …]

12