Searched defs:descent (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/font/
H A DCoreMetrics.java40 float descent,
52 this.descent = descent;
89 && descent == rhs.descent
113 return fullOffsets[3] - descent;
120 public final float descent; field in class:CoreMetrics
39 CoreMetrics(float ascent, float descent, float leading, float height, int baselineIndex, float[] baselineOffsets, float strikethroughOffset, float strikethroughThickness, float underlineOffset, float underlineThickness, float ssOffset, float italicAngle) argument
H A DFontDesignMetrics.java114 // height, ascent, descent, leading are reported to the client
123 private float descent; field in class:FontDesignMetrics
361 this.descent = metrics.getDescent();
559 * Returns the typographic descent of the font. This is the maximum distance
563 return (int)(roundingUpValue + this.descent);
568 // for leading, ascent & descent sum to height.
575 (int)(roundingUpValue + descent + leading) -
576 (int)(roundingUpValue + descent);
586 height = getAscent() + (int)(roundingUpValue + descent + leading);
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c258 int direction, ascent, descent; local
326 * bounds instead of the font's designed ascent/descent */
335 * descent : no need to set descentX - it will be zero
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFontMetrics.java56 * The standard descent of the font. This is the logical height
61 int descent; field in class:WFontMetrics
65 * of space to be reserved between the descent of one line of text
74 * It is the sum of the ascent+descent+leading. There is no
77 * the standard ascent and descent metrics.
88 * The maximum descent for all characters in this font. No character
132 * Get descent
135 return descent;
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11FontMetrics.java52 * The standard descent of the font. This is the logical height
57 int descent; field in class:X11FontMetrics
61 * of space to be reserved between the descent of one line of text
70 * It is the sum of the ascent+descent+leading. There is no
73 * the standard ascent and descent metrics.
84 * The maximum descent for all characters in this font. No character
138 * Get descent
141 return descent;
/openjdk7/jdk/src/share/classes/java/awt/
H A DFlowLayout.java510 * @param descent Ascent for the components. This is only valid if
517 int[] descent) {
544 maxDescent = Math.max(maxDescent, descent[i]);
599 int[] descent = null;
603 descent = new int[nmembers];
616 descent[i] = d.height - baseline;
631 useBaseline, ascent, descent);
640 start, nmembers, ltr, useBaseline, ascent, descent);
514 moveComponents(Container target, int x, int y, int width, int height, int rowStart, int rowEnd, boolean ltr, boolean useBaseline, int[] ascent, int[] descent) argument
H A DGridBagConstraints.java555 // ascent and descent include the insets and ipady values.
557 transient int descent; field in class:GridBagConstraints
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DX11FontScaler_md.c223 return ((XFontStruct *)font)->descent;
232 int ascent, descent, direction; local
249 &direction, &ascent, &descent, newChar);
250 /* XTextExtents16(xFont, xChar, 1, &direction, &ascent, &descent, newChar); */
265 int width, height, direction, ascent, descent; local
277 /* XTextExtents16(xFont, xChar, 1, &direction, &ascent, &descent, &xcs); */
279 &direction, &ascent, &descent, &xcs);
281 height = xcs.ascent+xcs.descent;
413 return ((XCharStruct *)xChar)->descent;
/openjdk7/jdk/src/share/demo/management/MemoryMonitor/
H A DMemoryMonitor.java127 private int ascent, descent; field in class:MemoryMonitor.Surface
223 big.drawString(usedStr, x1+4, y1+y2-descent);
226 float ssH = ascent + descent;
362 descent = (int) fm.getDescent();
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_Font.c109 jfieldID descent; member in struct:X11FontMetricsIDs
137 x11FontMetricsIDs.descent =
138 (*env)->GetFieldID(env, cls, "descent", "I");
879 (*env)->SetIntField(env, this, x11FontMetricsIDs.descent,
886 (jint) fdata->xfont->max_bounds.descent);
891 (*env)->SetIntField(env, this, x11FontMetricsIDs.descent,
892 (jint) fdata->xfont->descent);
897 (jint) fdata->xfont->ascent + fdata->xfont->descent + 1);
900 + fdata->xfont->max_bounds.descent + 1);
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DTextLine.java70 public final float descent; field in class:TextLine.TextLineMetrics
75 float descent,
79 this.descent = descent;
151 float descent = 0;
155 // ascent + descent must not be less than this value
179 float gd = baselineOffset + cm.descent;
180 descent = Math.max(descent, gd);
186 float graphicHeight = cm.ascent + cm.descent;
74 TextLineMetrics(float ascent, float descent, float leading, float advance) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Font.cpp523 int descent = metrics.tmDescent; local
526 env->SetIntField(fontMetrics, AwtFont::descentID, descent);
531 env->SetIntField(fontMetrics, AwtFont::maxDescentID, descent);
533 int maxHeight = ascent + descent + leading;
556 descent = max(descent, metrics.tmDescent));
928 AwtFont::descentID = env->GetFieldID(cls, "descent", "I");

Completed in 40 milliseconds