HomeSort by relevance Sort by last modified time
    Searched full:replacementtextrect (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderEmbeddedObject.cpp 141 FloatRect replacementTextRect;
145 if (!getReplacementTextGeometry(paintOffset, contentRect, path, replacementTextRect, font, run, textWidth))
155 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
156 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
158 runInfo.bounds = replacementTextRect;
164 bool RenderEmbeddedObject::getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth) const
183 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
184 float x = (contentRect.size().width() / 2 - replacementTextRect.size().width() / 2) + contentRect.location().x()
    [all...]
RenderEmbeddedObject.h 76 bool getReplacementTextGeometry(const LayoutPoint& accumulatedOffset, FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth) const;

Completed in 49 milliseconds