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

  /external/webkit/Source/WebCore/rendering/
RenderEmbeddedObject.cpp 162 FloatRect replacementTextRect;
166 if (!getReplacementTextGeometry(tx, ty, contentRect, path, replacementTextRect, font, run, textWidth))
176 float labelX = roundf(replacementTextRect.location().x() + (replacementTextRect.size().width() - textWidth) / 2);
177 float labelY = roundf(replacementTextRect.location().y() + (replacementTextRect.size().height() - fontMetrics.height()) / 2 + fontMetrics.ascent());
184 bool RenderEmbeddedObject::getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth)
204 replacementTextRect.setSize(FloatSize(textWidth + replacementTextRoundedRectLeftRightTextMargin * 2, replacementTextRoundedRectHeight));
205 float x = (contentRect.size().width() / 2 - replacementTextRect.size().width() / 2) + contentRect.location().x();
206 float y = (contentRect.size().height() / 2 - replacementTextRect.size().height() / 2) + contentRect.location().y()
    [all...]
RenderEmbeddedObject.h 71 bool getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path&, FloatRect& replacementTextRect, Font&, TextRun&, float& textWidth);

Completed in 36 milliseconds