Home
last modified time | relevance | path

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

1234

/external/freetype/src/psaux/
Dpsobjs.h171 FT_Pos x,
172 FT_Pos y,
177 FT_Pos x,
178 FT_Pos y );
186 FT_Pos x,
187 FT_Pos y );
218 FT_Pos x,
219 FT_Pos y,
223 FT_Pos x,
224 FT_Pos y );
[all …]
/external/freetype/src/base/
Dftbbox.c158 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check()
159 FT_Pos y2, in BBox_Conic_Check()
160 FT_Pos y3, in BBox_Conic_Check()
161 FT_Pos* min, in BBox_Conic_Check()
162 FT_Pos* max ) in BBox_Conic_Check()
267 static FT_Pos
268 cubic_peak( FT_Pos q1, in cubic_peak()
269 FT_Pos q2, in cubic_peak()
270 FT_Pos q3, in cubic_peak()
271 FT_Pos q4 ) in cubic_peak()
[all …]
Dftcalc.c691 FT_Pos delta, xx, yy; in FT_Matrix_Invert()
821 FT_Pos xz, yz; in FT_Vector_Transform_Scaled()
919 vector->x = sx < 0 ? -(FT_Pos)u : (FT_Pos)u; in FT_Vector_NormLen()
920 vector->y = sy < 0 ? -(FT_Pos)v : (FT_Pos)v; in FT_Vector_NormLen()
977 ft_corner_orientation( FT_Pos in_x, in ft_corner_orientation()
978 FT_Pos in_y, in ft_corner_orientation()
979 FT_Pos out_x, in ft_corner_orientation()
980 FT_Pos out_y ) in ft_corner_orientation()
1041 ft_corner_is_flat( FT_Pos in_x, in ft_corner_is_flat()
1042 FT_Pos in_y, in ft_corner_is_flat()
[all …]
/external/freetype/src/autofit/
Dafhints.h247 FT_Pos ox, oy; /* original, scaled position */
249 FT_Pos x, y; /* current position */
250 FT_Pos u, v; /* current (x,y) or (y,x) depending on context */
273 FT_Pos score; /* used during stem matching */
274 FT_Pos len; /* used during stem matching */
285 FT_Pos opos; /* original, scaled position */
286 FT_Pos pos; /* current position */
339 FT_Pos x_delta;
342 FT_Pos y_delta;
359 FT_Pos xmin_delta; /* used for warping */
[all …]
Daflatin.c214 FT_Pos dist; in af_latin_metrics_init_widths()
237 FT_Pos stdw; in af_latin_metrics_init_widths()
286 FT_Pos a, b; in af_latin_sort_blue()
319 FT_Pos flats [AF_BLUE_STRING_MAX_LEN]; in af_latin_metrics_init_blues()
320 FT_Pos rounds[AF_BLUE_STRING_MAX_LEN]; in af_latin_metrics_init_blues()
335 FT_Pos flat_threshold = FLAT_THRESHOLD( metrics->units_per_em ); in af_latin_metrics_init_blues()
361 FT_Pos* blue_ref; in af_latin_metrics_init_blues()
362 FT_Pos* blue_shoot; in af_latin_metrics_init_blues()
363 FT_Pos ascender; in af_latin_metrics_init_blues()
364 FT_Pos descender; in af_latin_metrics_init_blues()
[all …]
Daflatin2.c138 FT_Pos dist; in af_latin2_metrics_init_widths()
158 FT_Pos stdw; in af_latin2_metrics_init_widths()
196 FT_Pos flats [AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin2_metrics_init_blues()
197 FT_Pos rounds[AF_LATIN_MAX_TEST_CHARACTERS]; in af_latin2_metrics_init_blues()
218 FT_Pos* blue_ref; in af_latin2_metrics_init_blues()
219 FT_Pos* blue_shoot; in af_latin2_metrics_init_blues()
303 FT_Pos best_x = points[best_point].x; in af_latin2_metrics_init_blues()
305 FT_Pos dist; in af_latin2_metrics_init_blues()
401 FT_Pos ref = *blue_ref; in af_latin2_metrics_init_blues()
402 FT_Pos shoot = *blue_shoot; in af_latin2_metrics_init_blues()
[all …]
Dafcjk.c221 FT_Pos dist; in af_cjk_metrics_init_widths()
244 FT_Pos stdw; in af_cjk_metrics_init_widths()
286 FT_Pos fills[AF_BLUE_STRING_MAX_LEN]; in af_cjk_metrics_init_blues()
287 FT_Pos flats[AF_BLUE_STRING_MAX_LEN]; in af_cjk_metrics_init_blues()
329 FT_Pos* blue_ref; in af_cjk_metrics_init_blues()
330 FT_Pos* blue_shoot; in af_cjk_metrics_init_blues()
365 FT_Pos best_pos; /* same as points.y or points.x, resp. */ in af_cjk_metrics_init_blues()
539 FT_Pos ref = *blue_ref; in af_cjk_metrics_init_blues()
540 FT_Pos shoot = *blue_shoot; in af_cjk_metrics_init_blues()
674 FT_Pos delta; in af_cjk_metrics_scale_dim()
[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;
Daftypes.h79 FT_Pos org; /* original position/width in font units */
80 FT_Pos cur; /* current/scaled position/width in device subpixels */
81 FT_Pos fit; /* current/fitted position/width in device subpixels */
88 FT_Pos* table );
93 FT_Pos threshold );
124 af_angle_atan( FT_Pos dx,
125 FT_Pos dy );
184 FT_Pos x_delta; /* in 1/64th device pixels */
185 FT_Pos y_delta; /* in 1/64th device pixels */
218 FT_Pos* stdHW,
[all …]
Dafwarp.c74 FT_Pos delta, in af_warper_compute_line_best()
75 FT_Pos xx1, in af_warper_compute_line_best()
76 FT_Pos xx2, in af_warper_compute_line_best()
93 FT_Pos xx1min = warper->x1min; in af_warper_compute_line_best()
94 FT_Pos xx1max = warper->x1max; in af_warper_compute_line_best()
95 FT_Pos w = xx2 - xx1; in af_warper_compute_line_best()
121 FT_Pos len = segments[nn].max_coord - segments[nn].min_coord; in af_warper_compute_line_best()
122 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best()
123 FT_Pos y = y0 + ( idx_min - idx0 ); in af_warper_compute_line_best()
165 FT_Pos *a_delta ) in af_warper_compute()
[all …]
Daflatin.h81 FT_Pos ascender;
82 FT_Pos descender;
91 FT_Pos delta;
95 FT_Pos edge_distance_threshold; /* used for creating edges */
96 FT_Pos standard_width; /* the default stem thickness */
104 FT_Pos org_delta;
Dafangles.c156 FT_Pos tmp; in af_angle_atan()
188 FT_Pos* table ) in af_sort_pos()
191 FT_Pos swap; in af_sort_pos()
212 FT_Pos threshold ) in af_sort_and_quantize_widths()
216 FT_Pos cur_val; in af_sort_and_quantize_widths()
217 FT_Pos sum; in af_sort_and_quantize_widths()
262 table[cur_idx].org = sum / (FT_Pos)j; in af_sort_and_quantize_widths()
Dafcjk.h76 FT_Pos delta;
80 FT_Pos edge_distance_threshold; /* used for creating edges */
81 FT_Pos standard_width; /* the default stem thickness */
90 FT_Pos org_delta;
Dafglobal.h126 FT_Pos standard_vertical_width;
129 FT_Pos standard_horizontal_width;
131 FT_Pos darken_x;
133 FT_Pos darken_y;
Dafhints.c499 FT_Pos *offset, in af_glyph_hints_get_segment_offset()
501 FT_Pos *blue_offset ) in af_glyph_hints_get_segment_offset()
613 af_direction_compute( FT_Pos dx, in af_direction_compute()
614 FT_Pos dy ) in af_direction_compute()
616 FT_Pos ll, ss; /* long and short arm lengths */ in af_direction_compute()
740 FT_Pos x_delta = hints->x_delta; in af_glyph_hints_reload()
741 FT_Pos y_delta = hints->y_delta; in af_glyph_hints_reload()
856 FT_Pos out_x, out_y; in af_glyph_hints_reload()
943 FT_Pos out_x, out_y; in af_glyph_hints_reload()
989 curr->u = (FT_Pos)( first - curr ); in af_glyph_hints_reload()
[all …]
/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.h55 FT_Pos cur_pos;
56 FT_Pos cur_len;
71 FT_Pos min;
72 FT_Pos max;
166 FT_Pos org_u;
167 FT_Pos org_v;
168 FT_Pos cur_u;
170 FT_Pos org_x;
171 FT_Pos cur_x;
172 FT_Pos org_y;
[all …]
Dpshalgo.c343 static FT_Pos
345 FT_Pos len, in psh_dimension_quantize_len()
352 FT_Pos delta = len - dim->stdw.widths[0].cur; in psh_dimension_quantize_len()
449 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align()
450 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align()
453 FT_Pos fit_len; in psh_hint_align()
511 FT_Pos par_org_center, par_cur_center; in psh_hint_align()
512 FT_Pos cur_org_center, cur_delta; in psh_hint_align()
576 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
577 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
[all …]
/external/freetype/include/freetype/internal/
Dcfftypes.h208 FT_Pos stroke_width;
255 FT_Pos blue_values[14];
256 FT_Pos other_blues[10];
257 FT_Pos family_blues[14];
258 FT_Pos family_other_blues[10];
261 FT_Pos blue_shift;
262 FT_Pos blue_fuzz;
263 FT_Pos standard_width;
264 FT_Pos standard_height;
268 FT_Pos snap_widths[13];
[all …]
Dpsaux.h578 FT_Pos* pos_x;
579 FT_Pos* pos_y;
654 FT_Pos* glyph_width;
713 FT_Pos x,
714 FT_Pos y,
719 FT_Pos x,
720 FT_Pos y );
727 FT_Pos x,
728 FT_Pos y );
844 FT_Pos pos_x;
[all …]
Dftcalc.h339 ft_corner_orientation( FT_Pos in_x,
340 FT_Pos in_y,
341 FT_Pos out_x,
342 FT_Pos out_y );
351 ft_corner_is_flat( FT_Pos in_x,
352 FT_Pos in_y,
353 FT_Pos out_x,
354 FT_Pos out_y );
/external/freetype/include/freetype/
Dfreetype.h319 FT_Pos width;
320 FT_Pos height;
322 FT_Pos horiBearingX;
323 FT_Pos horiBearingY;
324 FT_Pos horiAdvance;
326 FT_Pos vertBearingX;
327 FT_Pos vertBearingY;
328 FT_Pos vertAdvance;
381 FT_Pos size;
383 FT_Pos x_ppem;
[all …]
Dftoutln.h289 FT_Pos xOffset,
290 FT_Pos yOffset );
393 FT_Pos strength );
412 FT_Pos xstrength,
413 FT_Pos ystrength );
Dftimage.h58 typedef signed long FT_Pos; typedef
78 FT_Pos x;
79 FT_Pos y;
123 FT_Pos xMin, yMin;
124 FT_Pos xMax, yMax;
673 FT_Pos delta;
/external/freetype/src/cff/
Dcffgload.c283 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load()
284 glyph->root.metrics.height = (FT_Pos)metrics.height * 64; in cff_slot_load()
286 glyph->root.metrics.horiBearingX = (FT_Pos)metrics.horiBearingX * 64; in cff_slot_load()
287 glyph->root.metrics.horiBearingY = (FT_Pos)metrics.horiBearingY * 64; in cff_slot_load()
288 glyph->root.metrics.horiAdvance = (FT_Pos)metrics.horiAdvance * 64; in cff_slot_load()
290 glyph->root.metrics.vertBearingX = (FT_Pos)metrics.vertBearingX * 64; in cff_slot_load()
291 glyph->root.metrics.vertBearingY = (FT_Pos)metrics.vertBearingY * 64; in cff_slot_load()
292 glyph->root.metrics.vertAdvance = (FT_Pos)metrics.vertAdvance * 64; in cff_slot_load()
332 glyph->root.linearVertAdvance = (FT_Pos) in cff_slot_load()
335 glyph->root.linearVertAdvance = (FT_Pos) in cff_slot_load()
[all …]

1234