Lines Matching refs:ys
349 int ys[5];
351 ys[0] = -get_be16(head, SFNT_HEAD_YMAX_OFFSET);
352 ys[1] = -get_be16(hhea, SFNT_HHEA_ASCENT_OFFSET);
353 ys[2] = -get_be16(hhea, SFNT_HHEA_DESCENT_OFFSET);
354 ys[3] = -get_be16(head, SFNT_HEAD_YMIN_OFFSET);
355 ys[4] = get_be16(hhea, SFNT_HHEA_LEADING_OFFSET);
358 if (ys[0] > ys[1]) {
359 ys[0] = ys[1];
361 if (ys[3] < ys[2]) {
362 ys[3] = ys[2];
366 pts[i].set(0, SkIntToScalar(ys[i]) / upem);