Home
last modified time | relevance | path

Searched refs:tt_metrics (Results 1 – 4 of 4) sorted by relevance

/external/freetype/src/truetype/
Dttobjs.c868 TT_Size_Metrics* tt_metrics = &exec->tt_metrics; in tt_size_run_fpgm() local
876 tt_metrics->ppem = 0; in tt_size_run_fpgm()
877 tt_metrics->scale = 0; in tt_size_run_fpgm()
878 tt_metrics->ratio = 0x10000L; in tt_size_run_fpgm()
1091 TT_Size_Metrics* tt_metrics = &size->ttmetrics; in tt_size_init_bytecode() local
1094 tt_metrics->rotated = FALSE; in tt_size_init_bytecode()
1095 tt_metrics->stretched = FALSE; in tt_size_init_bytecode()
1098 tt_metrics->compensations[0] = 0; /* gray */ in tt_size_init_bytecode()
1099 tt_metrics->compensations[1] = 0; /* black */ in tt_size_init_bytecode()
1100 tt_metrics->compensations[2] = 0; /* white */ in tt_size_init_bytecode()
[all …]
Dttinterp.c429 exec->tt_metrics = size->ttmetrics; in TT_Load_Context()
1491 if ( !exc->tt_metrics.ratio ) in Current_Ratio()
1494 exc->tt_metrics.ratio = exc->tt_metrics.x_ratio; in Current_Ratio()
1497 exc->tt_metrics.ratio = exc->tt_metrics.y_ratio; in Current_Ratio()
1504 x = TT_MulFix14( exc->tt_metrics.x_ratio, in Current_Ratio()
1506 y = TT_MulFix14( exc->tt_metrics.y_ratio, in Current_Ratio()
1508 exc->tt_metrics.ratio = FT_Hypot( x, y ); in Current_Ratio()
1511 return exc->tt_metrics.ratio; in Current_Ratio()
1518 return exc->tt_metrics.ppem; in Current_Ppem()
1525 return FT_MulFix( exc->tt_metrics.ppem, Current_Ratio( exc ) ); in Current_Ppem_Stretched()
[all …]
Dttinterp.h175 TT_Size_Metrics tt_metrics; /* size metrics */ member
/external/freetype/
DChangeLog.281863 (tt_size_init_bytecode): s/metrics/tt_metrics/.