HomeSort by relevance Sort by last modified time
    Searched refs:fontMetrics (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextLayoutEngineBaseline.cpp 53 return -m_font.fontMetrics().floatHeight() / 2;
55 return m_font.fontMetrics().floatHeight() / 2;
126 const FontMetrics& fontMetrics = m_font.fontMetrics();
134 return fontMetrics.floatAscent();
136 return fontMetrics.xHeight() / 2;
138 return (fontMetrics.floatAscent() - fontMetrics.floatDescent()) / 2;
142 return fontMetrics.floatDescent()
    [all...]
SVGTextMetrics.cpp 55 m_height = scaledFont.fontMetrics().floatHeight() / scalingFactor;
113 m_height = text->scaledFont().fontMetrics().floatHeight() / scalingFactor;
SVGTextLayoutEngineSpacing.cpp 76 kerning *= m_font.size() / m_font.fontMetrics().unitsPerEm();
  /external/chromium_org/third_party/WebKit/Source/web/
WebFontImpl.cpp 68 return m_font.fontMetrics().ascent();
73 return m_font.fontMetrics().descent();
78 return m_font.fontMetrics().height();
83 return m_font.fontMetrics().lineSpacing();
88 return m_font.fontMetrics().xHeight();
ExternalPopupMenu.cpp 186 info->itemHeight = m_popupMenuClient->menuStyle().font().fontMetrics().height();
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontData.cpp 89 FontMetrics& fontMetrics = fontData->fontMetrics();
90 fontMetrics.setUnitsPerEm(unitsPerEm);
91 fontMetrics.setAscent(ascent);
92 fontMetrics.setDescent(descent);
93 fontMetrics.setLineGap(lineGap);
94 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
95 fontMetrics.setXHeight(xHeight);
SVGLengthContext.cpp 31 #include "core/platform/graphics/FontMetrics.h"
261 float xHeight = ceilf(style->fontMetrics().xHeight());
280 return value * ceilf(style->fontMetrics().xHeight());
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 36 #include "core/platform/graphics/FontMetrics.h"
144 IntSize labelSize(labelFont.width(labelRun), labelFont.fontMetrics().ascent() + labelFont.fontMetrics().descent());
156 urlStringSize.setHeight(urlFont.fontMetrics().ascent() + urlFont.fontMetrics().descent());
183 IntPoint textPos(kDragLabelBorderX, imageSize.height() - (kLabelBorderYOffset + urlFont.fontMetrics().descent()));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
EllipsisBox.cpp 76 FloatPoint textOrigin(boxOrigin.x(), boxOrigin.y() + style->fontMetrics().ascent());
119 y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->fontMetrics().ascent()));
161 LayoutUnit mty = adjustedLocation.y() + style->fontMetrics().ascent() - (markupBox->y() + markupBox->renderer()->style(isFirstLineStyle())->fontMetrics().ascent());
RenderEmbeddedObject.cpp 169 const FontMetrics& fontMetrics = font.fontMetrics();
171 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
RootInlineBox.cpp 368 LayoutUnit lineGridFontAscent = lineGrid->style()->fontMetrics().ascent(baselineType());
375 LayoutUnit currentFontAscent = block()->style()->fontMetrics().ascent(baselineType());
    [all...]