Home | History | Annotate | Download | only in rendering

Lines Matching refs:contentRect

160     FloatRect contentRect;
166 if (!getReplacementTextGeometry(tx, ty, contentRect, path, replacementTextRect, font, run, textWidth))
170 context->clip(contentRect);
184 bool RenderEmbeddedObject::getReplacementTextGeometry(int tx, int ty, FloatRect& contentRect, Path& path, FloatRect& replacementTextRect, Font& font, TextRun& run, float& textWidth)
186 contentRect = contentBoxRect();
187 contentRect.move(tx, ty);
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();
255 FloatRect contentRect;
261 if (!getReplacementTextGeometry(0, 0, contentRect, path, replacementTextRect, font, run, textWidth))