HomeSort by relevance Sort by last modified time
    Searched defs:fontMetrics (Results 1 - 21 of 21) sorted by null

  /external/webkit/Source/WebCore/rendering/svg/
SVGTextLayoutEngineBaseline.cpp 52 return -m_font.fontMetrics().floatHeight() / 2;
54 return m_font.fontMetrics().floatHeight() / 2;
125 const FontMetrics& fontMetrics = m_font.fontMetrics();
133 return fontMetrics.floatAscent();
135 return fontMetrics.xHeight() / 2;
137 return (fontMetrics.floatAscent() - fontMetrics.floatDescent()) / 2;
141 return fontMetrics.floatDescent()
    [all...]
  /external/webkit/Source/WebCore/rendering/
InlineBox.cpp 97 return m_isText ? renderer()->style(m_firstLine)->fontMetrics().height() : 0;
103 const FontMetrics& fontMetrics = renderer()->style(m_firstLine)->fontMetrics();
104 int result = fontMetrics.height();
RenderEmbeddedObject.cpp 175 const FontMetrics& fontMetrics = font.fontMetrics();
177 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
RenderImage.cpp 116 IntSize textSize(min(font.width(TextRun(m_altText.characters(), m_altText.length())), maxAltTextWidth), min(font.fontMetrics().height(), maxAltTextHeight));
299 const FontMetrics& fontMetrics = font.fontMetrics();
300 int ascent = fontMetrics.ascent();
307 if (usableWidth >= textWidth && fontMetrics.height() <= imageY)
309 } else if (usableWidth >= textWidth && cHeight >= fontMetrics.height())
RenderInline.cpp 179 || (checkFonts && (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(style()->font().fontMetrics())
186 alwaysCreateLineBoxes = !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
502 int logicalTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox->isFirstLineStyle())->font().fontMetrics().ascent());
503 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height();
519 int logicalTop = rootBox->logicalTop() + (rootBox->renderer()->style(rootBox->isFirstLineStyle())->font().fontMetrics().ascent() - container->style(rootBox->isFirstLineStyle())->font().fontMetrics().ascent());
520 int logicalHeight = container->style(rootBox->isFirstLineStyle())->font().fontMetrics().height()
    [all...]
RenderListMarker.cpp     [all...]
RootInlineBox.cpp 599 const FontMetrics& fontMetrics = usedFonts->at(i)->fontMetrics();
600 int usedFontAscent = fontMetrics.ascent(baselineType());
601 int usedFontDescent = fontMetrics.descent(baselineType());
602 int halfLeading = (fontMetrics.lineSpacing() - fontMetrics.height()) / 2;
604 int usedFontDescentAndLeading = fontMetrics.lineSpacing() - usedFontAscentAndLeading;
635 int fontAscent = box->renderer()->style(m_firstLine)->fontMetrics().ascent();
636 int fontDescent = box->renderer()->style(m_firstLine)->fontMetrics().descent()
    [all...]
InlineFlowBox.cpp 116 if (!parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
133 || !parentStyle->font().fontMetrics().hasIdenticalAscentDescentAndLineGap(childStyle->font().fontMetrics())
580 const FontMetrics& fontMetrics = renderer()->style(m_firstLine)->fontMetrics();
581 setLogicalTop(top + maxAscent - fontMetrics.ascent(baselineType));
620 const FontMetrics& fontMetrics = curr->renderer()->style(m_firstLine)->fontMetrics()
    [all...]
RenderBlock.cpp     [all...]
  /development/samples/BrowserPlugin/jni/audio/
AudioPlugin.cpp 221 ANPFontMetrics fontMetrics;
222 gPaintI.getFontMetrics(m_paintText, &fontMetrics);
246 m_playRect.top - fontMetrics.fTop, m_paintText);
257 m_pauseRect.top - fontMetrics.fTop, m_paintText);
268 m_stopRect.top - fontMetrics.fTop, m_paintText);
  /development/samples/BrowserPlugin/jni/form/
FormPlugin.cpp 170 ANPFontMetrics fontMetrics;
171 gPaintI.getFontMetrics(m_paintText, &fontMetrics);
175 textInput.rect.bottom - fontMetrics.fBottom, m_paintText);
181 ANPFontMetrics fontMetrics;
182 gPaintI.getFontMetrics(m_paintText, &fontMetrics);
187 float ovalTop = ovalBottom - (fontMetrics.fBottom - fontMetrics.fTop);
  /development/samples/BrowserPlugin/jni/paint/
PaintPlugin.cpp 161 ANPFontMetrics fontMetrics;
162 gPaintI.getFontMetrics(m_paintSurface, &fontMetrics);
172 m_inputToggle.top - fontMetrics.fTop, m_paintSurface);
182 m_colorToggle.top - fontMetrics.fTop, m_paintSurface);
193 m_fullScreenToggle.top - fontMetrics.fTop, m_paintSurface);
203 m_clearSurface.top - fontMetrics.fTop, m_paintSurface);
  /external/webkit/Source/WebCore/platform/graphics/
Font.h 47 class FontMetrics;
133 const FontMetrics& fontMetrics() const { return primaryFont()->fontMetrics(); }
SimpleFontData.h 29 #include "FontMetrics.h"
107 const FontMetrics& fontMetrics() const { return m_fontMetrics; }
206 FontMetrics m_fontMetrics;
  /external/webkit/Source/WebCore/platform/graphics/win/
FontCGWin.cpp 170 const FontMetrics& fontMetrics = font->fontMetrics();
171 int lineGap = fontMetrics.lineGap();
172 textRect = IntRect(point.x() - (fontMetrics.ascent() + fontMetrics.descent()) / 2,
173 point.y() - fontMetrics.ascent() - lineGap,
174 totalWidth + fontMetrics.ascent() + fontMetrics.descent(),
175 fontMetrics.lineSpacing())
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
FontChromiumWin.cpp 249 const FontMetrics& fontMetrics = m_font->fontMetrics();
250 return IntRect(m_point.x() - (fontMetrics.ascent() + fontMetrics.descent()) / 2,
251 m_point.y() - fontMetrics.ascent() - fontMetrics.lineGap(),
252 totalWidth + fontMetrics.ascent() + fontMetrics.descent(),
253 fontMetrics.lineSpacing());
    [all...]
  /external/webkit/Source/WebKit/android/nav/
FindCanvas.cpp 179 SkPaint::FontMetrics fontMetrics;
180 paint.getFontMetrics(&fontMetrics);
182 rect.fTop = baseline + fontMetrics.fAscent;
183 rect.fBottom = baseline + fontMetrics.fDescent;
203 SkPaint::FontMetrics fontMetrics;
204 paint.getFontMetrics(&fontMetrics);
213 bounds.fTop = baseline + fontMetrics.fAscent;
214 bounds.fBottom = baseline + fontMetrics.fDescent
    [all...]
  /external/webkit/Source/WebCore/html/canvas/
CanvasRenderingContext2D.cpp     [all...]
  /external/webkit/Source/WebCore/accessibility/gtk/
AccessibilityObjectWrapperAtk.cpp     [all...]
  /external/webkit/Source/WebCore/rendering/style/
RenderStyle.h 478 const FontMetrics& fontMetrics() const { return inherited->font.fontMetrics(); }
503 return fontMetrics().lineSpacing();
    [all...]
  /prebuilt/common/eclipse/
org.eclipse.jface_3.4.2.M20090107-0800.jar 

Completed in 474 milliseconds