Lines Matching defs:ascent
69 public final float ascent;
74 public TextLineMetrics(float ascent,
78 this.ascent = ascent;
150 float ascent = 0;
155 // ascent + descent must not be less than this value
177 ascent = Math.max(ascent, -baselineOffset + cm.ascent);
186 float graphicHeight = cm.ascent + cm.descent;
195 if (maxGraphicHeight > ascent + descent) {
196 descent = maxGraphicHeight - ascent;
198 if (maxGraphicHeightWithLeading > ascent + leading) {
199 leading = maxGraphicHeightWithLeading - ascent;
216 -ascent
237 // 1) compute the area of overlap - min effective ascent and min effective descent
238 // 2) compute the x positions along italic angle of ascent and descent for left and right
246 float pa = pb - pcm.ascent;
251 float ca = cb - cm.ascent;
289 float pa = pb - pcm.ascent;
295 d = pb + pcm.ascent;
308 fMetrics = new TextLineMetrics(ascent, descent, leading, advance);
626 return getCoreMetricsAt(logicalIndex).ascent;