Lines Matching refs:unit
40 * Parse the *src string and store a scaling unit into *dst.
41 * If the string doesn't specify the unit, use the default.
51 dst->unit = def == SCALE_MAX ? SCALE_BU : def;
58 dst->unit = SCALE_CM;
61 dst->unit = SCALE_IN;
64 dst->unit = SCALE_FS;
67 dst->unit = SCALE_MM;
70 dst->unit = SCALE_EM;
73 dst->unit = SCALE_EN;
76 dst->unit = SCALE_PC;
79 dst->unit = SCALE_PT;
82 dst->unit = SCALE_BU;
85 dst->unit = SCALE_VS;
93 dst->unit = def;