Home | History | Annotate | Download | only in rendering

Lines Matching refs:rect

317     IntRect rect = contentBoxRect();
319 rect.move(absPos.x(), absPos.y());
320 return rect;
325 IntRect rect = contentBoxRect();
326 return localToAbsoluteQuad(FloatRect(rect));
790 // Now that we know this image is being used, compute the renderer and the rect
1052 IntRect rect(x(), y(), 1, 1);
1053 cb->adjustRectForColumns(rect);
1054 offset.expand(rect.x(), rect.y());
1139 // The theme may wish to inflate the rect used when repainting.
1153 void RenderBox::computeRectForRepaint(RenderBoxModelObject* repaintContainer, IntRect& rect, bool fixed)
1161 rect = layer()->transform()->mapRect(rect);
1164 rect.move(layer()->relativePositionOffset());
1166 rect.move(x(), y());
1167 rect.move(layoutState->m_offset);
1169 rect.intersect(layoutState->m_clipRect);
1175 rect.unite(reflectedRect(rect));
1185 IntPoint topLeft = rect.location();
1194 IntRect repaintRect(topLeft, rect.size());
1197 rect = repaintRect;
1205 rect = layer()->transform()->mapRect(rect);
1207 topLeft = rect.location();
1216 // right dirty rect. Since this is called from RenderObject::setStyle, the relative position
1221 // FIXME: We ignore the lightweight clipping rect that controls use, since if |o| is in mid-layout,
1231 IntRect repaintRect(topLeft, rect.size());
1233 rect = intersection(repaintRect, boxRect);
1234 if (rect.isEmpty())
1237 rect.setLocation(topLeft);
1240 // If the repaintContainer is below o, then we need to map the rect into repaintContainer's coordinates.
1242 rect.move(-containerOffset);
1246 o->computeRectForRepaint(repaintContainer, rect, fixed);
1249 void RenderBox::repaintDuringLayoutIfMoved(const IntRect& rect)
1255 if (rect.x() != newX || rect.y() != newY) {
1258 m_frameRect = rect;
2712 IntRect rect(x(), y(), caretWidth, height());
2716 rect
2721 rect.setY(top);
2722 rect.setHeight(rootBox->lineBottom() - top);
2734 if (fontHeight > rect.height() || (!isReplaced() && !isTable()))
2735 rect.setHeight(fontHeight);
2738 *extraWidthToEndOfLine = x() + width() - rect.right();
2741 rect.move(-x(), -y());
2742 return rect;
2920 void RenderBox::addLayoutOverflow(const IntRect& rect)
2923 if (borderBox.contains(rect))
2929 m_overflow->addLayoutOverflow(rect);
2932 void RenderBox::addVisualOverflow(const IntRect& rect)
2935 if (borderBox.contains(rect))
2941 m_overflow->addVisualOverflow(rect);