Lines Matching defs:intRect
181 void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
198 IntRect scrollRect = rect;
214 IntRect intRect = pixelSnappedIntRect(paintInvalidationRect);
217 addScrollbarDamage(scrollbar, intRect);
219 box().invalidatePaintRectangle(intRect);
222 void RenderLayerScrollableArea::invalidateScrollCornerRect(const IntRect& rect)
253 static IntRect cornerRect(const RenderStyle* style, const Scrollbar* horizontalScrollbar, const Scrollbar* verticalScrollbar, const IntRect& bounds)
272 return IntRect(cornerStart(style, bounds.x(), bounds.maxX(), horizontalThickness),
278 IntRect RenderLayerScrollableArea::scrollCornerRect() const
289 return IntRect();
292 IntRect RenderLayerScrollableArea::convertFromScrollbarToContainingView(const Scrollbar* scrollbar, const IntRect& scrollbarRect) const
298 IntRect rect = scrollbarRect;
304 IntRect RenderLayerScrollableArea::convertFromContainingViewToScrollbar(const Scrollbar* scrollbar, const IntRect& parentRect) const
310 IntRect rect = view->frameView()->convertToRenderer(box(), parentRect);
434 IntRect RenderLayerScrollableArea::visibleContentRect(IncludeScrollbarsInRect scrollbarInclusion) const
443 return IntRect(IntPoint(scrollXOffset(), scrollYOffset()),
488 IntRect RenderLayerScrollableArea::scrollableAreaBoundingBox() const
787 IntRect RenderLayerScrollableArea::rectForHorizontalScrollbar(const IntRect& borderBoxRect) const
790 return IntRect();
792 const IntRect& scrollCorner = scrollCornerRect();
794 return IntRect(horizontalScrollbarStart(borderBoxRect.x()),
800 IntRect RenderLayerScrollableArea::rectForVerticalScrollbar(const IntRect& borderBoxRect) const
803 return IntRect();
805 const IntRect& scrollCorner = scrollCornerRect();
807 return IntRect(verticalScrollbarStart(borderBoxRect.x(), borderBoxRect.maxX()),
955 const IntRect borderBox = box().pixelSnappedBorderBoxRect();
957 IntRect vBarRect = rectForVerticalScrollbar(borderBox);
963 IntRect hBarRect = rectForHorizontalScrollbar(borderBox);
968 const IntRect& scrollCorner = scrollCornerRect();
1003 void RenderLayerScrollableArea::paintOverflowControls(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect, bool paintingOverlayControls)
1029 IntRect localDamgeRect = damageRect;
1065 void RenderLayerScrollableArea::paintScrollCorner(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect)
1067 IntRect absRect = scrollCornerRect();
1088 IntRect resizeControlRect;
1124 IntRect RenderLayerScrollableArea::resizerCornerRect(const IntRect& bounds, ResizerHitTestType resizerHitTestType) const
1127 return IntRect();
1128 IntRect corner = cornerRect(box().style(), horizontalScrollbar(), verticalScrollbar(), bounds);
1143 IntRect RenderLayerScrollableArea::scrollCornerAndResizerRect() const
1145 IntRect scrollCornerAndResizer = scrollCornerRect();
1151 bool RenderLayerScrollableArea::overflowControlsIntersectRect(const IntRect& localRect) const
1153 const IntRect borderBox = box().pixelSnappedBorderBoxRect();
1170 void RenderLayerScrollableArea::paintResizer(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect)
1175 IntRect absRect = resizerCornerRect(box().pixelSnappedBorderBoxRect(), ResizerForPointer);
1192 IntRect largerCorner = absRect;
1207 IntRect localBounds(0, 0, box().pixelSnappedWidth(), box().pixelSnappedHeight());
1261 void RenderLayerScrollableArea::drawPlatformResizerImage(GraphicsContext* context, IntRect resizerCornerRect)
1282 context->drawImage(resizeCornerImage.get(), IntRect(IntPoint(), cornerResizerSize));
1286 IntRect imageRect(resizerCornerRect.maxXMaxYCorner() - cornerResizerSize, cornerResizerSize);