/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CoreMetrics.java | 39 public CoreMetrics(float ascent, argument 51 this.ascent = ascent; 70 return Float.floatToIntBits(ascent + ssOffset); 88 return ascent == rhs.ascent 111 return fullOffsets[4] + ascent; 119 public final float ascent; field in class:CoreMetrics
|
H A D | FontDesignMetrics.java | 114 // height, ascent, descent, leading are reported to the client 122 private float ascent; field in class:FontDesignMetrics 360 this.ascent = metrics.getAscent(); 550 * Returns the typographic ascent of the font. This is the maximum distance 555 return (int)(roundingUpValue + this.ascent); 568 // for leading, ascent & descent sum to height. 580 // because typically clients use ascent to determine the y location to
|
/openjdk7/jdk/src/solaris/native/sun/font/ |
H A D | X11FontScaler.c | 258 int direction, ascent, descent; local 326 * bounds instead of the font's designed ascent/descent */ 334 /* ascent : no need to set ascentX - it will be zero
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFontMetrics.java | 48 * The standard ascent of the font. This is the logical height 53 int ascent; field in class:WFontMetrics 66 * and the ascent of the next line. The height metric is calculated 74 * It is the sum of the ascent+descent+leading. There is no 77 * the standard ascent and descent metrics. 82 * The maximum ascent for all characters in this font. No character 125 * Get ascent. 128 return ascent;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/ |
H A D | X11FontMetrics.java | 44 * The standard ascent of the font. This is the logical height 49 int ascent; field in class:X11FontMetrics 62 * and the ascent of the next line. The height metric is calculated 70 * It is the sum of the ascent+descent+leading. There is no 73 * the standard ascent and descent metrics. 78 * The maximum ascent for all characters in this font. No character 131 * Get ascent. 134 return ascent;
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FlowLayout.java | 508 * @param ascent Ascent for the components. This is only valid if 516 boolean useBaseline, int[] ascent, 542 if (ascent[i] >= 0) { 543 maxAscent = Math.max(maxAscent, ascent[i]); 559 if (useBaseline && ascent[i] >= 0) { 560 cy = y + baselineOffset + maxAscent - ascent[i]; 598 int[] ascent = null; 602 ascent = new int[nmembers]; 615 ascent[i] = baseline; 619 ascent[ 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 [all...] |
H A D | GridBagConstraints.java | 555 // ascent and descent include the insets and ipady values. 556 transient int ascent; field in class:GridBagConstraints
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11FontScaler_md.c | 214 return ((XFontStruct *)font)->ascent; 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; 289 glyphInfo->topLeftY = -xcs.ascent; 315 -xcs.lbearing, xcs.ascent, xCha [all...] |
/openjdk7/jdk/src/share/demo/management/MemoryMonitor/ |
H A D | MemoryMonitor.java | 127 private int ascent, descent; field in class:MemoryMonitor.Surface 213 big.drawString(String.valueOf((int)totalMemory/1024) + "K Max ", x1+4.0f, (float) y1 + ascent+0.5f); 217 big.drawString(mp.getName(), x1+x2/2, (float) y1 + ascent+0.5f); 226 float ssH = ascent + descent; 361 ascent = (int) fm.getAscent();
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicHTML.java | 98 * from it. Otherwise the baseline is the value <code>y + ascent</code>. 100 static int getBaseline(JComponent c, int y, int ascent, argument 110 return y + ascent;
|
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Font.h | 136 INLINE void SetAscent(int ascent) { m_ascent = ascent; } argument 178 * Sets the ascent of the font. This member should be called if 251 /* The ascent of this font. */
|
H A D | awt_Font.cpp | 522 int ascent = metrics.tmAscent; local 525 env->SetIntField(fontMetrics, AwtFont::ascentID, ascent); 530 env->SetIntField(fontMetrics, AwtFont::maxAscentID, ascent); 533 int maxHeight = ascent + descent + leading; 554 ascent = max(ascent, metrics.tmAscent)); 927 AwtFont::ascentID = env->GetFieldID(cls, "ascent", "I");
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_Font.c | 108 jfieldID ascent; member in struct:X11FontMetricsIDs 135 x11FontMetricsIDs.ascent = 136 (*env)->GetFieldID(env, cls, "ascent", "I"); 687 /* with negative ascent. */ 688 if (xfont == (Font) NULL || xfont->ascent < 0) { 877 (*env)->SetIntField(env, this, x11FontMetricsIDs.ascent, 884 (jint) fdata->xfont->max_bounds.ascent); 889 (*env)->SetIntField(env, this, x11FontMetricsIDs.ascent, 890 (jint) fdata->xfont->ascent); 897 (jint) fdata->xfont->ascent [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | TextLine.java | 69 public final float ascent; field in class:TextLine.TextLineMetrics 74 public TextLineMetrics(float ascent, argument 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 [all...] |