Home
last modified time | relevance | path

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

1234

/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 );
217 FT_Pos x,
218 FT_Pos y,
222 FT_Pos x,
223 FT_Pos y );
[all …]
Dpsft.h95 FT_Pos* *data );
99 FT_Pos* *data );
103 FT_Pos* *data );
107 FT_Pos* *data );
Dpsobjs.c1617 FT_Pos x, in t1_builder_add_point()
1618 FT_Pos y, in t1_builder_add_point()
1641 FT_Pos x, in t1_builder_add_point1()
1642 FT_Pos y ) in t1_builder_add_point1()
1693 FT_Pos x, in t1_builder_start_point()
1694 FT_Pos y ) in t1_builder_start_point()
1892 FT_Pos x, in cff_builder_add_point()
1893 FT_Pos y, in cff_builder_add_point()
1930 FT_Pos x, in cff_builder_add_point1()
1931 FT_Pos y ) in cff_builder_add_point1()
[all …]
/external/freetype/src/base/
Dftbbox.c157 BBox_Conic_Check( FT_Pos y1, in BBox_Conic_Check()
158 FT_Pos y2, in BBox_Conic_Check()
159 FT_Pos y3, in BBox_Conic_Check()
160 FT_Pos* min, in BBox_Conic_Check()
161 FT_Pos* max ) in BBox_Conic_Check()
266 static FT_Pos
267 cubic_peak( FT_Pos q1, in cubic_peak()
268 FT_Pos q2, in cubic_peak()
269 FT_Pos q3, in cubic_peak()
270 FT_Pos q4 ) in cubic_peak()
[all …]
Dftcalc.c690 FT_Pos delta, xx, yy; in FT_Matrix_Invert()
824 FT_Pos xz, yz; in FT_Vector_Transform_Scaled()
922 vector->x = sx < 0 ? -(FT_Pos)u : (FT_Pos)u; in FT_Vector_NormLen()
923 vector->y = sy < 0 ? -(FT_Pos)v : (FT_Pos)v; in FT_Vector_NormLen()
980 ft_corner_orientation( FT_Pos in_x, in ft_corner_orientation()
981 FT_Pos in_y, in ft_corner_orientation()
982 FT_Pos out_x, in ft_corner_orientation()
983 FT_Pos out_y ) in ft_corner_orientation()
1046 ft_corner_is_flat( FT_Pos in_x, in ft_corner_is_flat()
1047 FT_Pos in_y, in ft_corner_is_flat()
[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;
162 FT_Pos org_u;
163 FT_Pos org_v;
164 FT_Pos cur_u;
166 FT_Pos org_x;
167 FT_Pos cur_x;
168 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/src/autofit/
Daflatin.c212 FT_Pos dist; in af_latin_metrics_init_widths()
235 FT_Pos stdw; in af_latin_metrics_init_widths()
284 FT_Pos a, b; in af_latin_sort_blue()
317 FT_Pos flats [AF_BLUE_STRING_MAX_LEN]; in af_latin_metrics_init_blues()
318 FT_Pos rounds[AF_BLUE_STRING_MAX_LEN]; in af_latin_metrics_init_blues()
333 FT_Pos flat_threshold = FLAT_THRESHOLD( metrics->units_per_em ); in af_latin_metrics_init_blues()
359 FT_Pos* blue_ref; in af_latin_metrics_init_blues()
360 FT_Pos* blue_shoot; in af_latin_metrics_init_blues()
361 FT_Pos ascender; in af_latin_metrics_init_blues()
362 FT_Pos descender; in af_latin_metrics_init_blues()
[all …]
Dafhints.h245 FT_Pos ox, oy; /* original, scaled position */
247 FT_Pos x, y; /* current position */
248 FT_Pos u, v; /* current (x,y) or (y,x) depending on context */
277 FT_Pos score; /* used during stem matching */
278 FT_Pos len; /* used during stem matching */
289 FT_Pos opos; /* original, scaled position */
290 FT_Pos pos; /* current position */
340 FT_Pos x_delta;
343 FT_Pos y_delta;
405 af_direction_compute( FT_Pos dx,
[all …]
Dafcjk.c215 FT_Pos dist; in af_cjk_metrics_init_widths()
238 FT_Pos stdw; in af_cjk_metrics_init_widths()
280 FT_Pos fills[AF_BLUE_STRING_MAX_LEN]; in af_cjk_metrics_init_blues()
281 FT_Pos flats[AF_BLUE_STRING_MAX_LEN]; in af_cjk_metrics_init_blues()
323 FT_Pos* blue_ref; in af_cjk_metrics_init_blues()
324 FT_Pos* blue_shoot; in af_cjk_metrics_init_blues()
359 FT_Pos best_pos; /* same as points.y or points.x, resp. */ in af_cjk_metrics_init_blues()
533 FT_Pos ref = *blue_ref; in af_cjk_metrics_init_blues()
534 FT_Pos shoot = *blue_shoot; in af_cjk_metrics_init_blues()
667 FT_Pos delta; in af_cjk_metrics_scale_dim()
[all …]
Daftypes.h78 FT_Pos org; /* original position/width in font units */
79 FT_Pos cur; /* current/scaled position/width in device subpixels */
80 FT_Pos fit; /* current/fitted position/width in device subpixels */
87 FT_Pos* table );
92 FT_Pos threshold );
125 FT_Pos x_delta; /* in 1/64 device pixels */
126 FT_Pos y_delta; /* in 1/64 device pixels */
159 FT_Pos* stdHW,
160 FT_Pos* stdVW );
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;
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.c37 FT_Pos* table ) in af_sort_pos()
40 FT_Pos swap; in af_sort_pos()
61 FT_Pos threshold ) in af_sort_and_quantize_widths()
65 FT_Pos cur_val; in af_sort_and_quantize_widths()
66 FT_Pos sum; in af_sort_and_quantize_widths()
111 table[cur_idx].org = sum / (FT_Pos)j; in af_sort_and_quantize_widths()
627 FT_Pos *offset, in af_glyph_hints_get_segment_offset()
629 FT_Pos *blue_offset ) in af_glyph_hints_get_segment_offset()
741 af_direction_compute( FT_Pos dx, in af_direction_compute()
742 FT_Pos dy ) in af_direction_compute()
[all …]
Dafloader.c101 FT_Pos stdVW = 0; in af_loader_embolden_glyph_in_slot()
102 FT_Pos stdHW = 0; in af_loader_embolden_glyph_in_slot()
435 FT_Pos old_rsb = loader->pp2.x - edge2->opos; in af_loader_load_glyph()
437 FT_Pos old_lsb = edge1->opos; /* - loader->pp1.x */ in af_loader_load_glyph()
438 FT_Pos new_lsb = edge1->pos; in af_loader_load_glyph()
442 FT_Pos pp1x_uh = new_lsb - old_lsb; in af_loader_load_glyph()
443 FT_Pos pp2x_uh = edge2->pos + old_rsb; in af_loader_load_glyph()
469 FT_Pos pp1x = loader->pp1.x; in af_loader_load_glyph()
470 FT_Pos pp2x = loader->pp2.x; in af_loader_load_glyph()
484 FT_Pos pp1x = loader->pp1.x; in af_loader_load_glyph()
[all …]
/external/freetype/include/freetype/internal/
Dcfftypes.h204 FT_Pos stroke_width;
251 FT_Pos blue_values[14];
252 FT_Pos other_blues[10];
253 FT_Pos family_blues[14];
254 FT_Pos family_other_blues[10];
257 FT_Pos blue_shift;
258 FT_Pos blue_fuzz;
259 FT_Pos standard_width;
260 FT_Pos standard_height;
264 FT_Pos snap_widths[13];
[all …]
Dpsaux.h568 FT_Pos* pos_x;
569 FT_Pos* pos_y;
644 FT_Pos* glyph_width;
703 FT_Pos x,
704 FT_Pos y,
709 FT_Pos x,
710 FT_Pos y );
717 FT_Pos x,
718 FT_Pos y );
832 FT_Pos pos_x;
[all …]
Dftcalc.h372 ft_corner_orientation( FT_Pos in_x,
373 FT_Pos in_y,
374 FT_Pos out_x,
375 FT_Pos out_y );
384 ft_corner_is_flat( FT_Pos in_x,
385 FT_Pos in_y,
386 FT_Pos out_x,
387 FT_Pos out_y );
/external/freetype/include/freetype/
Dfreetype.h338 FT_Pos width;
339 FT_Pos height;
341 FT_Pos horiBearingX;
342 FT_Pos horiBearingY;
343 FT_Pos horiAdvance;
345 FT_Pos vertBearingX;
346 FT_Pos vertBearingY;
347 FT_Pos vertAdvance;
396 FT_Pos size;
398 FT_Pos x_ppem;
[all …]
Dftoutln.h274 FT_Pos xOffset,
275 FT_Pos yOffset );
377 FT_Pos strength );
395 FT_Pos xstrength,
396 FT_Pos ystrength );
Dftimage.h52 typedef signed long FT_Pos; typedef
72 FT_Pos x;
73 FT_Pos y;
115 FT_Pos xMin, yMin;
116 FT_Pos xMax, yMax;
666 FT_Pos delta;
/external/freetype/src/cff/
Dcffgload.c290 glyph->root.metrics.width = (FT_Pos)metrics.width * 64; in cff_slot_load()
291 glyph->root.metrics.height = (FT_Pos)metrics.height * 64; in cff_slot_load()
293 glyph->root.metrics.horiBearingX = (FT_Pos)metrics.horiBearingX * 64; in cff_slot_load()
294 glyph->root.metrics.horiBearingY = (FT_Pos)metrics.horiBearingY * 64; in cff_slot_load()
295 glyph->root.metrics.horiAdvance = (FT_Pos)metrics.horiAdvance * 64; in cff_slot_load()
297 glyph->root.metrics.vertBearingX = (FT_Pos)metrics.vertBearingX * 64; in cff_slot_load()
298 glyph->root.metrics.vertBearingY = (FT_Pos)metrics.vertBearingY * 64; in cff_slot_load()
299 glyph->root.metrics.vertAdvance = (FT_Pos)metrics.vertAdvance * 64; in cff_slot_load()
339 glyph->root.linearVertAdvance = (FT_Pos) in cff_slot_load()
342 glyph->root.linearVertAdvance = (FT_Pos) in cff_slot_load()
[all …]
/external/pdfium/core/fxge/
Dcfx_font.cpp43 FT_Pos m_CurX;
44 FT_Pos m_CurY;
72 FX_RECT FXRectFromFTPos(FT_Pos left, FT_Pos top, FT_Pos right, FT_Pos bottom) { in FXRectFromFTPos()
79 FX_RECT ScaledFXRectFromFTPos(FT_Pos left, in ScaledFXRectFromFTPos()
80 FT_Pos top, in ScaledFXRectFromFTPos()
81 FT_Pos right, in ScaledFXRectFromFTPos()
82 FT_Pos bottom, in ScaledFXRectFromFTPos()
438 FT_Pos horiAdvance = FXFT_Get_Glyph_HoriAdvance(m_Face->GetRec()); in GetGlyphWidthImpl()
663 FT_Pos coords[2]; in AdjustMMParams()
680 FT_Pos min_width = FXFT_Get_Glyph_HoriAdvance(m_Face->GetRec()) * 1000 / in AdjustMMParams()
[all …]

1234