Searched refs:ascent (Results 1 - 25 of 149) sorted by relevance

123456

/xsrc/external/mit/libXfont/dist/src/util/
H A Dfontaccel.c47 if ((pFontInfo->minbounds.ascent == pFontInfo->maxbounds.ascent) &&
60 (pFontInfo->maxbounds.ascent == pFontInfo->fontAscent) &&
76 (pFontInfo->minbounds.ascent >= -pFontInfo->fontDescent) &&
77 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
91 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
95 pFontInfo->minbounds.ascent != pFontInfo->fontAscent ||
98 if (pFontInfo->maxbounds.ascent == 0 &&
H A Dfontutil.c82 && (pCI->ascent == 0)
84 info->overallAscent = pCI->ascent;
102 && (pCI->ascent == 0)
106 pCI->ascent);
160 ((ci)->ascent == 0 && \
/xsrc/external/mit/libXfont2/dist/src/util/
H A Dfontaccel.c48 if ((pFontInfo->minbounds.ascent == pFontInfo->maxbounds.ascent) &&
61 (pFontInfo->maxbounds.ascent == pFontInfo->fontAscent) &&
77 (pFontInfo->minbounds.ascent >= -pFontInfo->fontDescent) &&
78 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
92 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
96 pFontInfo->minbounds.ascent != pFontInfo->fontAscent ||
99 if (pFontInfo->maxbounds.ascent == 0 &&
H A Dfontutil.c73 && (pCI->ascent == 0)
75 info->overallAscent = pCI->ascent;
93 && (pCI->ascent == 0)
97 pCI->ascent);
151 ((ci)->ascent == 0 && \
/xsrc/external/mit/bdftopcf/dist/
H A Dfontaccel.c47 if ((pFontInfo->minbounds.ascent == pFontInfo->maxbounds.ascent) &&
60 (pFontInfo->maxbounds.ascent == pFontInfo->fontAscent) &&
78 (pFontInfo->minbounds.ascent >= -pFontInfo->fontDescent) &&
79 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
95 (pFontInfo->maxbounds.ascent <= pFontInfo->fontAscent) &&
100 pFontInfo->minbounds.ascent != pFontInfo->fontAscent ||
103 if (pFontInfo->maxbounds.ascent == 0 &&
H A Dfontink.c52 int leftBearing, ascent, descent; local in function:FontCharInkMetrics
70 ascent = pCI->metrics.ascent;
78 for (vpos = descent + ascent; --vpos >= 0;) {
90 pInk->ascent = 0;
94 pInk->ascent = vpos - descent + 1;
97 (descent + ascent - 1) + bitmapByteWidth;
99 for (vpos = descent + ascent; --vpos >= 0;) {
107 pInk->descent = vpos - ascent + 1;
113 for (vpos = descent + ascent;
[all...]
/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dfontink.c53 ascent, local in function:FontCharInkMetrics
75 ascent = pCI->metrics.ascent;
83 for (vpos = descent + ascent; --vpos >= 0;) {
95 pInk->ascent = 0;
99 pInk->ascent = vpos - descent + 1;
102 (descent + ascent - 1) + bitmapByteWidth;
104 for (vpos = descent + ascent; --vpos >= 0;) {
112 pInk->descent = vpos - ascent + 1;
118 for (vpos = descent + ascent;
[all...]
/xsrc/external/mit/libXfont2/dist/src/bitmap/
H A Dfontink.c54 ascent, local in function:FontCharInkMetrics
76 ascent = pCI->metrics.ascent;
84 for (vpos = descent + ascent; --vpos >= 0;) {
96 pInk->ascent = 0;
100 pInk->ascent = vpos - descent + 1;
103 (descent + ascent - 1) + bitmapByteWidth;
105 for (vpos = descent + ascent; --vpos >= 0;) {
113 pInk->descent = vpos - ascent + 1;
119 for (vpos = descent + ascent;
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DTextExt.c96 *font_ascent = fs->ascent;
120 overall->ascent = max (overall->ascent, cs->ascent);
135 overall->width = overall->ascent = overall->descent =
211 if (def && (fs->min_bounds.ascent == fs->max_bounds.ascent)
213 return ((fs->min_bounds.ascent + fs->min_bounds.descent) * count);
229 if (cs) height += (cs->ascent + cs->descent);
H A DTextExt16.c69 *font_ascent = fs->ascent;
95 overall->ascent = max (overall->ascent, cs->ascent);
110 overall->width = overall->ascent = overall->descent =
185 if (def && (fs->min_bounds.ascent == fs->max_bounds.ascent)
187 return ((fs->min_bounds.ascent + fs->min_bounds.descent) * count);
205 if (cs) height += (cs->ascent + cs->descent);
H A DQuTextE16.c71 overall->ascent = (short) cvtINT16toShort (rep.overallAscent);
H A DQuTextExt.c71 overall->ascent = (short) cvtINT16toShort (rep.overallAscent);
/xsrc/external/mit/xfd/dist/
H A DgridP.h79 (g)->fontgrid.text_font->ascent + \
82 (g)->fontgrid.text_face->ascent : \
84 (g)->fontgrid.text_font->ascent: 1)
93 #define GridFontHeight(g) ((g)->fontgrid.text_font->ascent + \
96 (g)->fontgrid.text_font->ascent: 1)
/xsrc/external/mit/libX11/dist/modules/om/generic/
H A DomTextPer.c87 logical_ascent = font->ascent;
90 logical_ascent = max(logical_ascent, font->ascent);
115 ink_buf->y = -(cs->ascent);
117 ink_buf->height = cs->ascent + cs->descent;
121 logical_buf->y = -(font->ascent);
123 logical_buf->height = font->ascent + font->descent;
130 overall.ascent = max(overall.ascent, cs->ascent);
149 overall_ink->y = -(overall.ascent);
[all...]
H A DomTextExt.c88 overall.ascent = max(overall.ascent, tmp_overall.ascent);
98 overall_ink->y = -(overall.ascent);
100 overall_ink->height = overall.ascent + overall.descent;
H A DomDefault.c154 overall_ink->y = -(overall.ascent);
156 overall_ink->height = overall.ascent + overall.descent;
243 ink_buf->y = -(cs->ascent);
245 ink_buf->height = cs->ascent + cs->descent;
249 logical_buf->y = -(font->ascent);
251 logical_buf->height = font->ascent + font->descent;
258 overall.ascent = max(overall.ascent, cs->ascent);
272 overall_ink->y = -(overall.ascent);
[all...]
/xsrc/external/mit/libXaw/dist/src/
H A DAsciiSink.c319 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; local in function:AsciiPreparePaint
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
318 CalculateBearing(TextWidget ctx,XawTextPosition position,int x,int y,int ascent,int descent,Bool highlight,Bool right) argument
1192 int y, line, ascent; local in function:FindCursorY
1373 int i, rWidth, ascent = 0, descent = 0; local in function:FindDistance
1481 int i, lastWidth, whiteSpaceWidth, rWidth, ascent = 0, descent = 0; local in function:FindPosition
[all...]
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dglyphcurs.c167 cm->height = pci->metrics.descent + pci->metrics.ascent;
179 if (pci->metrics.ascent < 0)
181 cm->height -= pci->metrics.ascent;
186 cm->yhot = pci->metrics.ascent;
/xsrc/external/mit/xorg-server/dist/dix/
H A Dglyphcurs.c159 cm->height = pci->metrics.descent + pci->metrics.ascent;
169 if (pci->metrics.ascent < 0) {
170 cm->height -= pci->metrics.ascent;
174 cm->yhot = pci->metrics.ascent;
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dcapturexfont.c106 height = fontinfo->max_bounds.ascent +
140 charHeight = charinfo->ascent + charinfo->descent;
174 charHeight = charinfo->ascent + charinfo->descent;
196 charinfo->ascent, &character, 1);
214 charHeight = charinfo->ascent + charinfo->descent;
240 len = (charinfo->ascent + charinfo->descent) *
253 len = (charinfo->ascent + charinfo->descent) *
312 charHeight = charinfo->ascent + charinfo->descent;
/xsrc/external/mit/ctwm/dist/
H A Dutil.c324 int ascent; local in function:GetFont
363 for(i = 0, ascent = 0, descent = 0; i < fnum; i++) {
364 ascent = MaxSize(ascent, (*xfonts)->ascent);
370 font->y = ascent;
371 font->ascent = ascent;
/xsrc/external/mit/xfs/dist/difs/
H A Dcharinfo.c227 cilocal.ascent = xci->metrics.ascent;
399 /* do font ascent and font descent match bitmap bounds ? */
400 if (height != pinfo->minbounds.ascent + pinfo->minbounds.descent)
444 height = inkc->metrics.ascent + inkc->metrics.descent;
505 height = inkm->ascent + inkm->descent;
511 if (max_ascent > inkm->ascent)
513 height -= (max_ascent - inkm->ascent);
514 dstp += dstbpr * (max_ascent - inkm->ascent);
538 srcp += (bitm->ascent
[all...]
/xsrc/external/mit/freetype/dist/include/freetype/
H A Dftwinfnt.h192 FT_UShort ascent; member in struct:FT_WinFNT_HeaderRec_
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DXDefaultOMIF.c218 logical_ascent = font->ascent;
222 ink->y = -(overall.ascent);
224 ink->height = overall.ascent + overall.descent;
642 overall_ink->y = -(overall.ascent);
644 overall_ink->height = overall.ascent + overall.descent;
705 ink_buf->y = -(cs->ascent);
707 ink_buf->height = cs->ascent + cs->descent;
711 logical_buf->y = -(font->ascent);
713 logical_buf->height = font->ascent + font->descent;
720 overall.ascent
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/glx/xlib/
H A Dglx_usefont.c52 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
58 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
242 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
324 height = ch->ascent + ch->descent;
333 y = ch->ascent;

Completed in 20 milliseconds

123456