Lines Matching defs:ascent

319 		      int ascent, int descent, Bool highlight, Bool right)
380 paint->y = y + ascent;
382 paint->max_ascent = ascent;
416 paint->y = y + ascent;
418 paint->max_ascent = ascent;
445 int i, ascent = 0, descent = 0, xl, xr, x = ctx->text.left_margin;
452 /* pass 1: calculate ascent/descent values and x coordinate */
453 /* XXX the MAX ascent/descent value should be in the line table XXX */
455 to calculate the ascent/descent, do it here to avoid an extra
473 ascent = XawMax(font->ascent, ascent);
477 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
499 ascent = XawMax(font->ascent, ascent);
517 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
522 if (!ascent)
523 ascent = sink->ascii_sink.font->ascent;
538 paint->y = y + ascent;
540 paint->max_ascent = ascent;
597 if (ascent > font->ascent) {
599 next.y = y + ascent - font->ascent;
603 scanline.y = y + ascent + font->descent;
609 scanline.y = y + ascent - font->ascent;
610 next.y = y + ascent + font->descent;
640 paint->y = y + ascent;
642 paint->max_ascent = ascent;
678 if (ascent > font->ascent) {
680 next.y = y + ascent - font->ascent;
684 scanline.y = y + ascent + font->descent;
703 CalculateBearing(ctx, from - 1, xl, y, ascent, descent, highlight, True);
706 CalculateBearing(ctx, from, xl, y, ascent, descent, True, False);
708 CalculateBearing(ctx, from, xl, y, ascent, descent, False, False);
714 CalculateBearing(ctx, to, xr, y, ascent, descent, highlight, False);
717 CalculateBearing(ctx, to - 1, xr, y, ascent, descent, False, True);
719 CalculateBearing(ctx, to - 1, xr, y, ascent, descent, True, True);
825 rects[i_rects].y = (short)(paint->y - font->ascent);
827 rects[i_rects++].height = (unsigned short)(font->ascent + font->descent);
948 paint->y - (font->ascent>>1) + (font->descent>>1),
950 paint->y - (font->ascent>>1) + (font->descent>>1));
980 .y = (short)(paint->y - font->ascent),
981 .height = (unsigned short)((paint->y - font->ascent) +
982 font->ascent + font->descent)
1024 _XawTextSinkClearToBackground(w, x, y - sink->ascii_sink.font->ascent,
1026 (unsigned)(sink->ascii_sink.font->ascent
1065 y += sink->ascii_sink.font->ascent;
1089 _XawTextSinkClearToBackground(w, x, y-font->ascent, (unsigned)width,
1090 (unsigned)(font->ascent+font->descent));
1093 tabgc, x, y - font->ascent, (unsigned)width,
1094 (unsigned)(font->ascent + font->descent));
1179 rect->height = (unsigned short)(font->descent + font->ascent + 1);
1182 rect->y = (short)(sink->ascii_sink.cursor_y - font->ascent);
1192 int y, line, ascent;
1207 ascent = 0;
1217 ascent = XawMax(property->font->ascent, ascent);
1219 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
1223 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
1232 ascent = XawMax(property->font->ascent, ascent);
1234 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
1242 ascent = XawMax(sink->ascii_sink.font->ascent, ascent);
1246 if (!ascent)
1247 ascent = sink->ascii_sink.font->ascent;
1249 ascent = sink->ascii_sink.font->ascent;
1252 return (y + ascent);
1282 fheight = font->ascent + font->descent;
1322 fheight = font->ascent + font->descent;
1340 sink->ascii_sink.xorgc, x, y - font->ascent,
1345 sink->ascii_sink.xorgc, x, y - font->ascent,
1373 int i, rWidth, ascent = 0, descent = 0;
1410 ascent = XawMax(font->ascent, ascent);
1435 *resHeight = ascent + descent + 1;
1466 *resHeight = font->ascent + font->descent + 1;
1481 int i, lastWidth, whiteSpaceWidth, rWidth, ascent = 0, descent = 0;
1518 ascent = XawMax(font->ascent, ascent);
1560 *resHeight = ascent + descent + 1;
1613 *resHeight = font->ascent + font->descent + 1;
1845 font_height = sink->ascii_sink.font->ascent + sink->ascii_sink.font->descent + 1;
1869 return (lines * (sink->ascii_sink.font->ascent +