rect 153 Source/core/accessibility/AXListBox.cpp LayoutRect rect = toRenderListBox(m_renderer)->itemBoundingBoxRect(parentRect.location(), i); rect 156 Source/core/accessibility/AXListBox.cpp if (rect.contains(point)) { rect 93 Source/core/accessibility/AXListBoxOption.cpp LayoutRect rect; rect 95 Source/core/accessibility/AXListBoxOption.cpp return rect; rect 99 Source/core/accessibility/AXListBoxOption.cpp return rect; rect 103 Source/core/accessibility/AXListBoxOption.cpp return rect; rect 108 Source/core/accessibility/AXListBoxOption.cpp rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index); rect 110 Source/core/accessibility/AXListBoxOption.cpp return rect; rect 469 Source/core/accessibility/AXObject.cpp LayoutRect rect = elementRect(); rect 470 Source/core/accessibility/AXObject.cpp return roundedIntPoint(LayoutPoint(rect.x() + rect.width() / 2, rect.y() + rect.height() / 2)); rect 2101 Source/core/accessibility/AXRenderObject.cpp void AXRenderObject::offsetBoundingBoxForRemoteSVGElement(LayoutRect& rect) const rect 2105 Source/core/accessibility/AXRenderObject.cpp rect.moveBy(parent->parentObject()->elementRect().location()); rect 248 Source/core/css/BasicShapeFunctions.cpp RefPtr<BasicShapeInset> rect = BasicShapeInset::create(); rect 250 Source/core/css/BasicShapeFunctions.cpp rect->setTop(convertToLength(state, rectValue->top())); rect 251 Source/core/css/BasicShapeFunctions.cpp rect->setRight(convertToLength(state, rectValue->right())); rect 252 Source/core/css/BasicShapeFunctions.cpp rect->setBottom(convertToLength(state, rectValue->bottom())); rect 253 Source/core/css/BasicShapeFunctions.cpp rect->setLeft(convertToLength(state, rectValue->left())); rect 255 Source/core/css/BasicShapeFunctions.cpp rect->setTopLeftRadius(convertToLengthSize(state, rectValue->topLeftRadius())); rect 256 Source/core/css/BasicShapeFunctions.cpp rect->setTopRightRadius(convertToLengthSize(state, rectValue->topRightRadius())); rect 257 Source/core/css/BasicShapeFunctions.cpp rect->setBottomRightRadius(convertToLengthSize(state, rectValue->bottomRightRadius())); rect 258 Source/core/css/BasicShapeFunctions.cpp rect->setBottomLeftRadius(convertToLengthSize(state, rectValue->bottomLeftRadius())); rect 260 Source/core/css/BasicShapeFunctions.cpp basicShape = rect.release(); rect 2554 Source/core/css/CSSComputedStyleDeclaration.cpp RefPtrWillBeRawPtr<Rect> rect = Rect::create(); rect 2555 Source/core/css/CSSComputedStyleDeclaration.cpp rect->setTop(zoomAdjustedPixelValue(style->clip().top().value(), *style)); rect 2556 Source/core/css/CSSComputedStyleDeclaration.cpp rect->setRight(zoomAdjustedPixelValue(style->clip().right().value(), *style)); rect 2557 Source/core/css/CSSComputedStyleDeclaration.cpp rect->setBottom(zoomAdjustedPixelValue(style->clip().bottom().value(), *style)); rect 2558 Source/core/css/CSSComputedStyleDeclaration.cpp rect->setLeft(zoomAdjustedPixelValue(style->clip().left().value(), *style)); rect 2559 Source/core/css/CSSComputedStyleDeclaration.cpp return cssValuePool().createValue(rect.release()); rect 199 Source/core/css/CSSCrossfadeValue.cpp void CSSCrossfadeValue::CrossfadeSubimageObserverProxy::imageChanged(ImageResource*, const IntRect* rect) rect 202 Source/core/css/CSSCrossfadeValue.cpp m_ownerValue->crossfadeChanged(*rect); rect 410 Source/core/css/CSSPrimitiveValue.cpp m_value.rect = r.leakRef(); rect 466 Source/core/css/CSSPrimitiveValue.cpp m_value.rect->deref(); rect 898 Source/core/css/CSSPrimitiveValue.cpp return m_value.rect; rect 1159 Source/core/css/CSSPrimitiveValue.cpp result = CSSPrimitiveValue::create(m_value.rect->cloneForCSSOM()); rect 1282 Source/core/css/CSSPrimitiveValue.cpp return m_value.rect && other.m_value.rect && m_value.rect->equals(*other.m_value.rect); rect 1306 Source/core/css/CSSPrimitiveValue.cpp visitor->trace(m_value.rect); rect 316 Source/core/css/CSSPrimitiveValue.h Rect* getRectValue() const { return m_primitiveUnitType != CSS_RECT ? 0 : m_value.rect; } rect 407 Source/core/css/CSSPrimitiveValue.h Rect* rect; rect 3967 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<Rect> rect = Rect::create(); rect 3979 Source/core/css/parser/CSSPropertyParser.cpp rect->setTop(length); rect 3981 Source/core/css/parser/CSSPropertyParser.cpp rect->setRight(length); rect 3983 Source/core/css/parser/CSSPropertyParser.cpp rect->setBottom(length); rect 3985 Source/core/css/parser/CSSPropertyParser.cpp rect->setLeft(length); rect 3998 Source/core/css/parser/CSSPropertyParser.cpp addProperty(propId, cssValuePool().createValue(rect.release()), important); rect 115 Source/core/css/resolver/StyleBuilderCustom.cpp if (Rect* rect = primitiveValue->getRectValue()) { rect 116 Source/core/css/resolver/StyleBuilderCustom.cpp Length top = clipConvertToLength(state, rect->top()); rect 117 Source/core/css/resolver/StyleBuilderCustom.cpp Length right = clipConvertToLength(state, rect->right()); rect 118 Source/core/css/resolver/StyleBuilderCustom.cpp Length bottom = clipConvertToLength(state, rect->bottom()); rect 119 Source/core/css/resolver/StyleBuilderCustom.cpp Length left = clipConvertToLength(state, rect->left()); rect 37 Source/core/dom/ClientRect.cpp ClientRect::ClientRect(const IntRect& rect) rect 38 Source/core/dom/ClientRect.cpp : m_rect(rect) rect 43 Source/core/dom/ClientRect.cpp ClientRect::ClientRect(const FloatRect& rect) rect 44 Source/core/dom/ClientRect.cpp : m_rect(rect) rect 42 Source/core/dom/ClientRect.h static PassRefPtr<ClientRect> create(const IntRect& rect) { return adoptRef(new ClientRect(rect)); } rect 43 Source/core/dom/ClientRect.h static PassRefPtr<ClientRect> create(const FloatRect& rect) { return adoptRef(new ClientRect(rect)); } rect 5149 Source/core/dom/Document.cpp void Document::adjustFloatRectForScrollAndAbsoluteZoom(FloatRect& rect, RenderObject& renderer) rect 5155 Source/core/dom/Document.cpp rect.move(-FloatSize(visibleContentRect.x().toFloat(), visibleContentRect.y().toFloat())); rect 5156 Source/core/dom/Document.cpp adjustFloatRectForAbsoluteZoom(rect, renderer); rect 827 Source/core/dom/Position.cpp static int boundingBoxLogicalHeight(RenderObject *o, const IntRect &rect) rect 829 Source/core/dom/Position.cpp return o->style()->isHorizontalWritingMode() ? rect.height() : rect.width(); rect 52 Source/core/dom/RenderedDocumentMarker.h static const LayoutRect rect = LayoutRect(-1, -1, -1, -1); rect 53 Source/core/dom/RenderedDocumentMarker.h return rect; rect 170 Source/core/editing/Caret.cpp IntRect CaretBase::absoluteBoundsForLocalRect(Node* node, const LayoutRect& rect) const rect 176 Source/core/editing/Caret.cpp LayoutRect localRect(rect); rect 182 Source/core/editing/Caret.cpp void CaretBase::repaintCaretForLocalRect(Node* node, const LayoutRect& rect) rect 190 Source/core/editing/Caret.cpp LayoutRect inflatedRect = rect; rect 1038 Source/core/editing/FrameSelection.cpp IntRect rect = c.absoluteCaretBounds(); rect 1039 Source/core/editing/FrameSelection.cpp if (rect.isEmpty()) rect 1041 Source/core/editing/FrameSelection.cpp y = rect.y() + rect.height() / 2; rect 1772 Source/core/editing/FrameSelection.cpp LayoutRect rect; rect 1778 Source/core/editing/FrameSelection.cpp rect = absoluteCaretBounds(); rect 1781 Source/core/editing/FrameSelection.cpp rect = revealExtentOption == RevealExtent ? VisiblePosition(extent()).absoluteCaretBounds() : enclosingIntRect(bounds(false)); rect 1791 Source/core/editing/FrameSelection.cpp if (start.deprecatedNode()->renderer()->scrollRectToVisible(rect, alignment, alignment)) rect 457 Source/core/fetch/ImageResource.cpp void ImageResource::changedInRect(const WebCore::Image* image, const IntRect& rect) rect 461 Source/core/fetch/ImageResource.cpp notifyObservers(&rect); rect 345 Source/core/frame/FrameView.cpp void FrameView::invalidateRect(const IntRect& rect) rect 349 Source/core/frame/FrameView.cpp window->invalidateContentsAndRootView(rect); rect 357 Source/core/frame/FrameView.cpp IntRect repaintRect = rect; rect 511 Source/core/frame/FrameView.cpp const IntRect rect = renderView->documentRect(); rect 512 Source/core/frame/FrameView.cpp const IntSize& size = rect.size(); rect 513 Source/core/frame/FrameView.cpp ScrollView::setScrollOrigin(IntPoint(-rect.x(), -rect.y()), !m_frame->document()->printing(), size == contentsSize()); rect 1142 Source/core/frame/FrameView.cpp LayoutRect rect = quad.enclosingBoundingBox(); rect 1143 Source/core/frame/FrameView.cpp debugInfo.currentLayoutRects().append(rect); rect 1523 Source/core/frame/FrameView.cpp LayoutRect rect(frameRenderer->borderLeft() + frameRenderer->paddingLeft(), rect 1526 Source/core/frame/FrameView.cpp frameRenderer->repaintRectangle(rect); rect 1624 Source/core/frame/FrameView.cpp void FrameView::scrollElementToRect(Element* element, const IntRect& rect) rect 1629 Source/core/frame/FrameView.cpp int centeringOffsetX = (rect.width() - bounds.width()) / 2; rect 1630 Source/core/frame/FrameView.cpp int centeringOffsetY = (rect.height() - bounds.height()) / 2; rect 1631 Source/core/frame/FrameView.cpp setScrollPosition(IntPoint(bounds.x() - centeringOffsetX - rect.x(), bounds.y() - centeringOffsetY - rect.y())); rect 2002 Source/core/frame/FrameView.cpp LayoutRect rect; rect 2004 Source/core/frame/FrameView.cpp rect = anchorNode->boundingBox(); rect 2008 Source/core/frame/FrameView.cpp anchorNode->renderer()->scrollRectToVisible(rect, ScrollAlignment::alignToEdgeIfNeeded, ScrollAlignment::alignTopAlways); rect 2371 Source/core/frame/FrameView.cpp void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) rect 2374 Source/core/frame/FrameView.cpp IntRect dirtyRect = rect; rect 2605 Source/core/frame/FrameView.cpp void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect) rect 2610 Source/core/frame/FrameView.cpp toFill.intersect(rect); rect 2614 Source/core/frame/FrameView.cpp ScrollView::paintScrollbar(context, bar, rect); rect 2713 Source/core/frame/FrameView.cpp void FrameView::paintContents(GraphicsContext* p, const IntRect& rect) rect 2733 Source/core/frame/FrameView.cpp p->fillRect(rect, Color(0xFF, 0, 0)); rect 2761 Source/core/frame/FrameView.cpp document->markers().invalidateRenderedRectsForMarkersInRect(rect); rect 2779 Source/core/frame/FrameView.cpp rootLayer->paint(p, rect, m_paintBehavior, enclosingLayerRenderer); rect 2782 Source/core/frame/FrameView.cpp rootLayer->paintOverlayScrollbars(p, rect, m_paintBehavior, renderer); rect 2800 Source/core/frame/FrameView.cpp InspectorInstrumentation::didPaint(renderView, 0, p, rect); rect 2978 Source/core/frame/FrameView.cpp IntRect rect = pixelSnappedIntRect(enclosingLayoutRect(renderer->localToAbsoluteQuad(FloatRect(rendererRect)).boundingBox())); rect 2981 Source/core/frame/FrameView.cpp rect.moveBy(-scrollPosition()); rect 2983 Source/core/frame/FrameView.cpp return rect; rect 2988 Source/core/frame/FrameView.cpp IntRect rect = viewRect; rect 2991 Source/core/frame/FrameView.cpp rect.moveBy(scrollPosition()); rect 2995 Source/core/frame/FrameView.cpp rect.setLocation(roundedIntPoint(renderer->absoluteToLocal(rect.location(), UseTransforms))); rect 2996 Source/core/frame/FrameView.cpp return rect; rect 3028 Source/core/frame/FrameView.cpp IntRect rect(localRect); rect 3030 Source/core/frame/FrameView.cpp rect.move(renderer->borderLeft() + renderer->paddingLeft(), rect 3032 Source/core/frame/FrameView.cpp return parentView->convertFromRenderer(renderer, rect); rect 3052 Source/core/frame/FrameView.cpp IntRect rect = parentView->convertToRenderer(renderer, parentRect); rect 3054 Source/core/frame/FrameView.cpp rect.move(-renderer->borderLeft() - renderer->paddingLeft(), rect 3056 Source/core/frame/FrameView.cpp return rect; rect 21 Source/core/frame/ImageBitmap.cpp static inline IntRect normalizeRect(const IntRect& rect) rect 23 Source/core/frame/ImageBitmap.cpp return IntRect(min(rect.x(), rect.maxX()), rect 24 Source/core/frame/ImageBitmap.cpp min(rect.y(), rect.maxY()), rect 25 Source/core/frame/ImageBitmap.cpp max(rect.width(), -rect.width()), rect 26 Source/core/frame/ImageBitmap.cpp max(rect.height(), -rect.height())); rect 316 Source/core/frame/LocalFrame.cpp LayoutRect rect = editor().firstRectForRange(previousCharacterRange.get()); rect 317 Source/core/frame/LocalFrame.cpp if (rect.contains(framePoint)) rect 323 Source/core/frame/LocalFrame.cpp LayoutRect rect = editor().firstRectForRange(nextCharacterRange.get()); rect 324 Source/core/frame/LocalFrame.cpp if (rect.contains(framePoint)) rect 30 Source/core/frame/RemoteFrameView.cpp void RemoteFrameView::invalidateRect(const IntRect& rect) rect 36 Source/core/frame/RemoteFrameView.cpp IntRect repaintRect = rect; rect 46 Source/core/frame/SmartClip.cpp static IntRect applyScaleWithoutCollapsingToZero(const IntRect& rect, float scale) rect 48 Source/core/frame/SmartClip.cpp IntRect result = rect; rect 50 Source/core/frame/SmartClip.cpp if (rect.width() > 0 && !result.width()) rect 52 Source/core/frame/SmartClip.cpp if (rect.height() > 0 && !result.height()) rect 45 Source/core/frame/SmartClip.h SmartClipData(Node* node, IntRect rect, String string) rect 47 Source/core/frame/SmartClip.h , m_rect(rect) rect 209 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::didDraw(const FloatRect& rect) rect 215 Source/core/html/HTMLCanvasElement.cpp FloatRect r = mapRect(rect, FloatRect(0, 0, size().width(), size().height()), destRect); rect 224 Source/core/html/HTMLCanvasElement.cpp notifyObserversCanvasChanged(rect); rect 227 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::notifyObserversCanvasChanged(const FloatRect& rect) rect 231 Source/core/html/HTMLCanvasElement.cpp (*it)->canvasChanged(this, rect); rect 51 Source/core/html/canvas/CanvasPathMethods.h void rect(float x, float y, float width, float height); rect 72 Source/core/html/canvas/CanvasPathMethods.h static void rect(CanvasPathMethods& object, float x, float y, float width, float height) rect 73 Source/core/html/canvas/CanvasPathMethods.h { object.rect(x, y, width, height); } rect 1268 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); rect 1271 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!computeDirtyRect(rect, &dirtyRect)) rect 1294 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->clearRect(rect); rect 1322 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); rect 1323 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (rectContainsTransformedRect(rect, clipBounds)) { rect 1324 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->fillRect(rect); rect 1327 Source/core/html/canvas/CanvasRenderingContext2D.cpp fullCanvasCompositedFill(rect); rect 1331 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->fillRect(rect); rect 1335 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (computeDirtyRect(rect, clipBounds, &dirtyRect)) { rect 1336 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->fillRect(rect); rect 1361 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect rect(x, y, width, height); rect 1363 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatRect boundingRect = rect; rect 1367 Source/core/html/canvas/CanvasRenderingContext2D.cpp c->strokeRect(rect, state().m_lineWidth); rect 1451 Source/core/html/canvas/CanvasRenderingContext2D.cpp static inline FloatRect normalizeRect(const FloatRect& rect) rect 1453 Source/core/html/canvas/CanvasRenderingContext2D.cpp return FloatRect(min(rect.x(), rect.maxX()), rect 1454 Source/core/html/canvas/CanvasRenderingContext2D.cpp min(rect.y(), rect.maxY()), rect 1455 Source/core/html/canvas/CanvasRenderingContext2D.cpp max(rect.width(), -rect.width()), rect 1456 Source/core/html/canvas/CanvasRenderingContext2D.cpp max(rect.height(), -rect.height())); rect 1636 Source/core/html/canvas/CanvasRenderingContext2D.cpp bool CanvasRenderingContext2D::rectContainsTransformedRect(const FloatRect& rect, const FloatRect& transformedRect) const rect 1638 Source/core/html/canvas/CanvasRenderingContext2D.cpp FloatQuad quad(rect); rect 1657 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void fillPrimitive(const FloatRect& rect, GraphicsContext* context) rect 1659 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->fillRect(rect); rect 2276 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::inflateStrokeRect(FloatRect& rect) const rect 2288 Source/core/html/canvas/CanvasRenderingContext2D.cpp rect.inflate(delta); rect 439 Source/core/html/shadow/TextControlInnerElements.cpp IntRect rect = document().view()->contentsToRootView(pixelSnappedBoundingBox()); rect 440 Source/core/html/shadow/TextControlInnerElements.cpp if (speechInput()->startRecognition(m_listenerId, rect, language, grammar, document().securityOrigin())) rect 80 Source/core/inspector/InspectorLayerTreeAgent.cpp static PassRefPtr<TypeBuilder::LayerTree::ScrollRect> buildScrollRect(const blink::WebRect& rect, const TypeBuilder::LayerTree::ScrollRect::Type::Enum& type) rect 83 Source/core/inspector/InspectorLayerTreeAgent.cpp .setX(rect.x) rect 84 Source/core/inspector/InspectorLayerTreeAgent.cpp .setY(rect.y) rect 85 Source/core/inspector/InspectorLayerTreeAgent.cpp .setHeight(rect.height) rect 86 Source/core/inspector/InspectorLayerTreeAgent.cpp .setWidth(rect.width); rect 199 Source/core/inspector/InspectorLayerTreeAgent.cpp void InspectorLayerTreeAgent::didPaint(RenderObject*, const GraphicsLayer* graphicsLayer, GraphicsContext*, const LayoutRect& rect) rect 206 Source/core/inspector/InspectorLayerTreeAgent.cpp .setX(rect.x()) rect 207 Source/core/inspector/InspectorLayerTreeAgent.cpp .setY(rect.y()) rect 208 Source/core/inspector/InspectorLayerTreeAgent.cpp .setWidth(rect.width()) rect 209 Source/core/inspector/InspectorLayerTreeAgent.cpp .setHeight(rect.height()); rect 322 Source/core/inspector/InspectorOverlay.cpp void InspectorOverlay::drawOutline(GraphicsContext* context, const LayoutRect& rect, const Color& color) rect 324 Source/core/inspector/InspectorOverlay.cpp FloatRect outlineRect = rect; rect 1016 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext* context, const LayoutRect& rect) rect 1028 Source/core/inspector/InspectorPageAgent.cpp LayoutRect inflatedRect(rect); rect 1270 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::localToPageQuad(const RenderObject& renderer, const LayoutRect& rect, FloatQuad* quad) rect 1274 Source/core/inspector/InspectorTimelineAgent.cpp FloatQuad absolute = renderer.localToAbsoluteQuad(FloatQuad(rect)); rect 83 Source/core/page/Chrome.cpp IntRect Chrome::rootViewToScreen(const IntRect& rect) const rect 85 Source/core/page/Chrome.cpp return m_client->rootViewToScreen(rect); rect 98 Source/core/page/Chrome.cpp void Chrome::setWindowRect(const FloatRect& rect) const rect 100 Source/core/page/Chrome.cpp m_client->setWindowRect(rect); rect 3585 Source/core/page/EventHandler.cpp IntRect rect = frame->view()->visibleContentRect(); rect 3586 Source/core/page/EventHandler.cpp if (!rect.contains(roundedIntPoint(point))) rect 738 Source/core/page/FocusController.cpp if (frameOwnerElement(candidate) && (!frameOwnerElement(candidate)->contentFrame() || candidate.rect.isEmpty())) rect 757 Source/core/page/FocusController.cpp LayoutRect intersectionRect = intersection(candidate.rect, closest.rect); rect 787 Source/core/page/FocusController.cpp current.rect = startingRect; rect 841 Source/core/page/FocusController.cpp LayoutRect rect; rect 844 Source/core/page/FocusController.cpp rect = nodeRectInAbsoluteCoordinates(focusedElement, true /* ignore border */); rect 846 Source/core/page/FocusController.cpp if (!advanceFocusDirectionallyInContainer(frameElement->contentFrame()->document(), rect, type)) { rect 101 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, const IntRect& rect, SharedBuffer* data) rect 105 Source/core/page/PagePopupClient.cpp addProperty("x", rect.x(), data); rect 106 Source/core/page/PagePopupClient.cpp addProperty("y", rect.y(), data); rect 107 Source/core/page/PagePopupClient.cpp addProperty("width", rect.width(), data); rect 108 Source/core/page/PagePopupClient.cpp addProperty("height", rect.height(), data); rect 208 Source/core/page/PrintContext.cpp void PrintContext::spoolRect(GraphicsContext& ctx, const IntRect& rect) rect 212 Source/core/page/PrintContext.cpp ctx.translate(-rect.x(), -rect.y()); rect 213 Source/core/page/PrintContext.cpp ctx.clip(rect); rect 214 Source/core/page/PrintContext.cpp m_frame->view()->paintContents(&ctx, rect); rect 78 Source/core/page/SpatialNavigation.cpp rect = virtualRectForAreaElementAndDirection(area, type); rect 84 Source/core/page/SpatialNavigation.cpp rect = nodeRectInAbsoluteCoordinates(node, true /* ignore border */); rect 117 Source/core/page/SpatialNavigation.cpp static inline LayoutUnit start(FocusType type, const LayoutRect& rect) rect 119 Source/core/page/SpatialNavigation.cpp return isHorizontalMove(type) ? rect.y() : rect.x(); rect 122 Source/core/page/SpatialNavigation.cpp static inline LayoutUnit middle(FocusType type, const LayoutRect& rect) rect 124 Source/core/page/SpatialNavigation.cpp LayoutPoint center(rect.center()); rect 128 Source/core/page/SpatialNavigation.cpp static inline LayoutUnit end(FocusType type, const LayoutRect& rect) rect 130 Source/core/page/SpatialNavigation.cpp return isHorizontalMove(type) ? rect.maxY() : rect.maxX(); rect 330 Source/core/page/SpatialNavigation.cpp LayoutRect rect(render->absoluteClippedOverflowRect()); rect 331 Source/core/page/SpatialNavigation.cpp if (rect.isEmpty()) rect 334 Source/core/page/SpatialNavigation.cpp return !containerViewportRect.intersects(rect); rect 486 Source/core/page/SpatialNavigation.cpp LayoutRect rect = frame->view()->visibleContentRect(IncludeScrollbars); rect 494 Source/core/page/SpatialNavigation.cpp return rect.width() + offset.width() < size.width(); rect 496 Source/core/page/SpatialNavigation.cpp return rect.height() + offset.height() < size.height(); rect 505 Source/core/page/SpatialNavigation.cpp LayoutRect rect = initialRect; rect 509 Source/core/page/SpatialNavigation.cpp rect.move(element->offsetLeft(), element->offsetTop()); rect 511 Source/core/page/SpatialNavigation.cpp rect.move((-frame->view()->scrollOffset())); rect 514 Source/core/page/SpatialNavigation.cpp return rect; rect 523 Source/core/page/SpatialNavigation.cpp LayoutRect rect = rectToAbsoluteCoordinates(node->document().frame(), node->boundingBox()); rect 528 Source/core/page/SpatialNavigation.cpp rect.move(node->renderer()->style()->borderLeftWidth(), node->renderer()->style()->borderTopWidth()); rect 529 Source/core/page/SpatialNavigation.cpp rect.setWidth(rect.width() - node->renderer()->style()->borderLeftWidth() - node->renderer()->style()->borderRightWidth()); rect 530 Source/core/page/SpatialNavigation.cpp rect.setHeight(rect.height() - node->renderer()->style()->borderTopWidth() - node->renderer()->style()->borderBottomWidth()); rect 532 Source/core/page/SpatialNavigation.cpp return rect; rect 605 Source/core/page/SpatialNavigation.cpp if (!firstCandidate.rect.intersects(secondCandidate.rect)) rect 623 Source/core/page/SpatialNavigation.cpp if ((type == FocusTypeUp && current.rect.y() > candidate.rect.y()) || (type == FocusTypeDown && candidate.rect.y() > current.rect.y())) { rect 630 Source/core/page/SpatialNavigation.cpp LayoutRect nodeRect = candidate.rect; rect 631 Source/core/page/SpatialNavigation.cpp LayoutRect currentRect = current.rect; rect 682 Source/core/page/SpatialNavigation.cpp LayoutRect candidateRect = candidate.rect; rect 730 Source/core/page/SpatialNavigation.cpp LayoutRect rect = virtualRectForDirection(type, rectToAbsoluteCoordinates(area.document().frame(), area.computeRect(area.imageElement()->renderer())), 1); rect 731 Source/core/page/SpatialNavigation.cpp return rect; rect 131 Source/core/page/SpatialNavigation.h LayoutRect rect; rect 320 Source/core/page/TouchAdjustment.cpp IntRect rect = subtarget.boundingBox(); rect 323 Source/core/page/TouchAdjustment.cpp rect = subtarget.node()->document().view()->contentsToWindow(rect); rect 326 Source/core/page/TouchAdjustment.cpp if (!rect.contains(touchHotspot)) rect 328 Source/core/page/TouchAdjustment.cpp IntRect intersection = rect; rect 332 Source/core/page/TouchAdjustment.cpp return rect.size().area() / (float)intersection.size().area(); rect 343 Source/core/page/TouchAdjustment.cpp IntRect rect = subtarget.boundingBox(); rect 346 Source/core/page/TouchAdjustment.cpp rect = subtarget.node()->document().view()->contentsToWindow(rect); rect 349 Source/core/page/TouchAdjustment.cpp float distanceToAdjustScore = rect.distanceSquaredToPoint(touchHotspot) / radiusSquared; rect 351 Source/core/page/TouchAdjustment.cpp int maxOverlapWidth = std::min(touchRect.width(), rect.width()); rect 352 Source/core/page/TouchAdjustment.cpp int maxOverlapHeight = std::min(touchRect.height(), rect.height()); rect 354 Source/core/page/TouchAdjustment.cpp rect.intersect(touchRect); rect 355 Source/core/page/TouchAdjustment.cpp float intersectArea = rect.size().area(); rect 372 Source/core/page/TouchAdjustment.cpp void adjustPointToRect(FloatPoint& point, const FloatRect& rect) rect 374 Source/core/page/TouchAdjustment.cpp if (point.x() < rect.x()) rect 375 Source/core/page/TouchAdjustment.cpp point.setX(rect.x()); rect 376 Source/core/page/TouchAdjustment.cpp else if (point.x() > rect.maxX()) rect 377 Source/core/page/TouchAdjustment.cpp point.setX(rect.maxX()); rect 379 Source/core/page/TouchAdjustment.cpp if (point.y() < rect.y()) rect 380 Source/core/page/TouchAdjustment.cpp point.setY(rect.y()); rect 381 Source/core/page/TouchAdjustment.cpp else if (point.y() > rect.maxY()) rect 382 Source/core/page/TouchAdjustment.cpp point.setY(rect.maxY()); rect 91 Source/core/page/scrolling/ScrollingConstraints.h void setViewportRectAtLastLayout(const FloatRect& rect) { m_viewportRectAtLastLayout = rect; } rect 155 Source/core/page/scrolling/ScrollingConstraints.h void setAbsoluteContainingBlockRect(const FloatRect& rect) { m_absoluteContainingBlockRect = rect; } rect 158 Source/core/page/scrolling/ScrollingConstraints.h void setAbsoluteStickyBoxRect(const FloatRect& rect) { m_absoluteStickyBoxRect = rect; } rect 446 Source/core/page/scrolling/ScrollingCoordinator.cpp LayoutRect rect = layerIter->value[i]; rect 448 Source/core/page/scrolling/ScrollingCoordinator.cpp FloatQuad compositorQuad = geometryMap.mapToContainer(rect, compositedLayer->renderer()); rect 449 Source/core/page/scrolling/ScrollingCoordinator.cpp rect = LayoutRect(compositorQuad.boundingBox()); rect 454 Source/core/page/scrolling/ScrollingCoordinator.cpp rect.move(compositedLayer->renderBox()->scrolledContentOffset()); rect 456 Source/core/page/scrolling/ScrollingCoordinator.cpp compIterValue->append(rect); rect 116 Source/core/plugins/PluginOcclusionSupport.cpp static bool intersectsRect(const RenderObject* renderer, const IntRect& rect) rect 118 Source/core/plugins/PluginOcclusionSupport.cpp return renderer->absoluteBoundingBoxRectIgnoringTransforms().intersects(rect) rect 48 Source/core/rendering/ClipRect.h ClipRect(const LayoutRect& rect) rect 49 Source/core/rendering/ClipRect.h : m_rect(rect) rect 53 Source/core/rendering/ClipRect.h const LayoutRect& rect() const { return m_rect; } rect 54 Source/core/rendering/ClipRect.h void setRect(const LayoutRect& rect) { m_rect = rect; } rect 59 Source/core/rendering/ClipRect.h bool operator==(const ClipRect& other) const { return rect() == other.rect() && hasRadius() == other.hasRadius(); } rect 60 Source/core/rendering/ClipRect.h bool operator!=(const ClipRect& other) const { return rect() != other.rect() || hasRadius() != other.hasRadius(); } rect 61 Source/core/rendering/ClipRect.h bool operator!=(const LayoutRect& otherRect) const { return rect() != otherRect; } rect 66 Source/core/rendering/ClipRect.h m_rect.intersect(other.rect()); rect 75 Source/core/rendering/ClipRect.h bool intersects(const LayoutRect& rect) const { return m_rect.intersects(rect); } rect 250 Source/core/rendering/ClipRect.h void intersect(const LayoutRect& rect) rect 252 Source/core/rendering/ClipRect.h backgroundRect.intersect(rect); rect 253 Source/core/rendering/ClipRect.h foregroundRect.intersect(rect); rect 254 Source/core/rendering/ClipRect.h outlineRect.intersect(rect); rect 38 Source/core/rendering/FloatingObjects.cpp LayoutRect rect; rect 125 Source/core/rendering/HitTestLocation.cpp bool HitTestLocation::intersectsRect(const RectType& rect) const rect 131 Source/core/rendering/HitTestLocation.cpp if (!rect.intersects(m_boundingBox)) rect 139 Source/core/rendering/HitTestLocation.cpp if (rect.contains(m_boundingBox)) rect 143 Source/core/rendering/HitTestLocation.cpp return m_transformedRect.intersectsRect(rect); rect 146 Source/core/rendering/HitTestLocation.cpp bool HitTestLocation::intersects(const LayoutRect& rect) const rect 148 Source/core/rendering/HitTestLocation.cpp return intersectsRect(rect); rect 151 Source/core/rendering/HitTestLocation.cpp bool HitTestLocation::intersects(const FloatRect& rect) const rect 153 Source/core/rendering/HitTestLocation.cpp return intersectsRect(rect); rect 156 Source/core/rendering/HitTestLocation.cpp bool HitTestLocation::intersects(const RoundedRect& rect) const rect 158 Source/core/rendering/HitTestLocation.cpp return rect.intersectsQuad(m_transformedRect); rect 398 Source/core/rendering/HitTestResult.cpp bool HitTestResult::addNodeToRectBasedTestResult(Node* node, const HitTestRequest& request, const HitTestLocation& locationInContainer, const LayoutRect& rect) rect 414 Source/core/rendering/HitTestResult.cpp bool regionFilled = rect.contains(locationInContainer.boundingBox()); rect 418 Source/core/rendering/HitTestResult.cpp bool HitTestResult::addNodeToRectBasedTestResult(Node* node, const HitTestRequest& request, const HitTestLocation& locationInContainer, const FloatRect& rect) rect 434 Source/core/rendering/HitTestResult.cpp bool regionFilled = rect.contains(locationInContainer.boundingBox()); rect 327 Source/core/rendering/InlineBox.cpp void InlineBox::flipForWritingMode(FloatRect& rect) rect 331 Source/core/rendering/InlineBox.cpp root().block().flipForWritingMode(rect); rect 341 Source/core/rendering/InlineBox.cpp void InlineBox::flipForWritingMode(LayoutRect& rect) rect 345 Source/core/rendering/InlineBox.cpp root().block().flipForWritingMode(rect); rect 978 Source/core/rendering/InlineFlowBox.cpp void InlineFlowBox::setLayoutOverflow(const LayoutRect& rect, const LayoutRect& frameBox) rect 980 Source/core/rendering/InlineFlowBox.cpp if (frameBox.contains(rect) || rect.isEmpty()) rect 986 Source/core/rendering/InlineFlowBox.cpp m_overflow->setLayoutOverflow(rect); rect 989 Source/core/rendering/InlineFlowBox.cpp void InlineFlowBox::setVisualOverflow(const LayoutRect& rect, const LayoutRect& frameBox) rect 991 Source/core/rendering/InlineFlowBox.cpp if (frameBox.contains(rect) || rect.isEmpty()) rect 997 Source/core/rendering/InlineFlowBox.cpp m_overflow->setVisualOverflow(rect); rect 1075 Source/core/rendering/InlineFlowBox.cpp LayoutRect rect(minX, minY, width, height); rect 1076 Source/core/rendering/InlineFlowBox.cpp flipForWritingMode(rect); rect 1077 Source/core/rendering/InlineFlowBox.cpp rect.moveBy(accumulatedOffset); rect 1079 Source/core/rendering/InlineFlowBox.cpp if (visibleToHitTestRequest(request) && locationInContainer.intersects(rect)) { rect 1081 Source/core/rendering/InlineFlowBox.cpp if (!result.addNodeToRectBasedTestResult(renderer().node(), request, locationInContainer, rect)) rect 1094 Source/core/rendering/InlineFlowBox.cpp if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) rect 1158 Source/core/rendering/InlineFlowBox.cpp void InlineFlowBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, CompositeOperator op) rect 1162 Source/core/rendering/InlineFlowBox.cpp paintFillLayers(paintInfo, c, fillLayer->next(), rect, op); rect 1163 Source/core/rendering/InlineFlowBox.cpp paintFillLayer(paintInfo, c, fillLayer, rect, op); rect 1175 Source/core/rendering/InlineFlowBox.cpp void InlineFlowBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, CompositeOperator op) rect 1180 Source/core/rendering/InlineFlowBox.cpp boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, rect, BackgroundBleedNone, this, rect.size(), op); rect 1183 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); rect 1184 Source/core/rendering/InlineFlowBox.cpp boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, rect, BackgroundBleedNone, this, rect.size(), op); rect 1207 Source/core/rendering/InlineFlowBox.cpp LayoutUnit stripX = rect.x() - (isHorizontal() ? logicalOffsetOnLine : LayoutUnit()); rect 1208 Source/core/rendering/InlineFlowBox.cpp LayoutUnit stripY = rect.y() - (isHorizontal() ? LayoutUnit() : logicalOffsetOnLine); rect 1213 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); rect 1214 Source/core/rendering/InlineFlowBox.cpp boxModelObject()->paintFillLayerExtended(paintInfo, c, fillLayer, LayoutRect(stripX, stripY, stripWidth, stripHeight), BackgroundBleedNone, this, rect.size(), op); rect 1229 Source/core/rendering/InlineFlowBox.cpp void InlineFlowBox::constrainToLineTopAndBottomIfNeeded(LayoutRect& rect) const rect 1234 Source/core/rendering/InlineFlowBox.cpp LayoutUnit logicalTop = isHorizontal() ? rect.y() : rect.x(); rect 1235 Source/core/rendering/InlineFlowBox.cpp LayoutUnit logicalHeight = isHorizontal() ? rect.height() : rect.width(); rect 1240 Source/core/rendering/InlineFlowBox.cpp rect.setY(logicalTop); rect 1241 Source/core/rendering/InlineFlowBox.cpp rect.setHeight(logicalHeight); rect 1243 Source/core/rendering/InlineFlowBox.cpp rect.setX(logicalTop); rect 1244 Source/core/rendering/InlineFlowBox.cpp rect.setWidth(logicalHeight); rect 97 Source/core/rendering/InlineTextBox.cpp void InlineTextBox::setLogicalOverflowRect(const LayoutRect& rect) rect 102 Source/core/rendering/InlineTextBox.cpp gTextBoxesWithOverflow->add(this, rect); rect 379 Source/core/rendering/InlineTextBox.cpp FloatRect rect(boxOrigin, size()); rect 380 Source/core/rendering/InlineTextBox.cpp if (m_truncation != cFullTruncation && visibleToHitTestRequest(request) && locationInContainer.intersects(rect)) { rect 382 Source/core/rendering/InlineTextBox.cpp if (!result.addNodeToRectBasedTestResult(renderer().node(), request, locationInContainer, rect)) rect 480 Source/core/rendering/InlineTextBox.cpp LayoutUnit paintEnd = isHorizontal() ? paintInfo.rect.maxX() : paintInfo.rect.maxY(); rect 481 Source/core/rendering/InlineTextBox.cpp LayoutUnit paintStart = isHorizontal() ? paintInfo.rect.x() : paintInfo.rect.y(); rect 815 Source/core/rendering/InlineTextBox.cpp void alignSelectionRectToDevicePixels(FloatRect& rect) rect 817 Source/core/rendering/InlineTextBox.cpp float maxX = floorf(rect.maxX()); rect 818 Source/core/rendering/InlineTextBox.cpp rect.setX(floorf(rect.x())); rect 819 Source/core/rendering/InlineTextBox.cpp rect.setWidth(roundf(maxX - rect.x())); rect 56 Source/core/rendering/PaintInfo.h , rect(newRect) rect 95 Source/core/rendering/PaintInfo.h if (rect == infiniteRect()) rect 99 Source/core/rendering/PaintInfo.h rect = localToAncestorTransform.inverse().mapRect(rect); rect 101 Source/core/rendering/PaintInfo.h rect.setSize(IntSize(0, 0)); rect 112 Source/core/rendering/PaintInfo.h IntRect rect; rect 1733 Source/core/rendering/RenderBlock.cpp if (!overflowBox.intersects(paintInfo.rect)) rect 1761 Source/core/rendering/RenderBlock.cpp layer()->scrollableArea()->paintOverflowControls(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect, false /* paintingOverlayControls */); rect 1876 Source/core/rendering/RenderBlock.cpp info.rect.intersect(pixelSnappedIntRect(colRect)); rect 1878 Source/core/rendering/RenderBlock.cpp if (!info.rect.isEmpty()) { rect 1999 Source/core/rendering/RenderBlock.cpp frame()->selection().paintCaret(paintInfo.context, paintOffset, paintInfo.rect); rect 2001 Source/core/rendering/RenderBlock.cpp frame()->page()->dragCaretController().paintDragCaret(frame(), paintInfo.context, paintOffset, paintInfo.rect); rect 3442 Source/core/rendering/RenderBlock.cpp void RenderBlock::adjustStartEdgeForWritingModeIncludingColumns(LayoutRect& rect) const rect 3453 Source/core/rendering/RenderBlock.cpp rect.setY(expandedLogicalHeight - rect.maxY()); rect 3455 Source/core/rendering/RenderBlock.cpp rect.setX(expandedLogicalHeight - rect.maxX()); rect 4604 Source/core/rendering/RenderBlock.cpp LayoutRect rect(additionalOffset.x(), additionalOffset.y() - topMargin, width(), height() + topMargin + bottomMargin); rect 4605 Source/core/rendering/RenderBlock.cpp if (!rect.isEmpty()) rect 4606 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(rect)); rect 4614 Source/core/rendering/RenderBlock.cpp LayoutRect rect(additionalOffset.x() + curr->x(), additionalOffset.y() + top, curr->width(), bottom - top); rect 4615 Source/core/rendering/RenderBlock.cpp if (!rect.isEmpty()) rect 4616 Source/core/rendering/RenderBlock.cpp rects.append(pixelSnappedIntRect(rect)); rect 4645 Source/core/rendering/RenderBlock.cpp LayoutRect rect(layerOffset.x() + curr->x(), layerOffset.y() + top, curr->width(), bottom - top); rect 4647 Source/core/rendering/RenderBlock.cpp if (!rect.isEmpty() && (rects.isEmpty() || !rects[0].contains(rect))) rect 4648 Source/core/rendering/RenderBlock.cpp rects.append(rect); rect 2637 Source/core/rendering/RenderBlockFlow.cpp if (!paintInfo || (isHorizontalWritingMode() && physicalRect.y() < paintInfo->rect.maxY() && physicalRect.maxY() > paintInfo->rect.y()) rect 2638 Source/core/rendering/RenderBlockFlow.cpp || (!isHorizontalWritingMode() && physicalRect.x() < paintInfo->rect.maxX() && physicalRect.maxX() > paintInfo->rect.x())) rect 315 Source/core/rendering/RenderBlockFlow.h , rect(LayoutRect(f->x() - f->marginLeft(), f->y() - f->marginTop(), f->width() + f->marginWidth(), f->height() + f->marginHeight())) rect 321 Source/core/rendering/RenderBlockFlow.h LayoutRect rect; rect 1085 Source/core/rendering/RenderBlockLineLayout.cpp if (layoutState.floats()[layoutState.floatIndex()].rect != f->frameRect()) rect 1791 Source/core/rendering/RenderBlockLineLayout.cpp if (floats[floatIndex].rect.size() != newSize) { rect 1792 Source/core/rendering/RenderBlockLineLayout.cpp LayoutUnit floatTop = isHorizontalWritingMode() ? floats[floatIndex].rect.y() : floats[floatIndex].rect.x(); rect 1793 Source/core/rendering/RenderBlockLineLayout.cpp LayoutUnit floatHeight = isHorizontalWritingMode() ? max(floats[floatIndex].rect.height(), newSize.height()) rect 1794 Source/core/rendering/RenderBlockLineLayout.cpp : max(floats[floatIndex].rect.width(), newSize.width()); rect 1798 Source/core/rendering/RenderBlockLineLayout.cpp floats[floatIndex].rect.setSize(newSize); rect 467 Source/core/rendering/RenderBox.cpp void RenderBox::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) rect 473 Source/core/rendering/RenderBox.cpp LayoutRect newRect = rect; rect 484 Source/core/rendering/RenderBox.cpp newRect = layer()->scrollableArea()->exposeRect(rect, alignX, alignY); rect 497 Source/core/rendering/RenderBox.cpp LayoutRect exposeRect = ScrollAlignment::getRectToExpose(viewRect, rect, alignX, alignY); rect 510 Source/core/rendering/RenderBox.cpp newRect.setX(rect.x() - frameView->scrollX() + frameView->x()); rect 511 Source/core/rendering/RenderBox.cpp newRect.setY(rect.y() - frameView->scrollY() + frameView->y()); rect 518 Source/core/rendering/RenderBox.cpp LayoutRect r = ScrollAlignment::getRectToExpose(viewRect, rect, alignX, alignY); rect 581 Source/core/rendering/RenderBox.cpp IntRect rect = pixelSnappedIntRect(contentBoxRect()); rect 583 Source/core/rendering/RenderBox.cpp rect.move(absPos.x(), absPos.y()); rect 584 Source/core/rendering/RenderBox.cpp return rect; rect 589 Source/core/rendering/RenderBox.cpp LayoutRect rect = contentBoxRect(); rect 590 Source/core/rendering/RenderBox.cpp return localToAbsoluteQuad(FloatRect(rect)); rect 1493 Source/core/rendering/RenderBox.cpp void RenderBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, rect 1526 Source/core/rendering/RenderBox.cpp paintFillLayer(paintInfo, c, *it, rect, bleedAvoidance, op, backgroundObject); rect 1532 Source/core/rendering/RenderBox.cpp void RenderBox::paintFillLayer(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect, rect 1535 Source/core/rendering/RenderBox.cpp paintFillLayerExtended(paintInfo, c, fillLayer, rect, bleedAvoidance, 0, LayoutSize(), op, backgroundObject); rect 2000 Source/core/rendering/RenderBox.cpp void RenderBox::computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect& rect, bool fixed) const rect 2017 Source/core/rendering/RenderBox.cpp rect = layer()->transform()->mapRect(pixelSnappedIntRect(rect)); rect 2021 Source/core/rendering/RenderBox.cpp rect.move(layer()->offsetForInFlowPosition()); rect 2023 Source/core/rendering/RenderBox.cpp rect.moveBy(location()); rect 2024 Source/core/rendering/RenderBox.cpp rect.move(layoutState->paintOffset()); rect 2026 Source/core/rendering/RenderBox.cpp rect.intersect(layoutState->clipRect()); rect 2032 Source/core/rendering/RenderBox.cpp rect.unite(reflectedRect(rect)); rect 2036 Source/core/rendering/RenderBox.cpp flipForWritingMode(rect); rect 2046 Source/core/rendering/RenderBox.cpp flipForWritingMode(rect); rect 2048 Source/core/rendering/RenderBox.cpp LayoutPoint topLeft = rect.location(); rect 2057 Source/core/rendering/RenderBox.cpp rect = layer()->transform()->mapRect(pixelSnappedIntRect(rect)); rect 2058 Source/core/rendering/RenderBox.cpp topLeft = rect.location(); rect 2074 Source/core/rendering/RenderBox.cpp LayoutRect repaintRect(topLeft, rect.size()); rect 2077 Source/core/rendering/RenderBox.cpp rect = repaintRect; rect 2082 Source/core/rendering/RenderBox.cpp rect.setLocation(topLeft); rect 2085 Source/core/rendering/RenderBox.cpp containerBox->applyCachedClipAndScrollOffsetForRepaint(rect); rect 2086 Source/core/rendering/RenderBox.cpp if (rect.isEmpty()) rect 2093 Source/core/rendering/RenderBox.cpp rect.move(-containerOffset); rect 2097 Source/core/rendering/RenderBox.cpp o->computeRectForRepaint(repaintContainer, rect, fixed); rect 3980 Source/core/rendering/RenderBox.cpp LayoutRect rect(location(), LayoutSize(caretWidth, height())); rect 3984 Source/core/rendering/RenderBox.cpp rect.move(LayoutSize(width() - caretWidth, 0)); rect 3989 Source/core/rendering/RenderBox.cpp rect.setY(top); rect 3990 Source/core/rendering/RenderBox.cpp rect.setHeight(rootBox.lineBottom() - top); rect 4002 Source/core/rendering/RenderBox.cpp if (fontHeight > rect.height() || (!isReplaced() && !isTable())) rect 4003 Source/core/rendering/RenderBox.cpp rect.setHeight(fontHeight); rect 4006 Source/core/rendering/RenderBox.cpp *extraWidthToEndOfLine = x() + width() - rect.maxX(); rect 4009 Source/core/rendering/RenderBox.cpp rect.moveBy(-location()); rect 4015 Source/core/rendering/RenderBox.cpp rect.setX(rect.x() + borderLeft() + paddingLeft()); rect 4016 Source/core/rendering/RenderBox.cpp rect.setY(rect.y() + paddingTop() + borderTop()); rect 4020 Source/core/rendering/RenderBox.cpp return rect.transposedRect(); rect 4022 Source/core/rendering/RenderBox.cpp return rect; rect 4210 Source/core/rendering/RenderBox.cpp void RenderBox::addLayoutOverflow(const LayoutRect& rect) rect 4213 Source/core/rendering/RenderBox.cpp if (clientBox.contains(rect) || rect.isEmpty()) rect 4217 Source/core/rendering/RenderBox.cpp LayoutRect overflowRect(rect); rect 4253 Source/core/rendering/RenderBox.cpp void RenderBox::addVisualOverflow(const LayoutRect& rect) rect 4256 Source/core/rendering/RenderBox.cpp if (borderBox.contains(rect) || rect.isEmpty()) rect 4262 Source/core/rendering/RenderBox.cpp m_overflow->addVisualOverflow(rect); rect 4265 Source/core/rendering/RenderBox.cpp void RenderBox::addContentsVisualOverflow(const LayoutRect& rect) rect 4268 Source/core/rendering/RenderBox.cpp addVisualOverflow(rect); rect 4278 Source/core/rendering/RenderBox.cpp m_overflow->addContentsVisualOverflow(rect); rect 4399 Source/core/rendering/RenderBox.cpp LayoutRect rect = visualOverflowRectForPropagation(parentStyle); rect 4401 Source/core/rendering/RenderBox.cpp return rect.transposedRect(); rect 4402 Source/core/rendering/RenderBox.cpp return rect; rect 4409 Source/core/rendering/RenderBox.cpp LayoutRect rect = visualOverflowRect(); rect 4411 Source/core/rendering/RenderBox.cpp return rect; rect 4416 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); rect 4418 Source/core/rendering/RenderBox.cpp rect.setY(height() - rect.maxY()); rect 4420 Source/core/rendering/RenderBox.cpp return rect; rect 4425 Source/core/rendering/RenderBox.cpp LayoutRect rect = layoutOverflowRectForPropagation(parentStyle); rect 4427 Source/core/rendering/RenderBox.cpp return rect.transposedRect(); rect 4428 Source/core/rendering/RenderBox.cpp return rect; rect 4434 Source/core/rendering/RenderBox.cpp LayoutRect rect = borderBoxRect(); rect 4438 Source/core/rendering/RenderBox.cpp rect.expand(isHorizontalWritingMode() ? LayoutSize(LayoutUnit(), marginAfter()) : LayoutSize(marginAfter(), LayoutUnit())); rect 4441 Source/core/rendering/RenderBox.cpp rect.unite(layoutOverflowRect()); rect 4448 Source/core/rendering/RenderBox.cpp flipForWritingMode(rect); rect 4451 Source/core/rendering/RenderBox.cpp rect = layer()->currentTransform().mapRect(rect); rect 4454 Source/core/rendering/RenderBox.cpp rect.move(offsetForInFlowPosition()); rect 4457 Source/core/rendering/RenderBox.cpp flipForWritingMode(rect); rect 4463 Source/core/rendering/RenderBox.cpp return rect; rect 4468 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); rect 4470 Source/core/rendering/RenderBox.cpp rect.setY(height() - rect.maxY()); rect 4472 Source/core/rendering/RenderBox.cpp return rect; rect 4490 Source/core/rendering/RenderBox.cpp LayoutRect rect(left, top, width() - left - right, height() - top - bottom); rect 4491 Source/core/rendering/RenderBox.cpp flipForWritingMode(rect); rect 4502 Source/core/rendering/RenderBox.cpp rect.contract(0, scrollBarHeight); rect 4504 Source/core/rendering/RenderBox.cpp rect.contract(scrollBarWidth, scrollBarHeight); rect 4505 Source/core/rendering/RenderBox.cpp return rect; rect 4541 Source/core/rendering/RenderBox.cpp void RenderBox::flipForWritingMode(LayoutRect& rect) const rect 4547 Source/core/rendering/RenderBox.cpp rect.setY(height() - rect.maxY()); rect 4549 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); rect 4587 Source/core/rendering/RenderBox.cpp void RenderBox::flipForWritingMode(FloatRect& rect) const rect 4593 Source/core/rendering/RenderBox.cpp rect.setY(height() - rect.maxY()); rect 4595 Source/core/rendering/RenderBox.cpp rect.setX(width() - rect.maxX()); rect 4612 Source/core/rendering/RenderBox.cpp LayoutRect rect(frameRect()); rect 4613 Source/core/rendering/RenderBox.cpp containerBlock->flipForWritingMode(rect); // FIXME: This is wrong if we are an absolutely positioned object enclosed by a relative-positioned inline. rect 4614 Source/core/rendering/RenderBox.cpp return LayoutSize(rect.x(), rect.y()); rect 177 Source/core/rendering/RenderBox.h void setFrameRect(const LayoutRect& rect) { m_frameRect = rect; } rect 411 Source/core/rendering/RenderBoxModelObject.cpp void RenderBoxModelObject::clipRoundedInnerRect(GraphicsContext * context, const LayoutRect& rect, const RoundedRect& clipRect) rect 418 Source/core/rendering/RenderBoxModelObject.cpp IntRect topCorner(clipRect.rect().x(), clipRect.rect().y(), rect.maxX() - clipRect.rect().x(), rect.maxY() - clipRect.rect().y()); rect 423 Source/core/rendering/RenderBoxModelObject.cpp IntRect bottomCorner(rect.x(), rect.y(), clipRect.rect().maxX() - rect.x(), clipRect.rect().maxY() - rect.y()); rect 430 Source/core/rendering/RenderBoxModelObject.cpp IntRect topCorner(rect.x(), clipRect.rect().y(), clipRect.rect().maxX() - rect.x(), rect.maxY() - clipRect.rect().y()); rect 435 Source/core/rendering/RenderBoxModelObject.cpp IntRect bottomCorner(clipRect.rect().x(), rect.y(), rect.maxX() - clipRect.rect().x(), clipRect.rect().maxY() - rect.y()); rect 443 Source/core/rendering/RenderBoxModelObject.cpp static LayoutRect shrinkRectByOnePixel(GraphicsContext* context, const LayoutRect& rect) rect 445 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect shrunkRect = rect; rect 452 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect RenderBoxModelObject::borderInnerRectAdjustedForBleedAvoidance(GraphicsContext* context, const LayoutRect& rect, BackgroundBleedAvoidance bleedAvoidance) const rect 455 Source/core/rendering/RenderBoxModelObject.cpp return (bleedAvoidance == BackgroundBleedBackgroundOverBorder) ? shrinkRectByOnePixel(context, rect) : rect; rect 485 Source/core/rendering/RenderBoxModelObject.cpp void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, const Color& color, const FillLayer* bgLayer, const LayoutRect& rect, rect 489 Source/core/rendering/RenderBoxModelObject.cpp if (context->paintingDisabled() || rect.isEmpty()) rect 541 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect border = backgroundRoundedRectAdjustedForBleedAvoidance(context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge); rect 546 Source/core/rendering/RenderBoxModelObject.cpp clipRoundedInnerRect(context, rect, border); rect 547 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(border.rect(), bgColor); rect 551 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(pixelSnappedIntRect(rect), bgColor); rect 561 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect border = isBorderFill ? backgroundRoundedRectAdjustedForBleedAvoidance(context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge) : getBackgroundRoundedRect(rect, box, boxSize.width(), boxSize.height(), includeLeftEdge, includeRightEdge); rect 565 Source/core/rendering/RenderBoxModelObject.cpp border = style()->getRoundedInnerBorderFor(border.rect(), rect 568 Source/core/rendering/RenderBoxModelObject.cpp border = style()->getRoundedInnerBorderFor(border.rect(), includeLeftEdge, includeRightEdge); rect 570 Source/core/rendering/RenderBoxModelObject.cpp clipRoundedInnerRect(context, rect, border); rect 579 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect scrolledPaintRect = rect; rect 583 Source/core/rendering/RenderBoxModelObject.cpp context->clip(thisBox->overflowClipRect(rect.location())); rect 615 Source/core/rendering/RenderBoxModelObject.cpp maskRect = pixelSnappedIntRect(rect); rect 616 Source/core/rendering/RenderBoxModelObject.cpp maskRect.intersect(paintInfo.rect); rect 669 Source/core/rendering/RenderBoxModelObject.cpp backgroundRect.intersect(paintInfo.rect); rect 700 Source/core/rendering/RenderBoxModelObject.cpp geometry.clip(paintInfo.rect); rect 1132 Source/core/rendering/RenderBoxModelObject.cpp bool RenderBoxModelObject::paintNinePieceImage(GraphicsContext* graphicsContext, const LayoutRect& rect, const RenderStyle* style, rect 1147 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect rectWithOutsets = rect; rect 1371 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect boundingRect = border.rect(); rect 1577 Source/core/rendering/RenderBoxModelObject.cpp drawBoxSideFromPath(graphicsContext, outerBorder.rect(), *path, edges, edgeToRender.width, thickness, side, style, rect 1602 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 1633 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 1641 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 1649 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 1657 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 1708 Source/core/rendering/RenderBoxModelObject.cpp void RenderBoxModelObject::paintBorder(const PaintInfo& info, const LayoutRect& rect, const RenderStyle* style, rect 1713 Source/core/rendering/RenderBoxModelObject.cpp if (paintNinePieceImage(graphicsContext, rect, style, style->borderImage())) rect 1721 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect outerBorder = style->getRoundedBorderFor(rect, includeLogicalLeftEdge, includeLogicalRightEdge); rect 1722 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect innerBorder = style->getRoundedInnerBorderFor(borderInnerRectAdjustedForBleedAvoidance(graphicsContext, rect, bleedAvoidance), includeLogicalLeftEdge, includeLogicalRightEdge); rect 1772 Source/core/rendering/RenderBoxModelObject.cpp if (haveAllSolidEdges && outerBorder.isRounded() && allCornersClippedOut(outerBorder, info.rect)) rect 1793 Source/core/rendering/RenderBoxModelObject.cpp path.addRect(outerBorder.rect()); rect 1796 Source/core/rendering/RenderBoxModelObject.cpp IntRect innerThirdRect = outerBorder.rect(); rect 1797 Source/core/rendering/RenderBoxModelObject.cpp IntRect outerThirdRect = outerBorder.rect(); rect 1826 Source/core/rendering/RenderBoxModelObject.cpp path.addRect(outerThird.rect()); rect 1831 Source/core/rendering/RenderBoxModelObject.cpp path.addRect(innerThird.rect()); rect 1837 Source/core/rendering/RenderBoxModelObject.cpp path.addRect(innerBorder.rect()); rect 1877 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect unadjustedInnerBorder = (bleedAvoidance == BackgroundBleedBackgroundOverBorder) ? style->getRoundedInnerBorderFor(rect, includeLogicalLeftEdge, includeLogicalRightEdge) : innerBorder; rect 1878 Source/core/rendering/RenderBoxModelObject.cpp IntPoint innerBorderAdjustment(innerBorder.rect().x() - unadjustedInnerBorder.rect().x(), innerBorder.rect().y() - unadjustedInnerBorder.rect().y()); rect 2042 Source/core/rendering/RenderBoxModelObject.cpp const LayoutRect& outerRect = outerBorder.rect(); rect 2043 Source/core/rendering/RenderBoxModelObject.cpp const LayoutRect& innerRect = innerBorder.rect(); rect 2226 Source/core/rendering/RenderBoxModelObject.cpp IntRect sideRect = outerBorder.rect(); rect 2257 Source/core/rendering/RenderBoxModelObject.cpp IntRect newRect = innerBorder.rect(); rect 2491 Source/core/rendering/RenderBoxModelObject.cpp FloatRect fillRect = border.rect(); rect 2496 Source/core/rendering/RenderBoxModelObject.cpp FloatRect shadowRect(border.rect()); rect 2519 Source/core/rendering/RenderBoxModelObject.cpp IntRect rectToClipOut = border.rect(); rect 2548 Source/core/rendering/RenderBoxModelObject.cpp if (allCornersClippedOut(influenceRect, info.rect)) rect 126 Source/core/rendering/RenderDetailsMarker.cpp if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) rect 82 Source/core/rendering/RenderFrameSet.cpp if (!paintInfo.rect.intersects(borderRect)) rect 101 Source/core/rendering/RenderFrameSet.cpp if (!paintInfo.rect.intersects(borderRect)) rect 152 Source/core/rendering/RenderGeometryMap.cpp FloatQuad RenderGeometryMap::mapToContainer(const FloatRect& rect, const RenderLayerModelObject* container) const rect 157 Source/core/rendering/RenderGeometryMap.cpp result = rect; rect 160 Source/core/rendering/RenderGeometryMap.cpp TransformState transformState(TransformState::ApplyTransformDirection, rect.center(), rect); rect 174 Source/core/rendering/RenderGeometryMap.cpp FloatRect rendererMappedResult = lastRenderer->localToContainerQuad(rect, container, m_mapCoordinatesFlags).boundingBox(); rect 89 Source/core/rendering/RenderGeometryMap.h FloatRect absoluteRect(const FloatRect& rect) const rect 91 Source/core/rendering/RenderGeometryMap.h return mapToContainer(rect, 0).boundingBox(); rect 1341 Source/core/rendering/RenderGrid.cpp LayoutRect localRepaintRect = paintInfo.rect; rect 149 Source/core/rendering/RenderImage.cpp void RenderImage::imageChanged(WrappedImagePtr newImage, const IntRect* rect) rect 155 Source/core/rendering/RenderImage.cpp RenderReplaced::imageChanged(newImage, rect); rect 180 Source/core/rendering/RenderImage.cpp imageDimensionsChanged(imageSizeChanged, rect); rect 202 Source/core/rendering/RenderImage.cpp void RenderImage::imageDimensionsChanged(bool imageSizeChanged, const IntRect* rect) rect 254 Source/core/rendering/RenderImage.cpp if (rect) { rect 257 Source/core/rendering/RenderImage.cpp repaintRect = enclosingIntRect(mapRect(*rect, FloatRect(FloatPoint(), m_imageResource->imageSize(1.0f)), contentBoxRect())); rect 457 Source/core/rendering/RenderImage.cpp void RenderImage::paintIntoRect(GraphicsContext* context, const LayoutRect& rect) rect 459 Source/core/rendering/RenderImage.cpp IntRect alignedRect = pixelSnappedIntRect(rect); rect 614 Source/core/rendering/RenderInline.cpp void operator()(const FloatRect& rect) rect 616 Source/core/rendering/RenderInline.cpp IntRect intRect = enclosingIntRect(rect); rect 653 Source/core/rendering/RenderInline.cpp void operator()(const FloatRect& rect) rect 655 Source/core/rendering/RenderInline.cpp m_quads.append(m_geometryMap.absoluteRect(rect)); rect 765 Source/core/rendering/RenderInline.cpp void operator()(const FloatRect& rect) rect 767 Source/core/rendering/RenderInline.cpp m_intersected = m_intersected || m_location.intersects(rect); rect 768 Source/core/rendering/RenderInline.cpp m_region.unite(enclosingIntRect(rect)); rect 828 Source/core/rendering/RenderInline.cpp LinesBoundingBoxGeneratorContext(FloatRect& rect) : m_rect(rect) { } rect 829 Source/core/rendering/RenderInline.cpp void operator()(const FloatRect& rect) rect 831 Source/core/rendering/RenderInline.cpp m_rect.uniteIfNonZero(rect); rect 990 Source/core/rendering/RenderInline.cpp LayoutRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight); rect 992 Source/core/rendering/RenderInline.cpp rect = rect.transposedRect(); rect 993 Source/core/rendering/RenderInline.cpp return rect; rect 1056 Source/core/rendering/RenderInline.cpp void RenderInline::computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect& rect, bool fixed) const rect 1063 Source/core/rendering/RenderInline.cpp rect.move(layer()->offsetForInFlowPosition()); rect 1064 Source/core/rendering/RenderInline.cpp rect.move(layoutState->paintOffset()); rect 1066 Source/core/rendering/RenderInline.cpp rect.intersect(layoutState->clipRect()); rect 1079 Source/core/rendering/RenderInline.cpp LayoutPoint topLeft = rect.location(); rect 1084 Source/core/rendering/RenderInline.cpp LayoutRect repaintRect(topLeft, rect.size()); rect 1087 Source/core/rendering/RenderInline.cpp rect = repaintRect; rect 1101 Source/core/rendering/RenderInline.cpp rect.setLocation(topLeft); rect 1104 Source/core/rendering/RenderInline.cpp containerBox->applyCachedClipAndScrollOffsetForRepaint(rect); rect 1105 Source/core/rendering/RenderInline.cpp if (rect.isEmpty()) rect 1112 Source/core/rendering/RenderInline.cpp rect.move(-containerOffset); rect 1116 Source/core/rendering/RenderInline.cpp o->computeRectForRepaint(repaintContainer, rect, fixed); rect 1384 Source/core/rendering/RenderInline.cpp void operator()(const FloatRect& rect) rect 1386 Source/core/rendering/RenderInline.cpp LayoutRect layoutRect(rect); rect 56 Source/core/rendering/RenderInputSpeech.cpp bool RenderInputSpeech::paintInputFieldSpeechButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 70 Source/core/rendering/RenderInputSpeech.cpp LayoutUnit buttonSize = std::min(inputContentBox.width(), std::min<LayoutUnit>(inputContentBox.height(), rect.height())); rect 83 Source/core/rendering/RenderInputSpeech.cpp buttonRect.moveBy(rect.location()); rect 1590 Source/core/rendering/RenderLayer.cpp LayoutRect rect = roundedRect; rect 1591 Source/core/rendering/RenderLayer.cpp convertToLayerCoords(ancestorLayer, rect); rect 1592 Source/core/rendering/RenderLayer.cpp roundedRect = pixelSnappedIntRect(rect); rect 1716 Source/core/rendering/RenderLayer.cpp void RenderLayer::convertToLayerCoords(const RenderLayer* ancestorLayer, LayoutRect& rect) const rect 1720 Source/core/rendering/RenderLayer.cpp rect.move(-delta.x(), -delta.y()); rect 1885 Source/core/rendering/RenderLayer.cpp if (clipRect.rect() == localPaintingInfo.paintDirtyRect && !clipRect.hasRadius()) rect 1888 Source/core/rendering/RenderLayer.cpp context->clip(pixelSnappedIntRect(clipRect.rect())); rect 1910 Source/core/rendering/RenderLayer.cpp if (clipRect.rect() == paintDirtyRect && !clipRect.hasRadius()) rect 2343 Source/core/rendering/RenderLayer.cpp layerBoundingBoxInFlowThread.intersect(backgroundRectInFlowThread.rect()); rect 2378 Source/core/rendering/RenderLayer.cpp fragment.intersect(ancestorClipRect.rect()); rect 2395 Source/core/rendering/RenderLayer.cpp fragment.shouldPaintContent &= intersectsDamageRect(fragment.layerBounds, fragment.backgroundRect.rect(), localPaintingInfo.rootLayer, &newOffsetFromRoot); rect 2414 Source/core/rendering/RenderLayer.cpp LayoutRect clipRect = fragment.backgroundRect.rect(); rect 2422 Source/core/rendering/RenderLayer.cpp LayoutRect parentClipRect = clipper().backgroundClipRect(clipRectsContext).rect(); rect 2463 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseBlockBackground, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); rect 2521 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.foregroundRect.rect()), phase, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); rect 2540 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.outlineRect.rect()), PaintPhaseSelfOutline, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); rect 2560 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseMask, PaintBehaviorNormal, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); rect 2580 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseClippingMask, PaintBehaviorNormal, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); rect 2594 Source/core/rendering/RenderLayer.cpp scrollableArea->paintOverflowControls(context, roundedIntPoint(toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState()))), pixelSnappedIntRect(fragment.backgroundRect.rect()), true); rect 3063 Source/core/rendering/RenderLayer.cpp LayoutRect clipRect = fragment.backgroundRect.rect(); rect 3070 Source/core/rendering/RenderLayer.cpp LayoutRect parentClipRect = clipper().backgroundClipRect(clipRectsContext).rect(); rect 3322 Source/core/rendering/RenderLayer.cpp LayoutRect rect = m_blockSelectionGapsBounds; rect 3325 Source/core/rendering/RenderLayer.cpp rect.move(-box->scrolledContentOffset()); rect 3327 Source/core/rendering/RenderLayer.cpp rect.intersect(box->overflowClipRect(LayoutPoint())); rect 3330 Source/core/rendering/RenderLayer.cpp rect.intersect(toRenderBox(renderer())->clipRect(LayoutPoint())); rect 3331 Source/core/rendering/RenderLayer.cpp if (!rect.isEmpty()) rect 3332 Source/core/rendering/RenderLayer.cpp renderer()->repaintRectangle(rect); rect 4054 Source/core/rendering/RenderLayer.cpp Vector<LayoutRect> rect; rect 4064 Source/core/rendering/RenderLayer.cpp rect.append(m_scrollableArea->overflowRect()); rect 4066 Source/core/rendering/RenderLayer.cpp rects.set(this, rect); rect 4076 Source/core/rendering/RenderLayer.cpp rect.append(logicalBoundingBox()); rect 4077 Source/core/rendering/RenderLayer.cpp rects.set(this, rect); rect 157 Source/core/rendering/RenderLayer.h LayoutRect rect() const { return LayoutRect(location(), size()); } rect 134 Source/core/rendering/RenderLayerClipper.cpp return clippingRootLayer->renderer()->localToAbsoluteQuad(FloatQuad(foregroundRect.rect())).enclosingBoundingBox(); rect 146 Source/core/rendering/RenderLayerClipper.cpp return clippingRootLayer->renderer()->localToAbsoluteQuad(FloatQuad(backgroundRect.rect())).enclosingBoundingBox(); rect 158 Source/core/rendering/RenderLayerClipper.cpp LayoutRect clipRect = backgroundRect.rect(); rect 57 Source/core/rendering/RenderLayerFilterInfo.h void expandDirtySourceRect(const LayoutRect& rect) { m_dirtySourceRect.unite(rect); } rect 231 Source/core/rendering/RenderLayerRepainter.cpp void RenderLayerRepainter::setFilterBackendNeedsRepaintingInRect(const LayoutRect& rect) rect 233 Source/core/rendering/RenderLayerRepainter.cpp if (rect.isEmpty()) rect 236 Source/core/rendering/RenderLayerRepainter.cpp LayoutRect rectForRepaint = rect; rect 171 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) rect 178 Source/core/rendering/RenderLayerScrollableArea.cpp layer->setNeedsDisplayInRect(rect); rect 183 Source/core/rendering/RenderLayerScrollableArea.cpp layer->setNeedsDisplayInRect(rect); rect 188 Source/core/rendering/RenderLayerScrollableArea.cpp IntRect scrollRect = rect; rect 220 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::invalidateScrollCornerRect(const IntRect& rect) rect 223 Source/core/rendering/RenderLayerScrollableArea.cpp layer->setNeedsDisplayInRect(rect); rect 228 Source/core/rendering/RenderLayerScrollableArea.cpp m_scrollCorner->repaintRectangle(rect); rect 230 Source/core/rendering/RenderLayerScrollableArea.cpp m_resizer->repaintRectangle(rect); rect 296 Source/core/rendering/RenderLayerScrollableArea.cpp IntRect rect = scrollbarRect; rect 297 Source/core/rendering/RenderLayerScrollableArea.cpp rect.move(scrollbarOffset(scrollbar)); rect 299 Source/core/rendering/RenderLayerScrollableArea.cpp return view->frameView()->convertFromRenderer(m_box, rect); rect 308 Source/core/rendering/RenderLayerScrollableArea.cpp IntRect rect = view->frameView()->convertToRenderer(m_box, parentRect); rect 309 Source/core/rendering/RenderLayerScrollableArea.cpp rect.move(-scrollbarOffset(scrollbar)); rect 310 Source/core/rendering/RenderLayerScrollableArea.cpp return rect; rect 1389 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutRect RenderLayerScrollableArea::exposeRect(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) rect 1391 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutRect localExposeRect(m_box->absoluteToLocalQuad(FloatQuad(FloatRect(rect)), UseTransforms).boundingBox()); rect 1397 Source/core/rendering/RenderLayerScrollableArea.cpp return rect; rect 148 Source/core/rendering/RenderLineBoxList.cpp bool RenderLineBoxList::rangeIntersectsRect(RenderBoxModelObject* renderer, LayoutUnit logicalTop, LayoutUnit logicalBottom, const LayoutRect& rect, const LayoutPoint& offset) const rect 162 Source/core/rendering/RenderLineBoxList.cpp if (physicalStart >= rect.maxY() || physicalStart + physicalExtent <= rect.y()) rect 166 Source/core/rendering/RenderLineBoxList.cpp if (physicalStart >= rect.maxX() || physicalStart + physicalExtent <= rect.x()) rect 173 Source/core/rendering/RenderLineBoxList.cpp bool RenderLineBoxList::anyLineIntersectsRect(RenderBoxModelObject* renderer, const LayoutRect& rect, const LayoutPoint& offset) const rect 184 Source/core/rendering/RenderLineBoxList.cpp return rangeIntersectsRect(renderer, firstLineTop, lastLineBottom, rect, offset); rect 193 Source/core/rendering/RenderLineBoxList.cpp return rangeIntersectsRect(renderer, logicalTop, logicalBottom, paintInfo.rect, offset); rect 210 Source/core/rendering/RenderLineBoxList.cpp if (!anyLineIntersectsRect(renderer, paintInfo.rect, paintOffset)) rect 249 Source/core/rendering/RenderLineBoxList.cpp LayoutRect rect = firstLineBox()->isHorizontal() ? rect 253 Source/core/rendering/RenderLineBoxList.cpp if (!anyLineIntersectsRect(renderer, rect, accumulatedOffset)) rect 261 Source/core/rendering/RenderLineBoxList.cpp if (rangeIntersectsRect(renderer, curr->logicalTopVisualOverflow(root.lineTop()), curr->logicalBottomVisualOverflow(root.lineBottom()), rect, accumulatedOffset)) { rect 380 Source/core/rendering/RenderListBox.cpp m_vBar->paint(paintInfo.context, paintInfo.rect); rect 750 Source/core/rendering/RenderListBox.cpp void RenderListBox::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) rect 752 Source/core/rendering/RenderListBox.cpp IntRect scrollRect = rect; rect 781 Source/core/rendering/RenderListBox.cpp IntRect rect = scrollbarRect; rect 784 Source/core/rendering/RenderListBox.cpp rect.move(scrollbarLeft(), scrollbarTop); rect 786 Source/core/rendering/RenderListBox.cpp return view->frameView()->convertFromRenderer(this, rect); rect 795 Source/core/rendering/RenderListBox.cpp IntRect rect = view->frameView()->convertToRenderer(this, parentRect); rect 798 Source/core/rendering/RenderListBox.cpp rect.move(-scrollbarLeft(), -scrollbarTop); rect 799 Source/core/rendering/RenderListBox.cpp return rect; rect 1140 Source/core/rendering/RenderListMarker.cpp if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) rect 1840 Source/core/rendering/RenderListMarker.cpp LayoutRect rect(0, root.selectionTop() - y(), width(), root.selectionHeight()); rect 1843 Source/core/rendering/RenderListMarker.cpp computeRectForRepaint(repaintContainer, rect); rect 1845 Source/core/rendering/RenderListMarker.cpp rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosingBoundingBox(); rect 1847 Source/core/rendering/RenderListMarker.cpp return rect; rect 63 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) rect 65 Source/core/rendering/RenderMediaControls.cpp context->drawImage(image, rect); rect 69 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 82 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundDisabled); rect 85 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel0); rect 88 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel1); rect 91 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel2); rect 93 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel3); rect 96 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 107 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); rect 109 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaElement->togglePlayStateWillPlay() ? mediaPlay : mediaPause); rect 112 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 122 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaOverlayPlay); rect 131 Source/core/rendering/RenderMediaControls.cpp static void paintRoundedSliderBackground(const IntRect& rect, const RenderStyle* style, GraphicsContext* context) rect 133 Source/core/rendering/RenderMediaControls.cpp int borderRadius = rect.height() / 2; rect 136 Source/core/rendering/RenderMediaControls.cpp context->fillRoundedRect(rect, radii, radii, radii, radii, sliderBackgroundColor); rect 139 Source/core/rendering/RenderMediaControls.cpp static void paintSliderRangeHighlight(const IntRect& rect, const RenderStyle* style, GraphicsContext* context, int startPosition, int endPosition, Color startColor, Color endColor) rect 143 Source/core/rendering/RenderMediaControls.cpp int borderRadius = rect.height() / 2; rect 148 Source/core/rendering/RenderMediaControls.cpp int endOffset = rect.width() - endPosition; rect 161 Source/core/rendering/RenderMediaControls.cpp IntRect highlightRect = rect; rect 195 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 204 Source/core/rendering/RenderMediaControls.cpp paintRoundedSliderBackground(rect, style, context); rect 219 Source/core/rendering/RenderMediaControls.cpp int startPosition = int(start * rect.width() / duration); rect 220 Source/core/rendering/RenderMediaControls.cpp int currentPosition = int(currentTime * rect.width() / duration); rect 221 Source/core/rendering/RenderMediaControls.cpp int endPosition = int(end * rect.width() / duration); rect 225 Source/core/rendering/RenderMediaControls.cpp int addWidth = thumbCenter * (1.0 - 2.0 * currentPosition / rect.width()); rect 232 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, startPosition, currentPosition, startColor, endColor); rect 239 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, currentPosition, endPosition, startColor, endColor); rect 247 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 258 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaSliderThumb); rect 263 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaVolumeSlider(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 272 Source/core/rendering/RenderMediaControls.cpp paintRoundedSliderBackground(rect, style, context); rect 288 Source/core/rendering/RenderMediaControls.cpp float positionWidth = volume * (rect.width() - (zoomLevel * thumbCenter)); rect 295 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, 0.0, fillWidth, startColor, endColor); rect 300 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 311 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaVolumeSliderThumb); rect 314 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaFullscreenButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 321 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaFullscreenButton); rect 324 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaToggleClosedCaptionsButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 334 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButton); rect 336 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButtonDisabled); rect 340 Source/core/rendering/RenderMediaControls.cpp bool RenderMediaControls::paintMediaControlsPart(MediaControlElementType part, RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 345 Source/core/rendering/RenderMediaControls.cpp return paintMediaMuteButton(object, paintInfo, rect); rect 348 Source/core/rendering/RenderMediaControls.cpp return paintMediaPlayButton(object, paintInfo, rect); rect 350 Source/core/rendering/RenderMediaControls.cpp return paintMediaToggleClosedCaptionsButton(object, paintInfo, rect); rect 352 Source/core/rendering/RenderMediaControls.cpp return paintMediaSlider(object, paintInfo, rect); rect 354 Source/core/rendering/RenderMediaControls.cpp return paintMediaSliderThumb(object, paintInfo, rect); rect 356 Source/core/rendering/RenderMediaControls.cpp return paintMediaVolumeSlider(object, paintInfo, rect); rect 358 Source/core/rendering/RenderMediaControls.cpp return paintMediaVolumeSliderThumb(object, paintInfo, rect); rect 361 Source/core/rendering/RenderMediaControls.cpp return paintMediaFullscreenButton(object, paintInfo, rect); rect 363 Source/core/rendering/RenderMediaControls.cpp return paintMediaOverlayPlayButton(object, paintInfo, rect); rect 534 Source/core/rendering/RenderObject.cpp bool RenderObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) rect 540 Source/core/rendering/RenderObject.cpp enclosingBox->scrollRectToVisible(rect, alignX, alignY); rect 1155 Source/core/rendering/RenderObject.cpp void RenderObject::addPDFURLRect(GraphicsContext* context, const LayoutRect& rect) rect 1157 Source/core/rendering/RenderObject.cpp if (rect.isEmpty()) rect 1171 Source/core/rendering/RenderObject.cpp context->setURLFragmentForRect(name, pixelSnappedIntRect(rect)); rect 1174 Source/core/rendering/RenderObject.cpp context->setURLForRect(url, pixelSnappedIntRect(rect)); rect 1285 Source/core/rendering/RenderObject.cpp IntRect rect = rects[i]; rect 1286 Source/core/rendering/RenderObject.cpp rect.move(-absolutePoint.x(), -absolutePoint.y()); rect 1287 Source/core/rendering/RenderObject.cpp quads.append(localToAbsoluteQuad(FloatQuad(rect))); rect 1673 Source/core/rendering/RenderObject.cpp void RenderObject::computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect& rect, bool fixed) const rect 1682 Source/core/rendering/RenderObject.cpp cb->adjustRectForColumns(rect); rect 1687 Source/core/rendering/RenderObject.cpp boxParent->applyCachedClipAndScrollOffsetForRepaint(rect); rect 1688 Source/core/rendering/RenderObject.cpp if (rect.isEmpty()) rect 1692 Source/core/rendering/RenderObject.cpp o->computeRectForRepaint(repaintContainer, rect, fixed); rect 3158 Source/core/rendering/RenderObject.cpp void RenderObject::imageChanged(ImageResource* image, const IntRect* rect) rect 3160 Source/core/rendering/RenderObject.cpp imageChanged(static_cast<WrappedImagePtr>(image), rect); rect 987 Source/core/rendering/RenderObject.h void setNewRepaintRect(const LayoutRect& rect) { m_newRepaintRect = rect; } rect 990 Source/core/rendering/RenderObject.h void setOldRepaintRect(const LayoutRect& rect) { m_oldRepaintRect = rect; } rect 1430 Source/core/rendering/RenderObject.h inline void adjustFloatRectForAbsoluteZoom(FloatRect& rect, RenderObject& renderer) rect 1434 Source/core/rendering/RenderObject.h rect.scale(1 / zoom, 1 / zoom); rect 57 Source/core/rendering/RenderOverflow.h void addContentsVisualOverflow(const LayoutRect& rect) { m_contentsVisualOverflow.unite(rect); } rect 80 Source/core/rendering/RenderOverflow.h inline void RenderOverflow::addLayoutOverflow(const LayoutRect& rect) rect 82 Source/core/rendering/RenderOverflow.h LayoutUnit maxX = std::max(rect.maxX(), m_layoutOverflow.maxX()); rect 83 Source/core/rendering/RenderOverflow.h LayoutUnit maxY = std::max(rect.maxY(), m_layoutOverflow.maxY()); rect 84 Source/core/rendering/RenderOverflow.h LayoutUnit minX = std::min(rect.x(), m_layoutOverflow.x()); rect 85 Source/core/rendering/RenderOverflow.h LayoutUnit minY = std::min(rect.y(), m_layoutOverflow.y()); rect 93 Source/core/rendering/RenderOverflow.h inline void RenderOverflow::addVisualOverflow(const LayoutRect& rect) rect 95 Source/core/rendering/RenderOverflow.h LayoutUnit maxX = std::max(rect.maxX(), m_visualOverflow.maxX()); rect 96 Source/core/rendering/RenderOverflow.h LayoutUnit maxY = std::max(rect.maxY(), m_visualOverflow.maxY()); rect 97 Source/core/rendering/RenderOverflow.h m_visualOverflow.setX(std::min(rect.x(), m_visualOverflow.x())); rect 98 Source/core/rendering/RenderOverflow.h m_visualOverflow.setY(std::min(rect.y(), m_visualOverflow.y())); rect 103 Source/core/rendering/RenderOverflow.h inline void RenderOverflow::setLayoutOverflow(const LayoutRect& rect) rect 105 Source/core/rendering/RenderOverflow.h m_layoutOverflow = rect; rect 108 Source/core/rendering/RenderOverflow.h inline void RenderOverflow::setVisualOverflow(const LayoutRect& rect) rect 110 Source/core/rendering/RenderOverflow.h m_visualOverflow = rect; rect 43 Source/core/rendering/RenderOverflowTest.cpp void PrintTo(const LayoutRect& rect, std::ostream* os) rect 46 Source/core/rendering/RenderOverflowTest.cpp << rect.x().toFloat() << ", " rect 47 Source/core/rendering/RenderOverflowTest.cpp << rect.y().toFloat() << ", " rect 48 Source/core/rendering/RenderOverflowTest.cpp << rect.width().toFloat() << ", " rect 49 Source/core/rendering/RenderOverflowTest.cpp << rect.height().toFloat() << ")"; rect 188 Source/core/rendering/RenderRegion.cpp LayoutUnit RenderRegion::logicalTopOfFlowThreadContentRect(const LayoutRect& rect) const rect 191 Source/core/rendering/RenderRegion.cpp return flowThread()->isHorizontalWritingMode() ? rect.y() : rect.x(); rect 194 Source/core/rendering/RenderRegion.cpp LayoutUnit RenderRegion::logicalBottomOfFlowThreadContentRect(const LayoutRect& rect) const rect 197 Source/core/rendering/RenderRegion.cpp return flowThread()->isHorizontalWritingMode() ? rect.maxY() : rect.maxX(); rect 49 Source/core/rendering/RenderRegion.h void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionRect = rect; } rect 43 Source/core/rendering/RenderRegionSet.cpp LayoutRect rect(flowThreadPortionRect()); rect 51 Source/core/rendering/RenderRegionSet.cpp LayoutUnit logicalTopOffset = isHorizontal ? rect.y() : rect.x(); rect 54 Source/core/rendering/RenderRegionSet.cpp setFlowThreadPortionRect(LayoutRect(rect.x(), rect.y(), isHorizontal ? rect.width() : logicalHeightWithOverflow, isHorizontal ? logicalHeightWithOverflow : rect.height())); rect 207 Source/core/rendering/RenderReplaced.cpp if (adjustedPaintOffset.x() + visualOverflowRect().x() >= paintInfo.rect.maxX() || adjustedPaintOffset.x() + visualOverflowRect().maxX() <= paintInfo.rect.x()) rect 210 Source/core/rendering/RenderReplaced.cpp if (top >= paintInfo.rect.maxY() || bottom <= paintInfo.rect.y()) rect 565 Source/core/rendering/RenderReplaced.cpp LayoutRect rect = localSelectionRect(); rect 567 Source/core/rendering/RenderReplaced.cpp computeRectForRepaint(repaintContainer, rect); rect 569 Source/core/rendering/RenderReplaced.cpp rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosingBoundingBox(); rect 571 Source/core/rendering/RenderReplaced.cpp return rect; rect 88 Source/core/rendering/RenderReplica.cpp LayerPaintingInfo paintingInfo(rootPaintingLayer, paintInfo.rect, PaintBehaviorNormal, LayoutSize(), 0); rect 267 Source/core/rendering/RenderScrollbar.cpp void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect) rect 272 Source/core/rendering/RenderScrollbar.cpp partRenderer->paintIntoRect(graphicsContext, location(), rect); rect 339 Source/core/rendering/RenderScrollbar.cpp IntRect rect = oldRect; rect 341 Source/core/rendering/RenderScrollbar.cpp rect.setX(rect.x() + partRenderer->marginLeft()); rect 342 Source/core/rendering/RenderScrollbar.cpp rect.setWidth(rect.width() - partRenderer->marginWidth()); rect 344 Source/core/rendering/RenderScrollbar.cpp rect.setY(rect.y() + partRenderer->marginTop()); rect 345 Source/core/rendering/RenderScrollbar.cpp rect.setHeight(rect.height() - partRenderer->marginHeight()); rect 347 Source/core/rendering/RenderScrollbar.cpp return rect; rect 160 Source/core/rendering/RenderScrollbarPart.cpp void RenderScrollbarPart::imageChanged(WrappedImagePtr image, const IntRect* rect) rect 172 Source/core/rendering/RenderScrollbarPart.cpp RenderBlock::imageChanged(image, rect); rect 176 Source/core/rendering/RenderScrollbarPart.cpp void RenderScrollbarPart::paintIntoRect(GraphicsContext* graphicsContext, const LayoutPoint& paintOffset, const LayoutRect& rect) rect 179 Source/core/rendering/RenderScrollbarPart.cpp setLocation(rect.location() - toSize(paintOffset)); rect 180 Source/core/rendering/RenderScrollbarPart.cpp setWidth(rect.width()); rect 181 Source/core/rendering/RenderScrollbarPart.cpp setHeight(rect.height()); rect 187 Source/core/rendering/RenderScrollbarPart.cpp PaintInfo paintInfo(graphicsContext, pixelSnappedIntRect(rect), PaintPhaseBlockBackground, PaintBehaviorNormal); rect 95 Source/core/rendering/RenderScrollbarTheme.cpp IntRect RenderScrollbarTheme::constrainTrackRectToTrackPieces(ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 97 Source/core/rendering/RenderScrollbarTheme.cpp IntRect backRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(BackTrackPart, rect); rect 98 Source/core/rendering/RenderScrollbarTheme.cpp IntRect forwardRect = toRenderScrollbar(scrollbar)->trackPieceRectWithMargins(ForwardTrackPart, rect); rect 99 Source/core/rendering/RenderScrollbarTheme.cpp IntRect result = rect; rect 121 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 123 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, TrackBGPart, rect); rect 126 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTrackPiece(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) rect 128 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, part, rect); rect 131 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintButton(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) rect 133 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, part, rect); rect 136 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 138 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, ThumbPart, rect); rect 141 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 143 Source/core/rendering/RenderScrollbarTheme.cpp ScrollbarTheme::theme()->paintTickmarks(context, scrollbar, rect); rect 74 Source/core/rendering/RenderSelectionInfo.h LayoutRect rect() const { return m_rect; } rect 657 Source/core/rendering/RenderTable.cpp if (!overflowBox.intersects(paintInfo.rect)) rect 718 Source/core/rendering/RenderTable.cpp void RenderTable::subtractCaptionRect(LayoutRect& rect) const rect 724 Source/core/rendering/RenderTable.cpp rect.setHeight(rect.height() - captionLogicalHeight); rect 726 Source/core/rendering/RenderTable.cpp rect.move(0, captionLogicalHeight); rect 728 Source/core/rendering/RenderTable.cpp rect.setWidth(rect.width() - captionLogicalHeight); rect 730 Source/core/rendering/RenderTable.cpp rect.move(captionLogicalHeight, 0); rect 740 Source/core/rendering/RenderTable.cpp LayoutRect rect(paintOffset, size()); rect 741 Source/core/rendering/RenderTable.cpp subtractCaptionRect(rect); rect 742 Source/core/rendering/RenderTable.cpp paintBoxDecorationsWithRect(paintInfo, paintOffset, rect); rect 750 Source/core/rendering/RenderTable.cpp LayoutRect rect(paintOffset, size()); rect 751 Source/core/rendering/RenderTable.cpp subtractCaptionRect(rect); rect 753 Source/core/rendering/RenderTable.cpp paintMaskImages(paintInfo, rect); rect 1389 Source/core/rendering/RenderTable.cpp LayoutRect rect = RenderBlock::overflowClipRect(location, relevancy); rect 1399 Source/core/rendering/RenderTable.cpp rect.setHeight(height()); rect 1400 Source/core/rendering/RenderTable.cpp rect.setY(location.y()); rect 1402 Source/core/rendering/RenderTable.cpp rect.setWidth(width()); rect 1403 Source/core/rendering/RenderTable.cpp rect.setX(location.x()); rect 1407 Source/core/rendering/RenderTable.cpp return rect; rect 1111 Source/core/rendering/RenderTableCell.cpp if (paintRect.y() - table()->outerBorderTop() >= paintInfo.rect.maxY()) rect 1114 Source/core/rendering/RenderTableCell.cpp if (paintRect.maxY() + table()->outerBorderBottom() <= paintInfo.rect.y()) rect 1287 Source/core/rendering/RenderTableSection.cpp LayoutRect RenderTableSection::logicalRectForWritingModeAndDirection(const LayoutRect& rect) const rect 1289 Source/core/rendering/RenderTableSection.cpp LayoutRect tableAlignedRect(rect); rect 1394 Source/core/rendering/RenderTableSection.cpp LayoutRect localRepaintRect = paintInfo.rect; rect 378 Source/core/rendering/RenderText.cpp FloatRect rect = localQuadForTextBox(box, start, end, useSelectionHeight); rect 379 Source/core/rendering/RenderText.cpp if (!rect.isZero()) rect 380 Source/core/rendering/RenderText.cpp rects.append(localToAbsoluteQuad(rect, 0, wasFixed).enclosingBoundingBox()); rect 394 Source/core/rendering/RenderText.cpp IntRect rect; rect 460 Source/core/rendering/RenderText.cpp FloatRect rect = localQuadForTextBox(box, start, end, useSelectionHeight); rect 461 Source/core/rendering/RenderText.cpp if (!rect.isZero()) rect 462 Source/core/rendering/RenderText.cpp quads.append(localToAbsoluteQuad(rect, 0, wasFixed)); rect 1582 Source/core/rendering/RenderText.cpp LayoutRect rect(logicalLeftSide, logicalTop, logicalWidth, logicalHeight); rect 1584 Source/core/rendering/RenderText.cpp rect = rect.transposedRect(); rect 1585 Source/core/rendering/RenderText.cpp return rect; rect 1632 Source/core/rendering/RenderText.cpp LayoutRect rect; rect 1634 Source/core/rendering/RenderText.cpp rect.unite(box->localSelectionRect(startPos, endPos)); rect 1635 Source/core/rendering/RenderText.cpp rect.unite(ellipsisRectForBox(box, startPos, endPos)); rect 1639 Source/core/rendering/RenderText.cpp computeRectForRepaint(repaintContainer, rect); rect 1642 Source/core/rendering/RenderText.cpp cb->adjustRectForColumns(rect); rect 1644 Source/core/rendering/RenderText.cpp rect = localToContainerQuad(FloatRect(rect), repaintContainer).enclosingBoundingBox(); rect 1647 Source/core/rendering/RenderText.cpp return rect; rect 841 Source/core/rendering/RenderTheme.cpp bool RenderTheme::paintInputFieldSpeechButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 843 Source/core/rendering/RenderTheme.cpp return RenderInputSpeech::paintInputFieldSpeechButton(object, paintInfo, rect); rect 862 Source/core/rendering/RenderTheme.cpp void RenderTheme::paintSliderTicks(RenderObject* o, const PaintInfo& paintInfo, const IntRect& rect) rect 907 Source/core/rendering/RenderTheme.cpp trackBounds.setX(trackBounds.x() - sliderBounds.x() + rect.x()); rect 908 Source/core/rendering/RenderTheme.cpp trackBounds.setY(trackBounds.y() - sliderBounds.y() + rect.y()); rect 913 Source/core/rendering/RenderTheme.cpp tickRect.setY(floor(rect.y() + rect.height() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); rect 919 Source/core/rendering/RenderTheme.cpp tickRect.setX(floor(rect.x() + rect.width() / 2.0 + sliderTickOffsetFromTrackCenter() * zoomFactor)); rect 84 Source/core/rendering/RenderThemeChromiumAndroid.cpp bool RenderThemeChromiumAndroid::paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 86 Source/core/rendering/RenderThemeChromiumAndroid.cpp return RenderMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, object, paintInfo, rect); rect 245 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintCheckbox(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 254 Source/core/rendering/RenderThemeChromiumDefault.cpp IntRect unzoomedRect = rect; rect 281 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintRadio(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 287 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartRadio, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 304 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintButton(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 313 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartButton, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 317 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintTextField(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 335 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartTextField, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 339 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintMenuList(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 344 Source/core/rendering/RenderThemeChromiumDefault.cpp const int right = rect.x() + rect.width(); rect 345 Source/core/rendering/RenderThemeChromiumDefault.cpp const int middle = rect.y() + rect.height() / 2; rect 372 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 4 + spacingRight: right - 13 - spacingRight; rect 373 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowHeight = rect.height() - spacingBottom - spacingTop; rect 375 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 7 : right - 13; rect 380 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartMenuList, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 384 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintMenuListButton(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 389 Source/core/rendering/RenderThemeChromiumDefault.cpp const int right = rect.x() + rect.width(); rect 390 Source/core/rendering/RenderThemeChromiumDefault.cpp const int middle = rect.y() + rect.height() / 2; rect 406 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 4 + spacingRight: right - 13 - spacingRight; rect 407 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowHeight = rect.height() - spacingBottom - spacingTop; rect 409 Source/core/rendering/RenderThemeChromiumDefault.cpp extraParams.menuList.arrowX = (o->style()->direction() == RTL) ? rect.x() + 7 : right - 13; rect 414 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartMenuList, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 418 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintSliderTrack(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 424 Source/core/rendering/RenderThemeChromiumDefault.cpp paintSliderTicks(o, i, rect); rect 429 Source/core/rendering/RenderThemeChromiumDefault.cpp IntRect unzoomedRect = rect; rect 444 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintSliderThumb(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 454 Source/core/rendering/RenderThemeChromiumDefault.cpp IntRect unzoomedRect = rect; rect 476 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintInnerSpinButton(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 483 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartInnerSpinButton, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 487 Source/core/rendering/RenderThemeChromiumDefault.cpp bool RenderThemeChromiumDefault::paintProgressBar(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 493 Source/core/rendering/RenderThemeChromiumDefault.cpp IntRect valueRect = progressValueRectFor(renderProgress, rect); rect 502 Source/core/rendering/RenderThemeChromiumDefault.cpp DirectionFlippingScope scope(o, i, rect); rect 504 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::Platform::current()->themeEngine()->paint(canvas, blink::WebThemeEngine::PartProgressBar, getWebThemeState(this, o), blink::WebRect(rect), &extraParams); rect 294 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 296 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaSlider, object, paintInfo, rect); rect 299 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaVolumeSliderTrack(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 301 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaVolumeSlider, object, paintInfo, rect); rect 309 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 311 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaSliderThumb, object, paintInfo, rect); rect 319 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 321 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, object, paintInfo, rect); rect 324 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 326 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect); rect 329 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaMuteButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 331 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object, paintInfo, rect); rect 344 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMediaFullscreenButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) rect 346 Source/core/rendering/RenderThemeChromiumSkia.cpp return RenderMediaControls::paintMediaControlsPart(MediaEnterFullscreenButton, object, paintInfo, rect); rect 361 Source/core/rendering/RenderThemeChromiumSkia.cpp bool RenderThemeChromiumSkia::paintMenuListButton(RenderObject* o, const PaintInfo& i, const IntRect& rect) rect 363 Source/core/rendering/RenderThemeChromiumSkia.cpp return paintMenuList(o, i, rect); rect 432 Source/core/rendering/RenderThemeChromiumSkia.cpp IntRect RenderThemeChromiumSkia::determinateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const rect 434 Source/core/rendering/RenderThemeChromiumSkia.cpp int dx = rect.width() * renderProgress->position(); rect 435 Source/core/rendering/RenderThemeChromiumSkia.cpp return IntRect(rect.x(), rect.y(), dx, rect.height()); rect 438 Source/core/rendering/RenderThemeChromiumSkia.cpp IntRect RenderThemeChromiumSkia::indeterminateProgressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const rect 441 Source/core/rendering/RenderThemeChromiumSkia.cpp int valueWidth = rect.width() / progressActivityBlocks; rect 442 Source/core/rendering/RenderThemeChromiumSkia.cpp int movableWidth = rect.width() - valueWidth; rect 448 Source/core/rendering/RenderThemeChromiumSkia.cpp return IntRect(rect.x() + progress * 2 * movableWidth, rect.y(), valueWidth, rect.height()); rect 449 Source/core/rendering/RenderThemeChromiumSkia.cpp return IntRect(rect.x() + (1.0 - progress) * 2 * movableWidth, rect.y(), valueWidth, rect.height()); rect 462 Source/core/rendering/RenderThemeChromiumSkia.cpp IntRect RenderThemeChromiumSkia::progressValueRectFor(RenderProgress* renderProgress, const IntRect& rect) const rect 464 Source/core/rendering/RenderThemeChromiumSkia.cpp return renderProgress->isDeterminate() ? determinateProgressValueRectFor(renderProgress, rect) : indeterminateProgressValueRectFor(renderProgress, rect); rect 467 Source/core/rendering/RenderThemeChromiumSkia.cpp RenderThemeChromiumSkia::DirectionFlippingScope::DirectionFlippingScope(RenderObject* renderer, const PaintInfo& paintInfo, const IntRect& rect) rect 474 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->translate(2 * rect.x() + rect.width(), 0); rect 492 Source/core/rendering/RenderTreeAsText.cpp RenderTreeAsText::writeLayers(ts, l, l, l->rect(), indent + 1, behavior); rect 589 Source/core/rendering/RenderTreeAsText.cpp bool shouldPaint = (behavior & RenderAsTextShowAllLayers) ? true : layer->intersectsDamageRect(layerBounds, damageRect.rect(), rootLayer); rect 594 Source/core/rendering/RenderTreeAsText.cpp write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), outlineRect.rect(), LayerPaintPhaseBackground, indent, behavior); rect 608 Source/core/rendering/RenderTreeAsText.cpp write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), outlineRect.rect(), paintsBackgroundSeparately ? LayerPaintPhaseForeground : LayerPaintPhaseAll, indent, behavior); rect 696 Source/core/rendering/RenderTreeAsText.cpp RenderTreeAsText::writeLayers(ts, layer, layer, layer->rect(), 0, behavior); rect 121 Source/core/rendering/RenderVideo.cpp void RenderVideo::imageChanged(WrappedImagePtr newImage, const IntRect* rect) rect 123 Source/core/rendering/RenderVideo.cpp RenderMedia::imageChanged(newImage, rect); rect 157 Source/core/rendering/RenderVideo.cpp LayoutRect rect = videoBox(); rect 158 Source/core/rendering/RenderVideo.cpp if (rect.isEmpty()) rect 160 Source/core/rendering/RenderVideo.cpp rect.moveBy(paintOffset); rect 165 Source/core/rendering/RenderVideo.cpp bool clip = !contentRect.contains(rect); rect 172 Source/core/rendering/RenderVideo.cpp paintIntoRect(context, rect); rect 174 Source/core/rendering/RenderVideo.cpp mediaPlayer->paint(context, pixelSnappedIntRect(rect)); rect 329 Source/core/rendering/RenderView.cpp paintInfo.context->fillRect(paintInfo.rect, m_frameView->baseBackgroundColor()); rect 411 Source/core/rendering/RenderView.cpp paintInfo.context->fillRect(paintInfo.rect, baseColor); rect 414 Source/core/rendering/RenderView.cpp paintInfo.context->clearRect(paintInfo.rect); rect 419 Source/core/rendering/RenderView.cpp bool RenderView::shouldRepaint(const LayoutRect& rect) const rect 423 Source/core/rendering/RenderView.cpp return m_frameView && !rect.isEmpty(); rect 461 Source/core/rendering/RenderView.cpp void RenderView::computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect& rect, bool fixed) const rect 474 Source/core/rendering/RenderView.cpp rect.setY(viewHeight() - rect.maxY()); rect 476 Source/core/rendering/RenderView.cpp rect.setX(viewWidth() - rect.maxX()); rect 480 Source/core/rendering/RenderView.cpp rect.move(m_frameView->scrollOffsetForFixedPosition()); rect 483 Source/core/rendering/RenderView.cpp rect.move(-m_frameView->pendingScrollDelta()); rect 489 Source/core/rendering/RenderView.cpp rect = layer()->transform()->mapRect(rect); rect 543 Source/core/rendering/RenderView.cpp LayoutRect currRect = info->rect(); rect 715 Source/core/rendering/RenderView.cpp if (!newInfo || oldInfo->rect() != newInfo->rect() || oldInfo->state() != newInfo->state() || rect 95 Source/core/rendering/RenderWidget.cpp static inline IntRect roundedIntRect(const LayoutRect& rect) rect 97 Source/core/rendering/RenderWidget.cpp return IntRect(roundedIntPoint(rect.location()), roundedIntSize(rect.size())); rect 177 Source/core/rendering/RenderWidget.cpp IntRect paintRect = paintInfo.rect; rect 251 Source/core/rendering/RenderWidget.cpp layer()->scrollableArea()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect); rect 84 Source/core/rendering/compositing/CompositedLayerMapping.cpp LayoutRect rect; rect 89 Source/core/rendering/compositing/CompositedLayerMapping.cpp rect = box->borderBoxRect(); rect 92 Source/core/rendering/compositing/CompositedLayerMapping.cpp rect = box->paddingBoxRect(); rect 95 Source/core/rendering/compositing/CompositedLayerMapping.cpp rect = box->contentBoxRect(); rect 101 Source/core/rendering/compositing/CompositedLayerMapping.cpp return pixelSnappedIntRect(rect); rect 389 Source/core/rendering/compositing/CompositedLayerMapping.cpp clippingBounds.intersect(m_owningLayer.clipper().backgroundClipRect(ClipRectsContext(rootLayer, AbsoluteClipRects)).rect()); rect 702 Source/core/rendering/compositing/CompositedLayerMapping.cpp IntRect parentClipRect = pixelSnappedIntRect(m_owningLayer.clipper().backgroundClipRect(clipRectsContext).rect()); rect 50 Source/core/rendering/compositing/CompositingPropertyUpdater.cpp IntRect clipRect = pixelSnappedIntRect(layer->clipper().backgroundClipRect(ClipRectsContext(m_rootRenderLayer, AbsoluteClipRects)).rect()); rect 845 Source/core/rendering/compositing/RenderLayerCompositor.cpp void RenderLayerCompositor::repaintInCompositedAncestor(RenderLayer* layer, const LayoutRect& rect) rect 853 Source/core/rendering/compositing/RenderLayerCompositor.cpp LayoutRect repaintRect = rect; rect 39 Source/core/rendering/shapes/BoxShape.cpp FloatRect marginBounds(m_bounds.rect()); rect 63 Source/core/rendering/shapes/BoxShape.cpp const FloatRect& rect = marginBounds.rect(); rect 66 Source/core/rendering/shapes/BoxShape.cpp result.append(LineSegment(marginBounds.rect().x(), marginBounds.rect().maxX())); rect 74 Source/core/rendering/shapes/BoxShape.cpp result.append(LineSegment(rect.x(), rect.maxX())); rect 78 Source/core/rendering/shapes/BoxShape.cpp float x1 = rect.maxX(); rect 79 Source/core/rendering/shapes/BoxShape.cpp float x2 = rect.x(); rect 51 Source/core/rendering/shapes/Shape.cpp ASSERT(bounds.rect().width() >= 0 && bounds.rect().height() >= 0); rect 72 Source/core/rendering/shapes/Shape.cpp static inline FloatRect physicalRectToLogical(const FloatRect& rect, float logicalBoxHeight, WritingMode writingMode) rect 75 Source/core/rendering/shapes/Shape.cpp return rect; rect 77 Source/core/rendering/shapes/Shape.cpp return FloatRect(rect.y(), logicalBoxHeight - rect.maxX(), rect.height(), rect.width()); rect 78 Source/core/rendering/shapes/Shape.cpp return rect.transposedRect(); rect 151 Source/core/rendering/shapes/Shape.cpp FloatRect rect(left, top, std::max<float>(boxWidth - left - right, 0), std::max<float>(boxHeight - top - bottom, 0)); rect 152 Source/core/rendering/shapes/Shape.cpp FloatRect logicalRect = physicalRectToLogical(rect, logicalBoxSize.height().toFloat(), writingMode); rect 220 Source/core/rendering/shapes/Shape.cpp FloatRect rect(0, 0, roundedRect.rect().width(), roundedRect.rect().height()); rect 221 Source/core/rendering/shapes/Shape.cpp FloatRoundedRect bounds(rect, roundedRect.radii()); rect 80 Source/core/rendering/shapes/Shape.h bool lineOverlapsBoundingBox(LayoutUnit lineTop, LayoutUnit lineHeight, const LayoutRect& rect) const rect 82 Source/core/rendering/shapes/Shape.h if (rect.isEmpty()) rect 84 Source/core/rendering/shapes/Shape.h return (lineTop < rect.maxY() && lineTop + lineHeight > rect.y()) || (!lineHeight && lineTop == rect.y()); rect 86 Source/core/rendering/shapes/ShapeInfo.cpp static void getShapeImageAndRect(const ShapeValue* shapeValue, const RenderBox* renderBox, const LayoutSize& referenceBoxSize, Image*& image, LayoutRect& rect) rect 96 Source/core/rendering/shapes/ShapeInfo.cpp rect = toRenderImage(renderBox)->replacedContentRect(); rect 98 Source/core/rendering/shapes/ShapeInfo.cpp rect = LayoutRect(LayoutPoint(), imageSize); rect 1631 Source/core/rendering/style/RenderStyle.cpp float calcBorderRadiiConstraintScaleFor(const FloatRect& rect, const FloatRoundedRect::Radii& radii) rect 1641 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.width()) rect 1642 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.width() / radiiSum, factor); rect 1646 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.width()) rect 1647 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.width() / radiiSum, factor); rect 1651 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.height()) rect 1652 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.height() / radiiSum, factor); rect 1656 Source/core/rendering/style/RenderStyle.cpp if (radiiSum > rect.height()) rect 1657 Source/core/rendering/style/RenderStyle.cpp factor = std::min(rect.height() / radiiSum, factor); rect 54 Source/core/rendering/style/ShadowList.cpp void ShadowList::adjustRectForShadow(LayoutRect& rect, float additionalOutlineSize) const rect 56 Source/core/rendering/style/ShadowList.cpp FloatRect floatRect(rect); rect 58 Source/core/rendering/style/ShadowList.cpp rect = LayoutRect(floatRect); rect 61 Source/core/rendering/style/ShadowList.cpp void ShadowList::adjustRectForShadow(FloatRect& rect, float additionalOutlineSize) const rect 69 Source/core/rendering/style/ShadowList.cpp rect.move(shadowLeft, shadowTop); rect 70 Source/core/rendering/style/ShadowList.cpp rect.setWidth(rect.width() - shadowLeft + shadowRight); rect 71 Source/core/rendering/style/ShadowList.cpp rect.setHeight(rect.height() - shadowTop + shadowBottom); rect 165 Source/core/rendering/svg/RenderSVGForeignObject.cpp LayoutRect& rect, bool fixed) const rect 167 Source/core/rendering/svg/RenderSVGForeignObject.cpp FloatRect r(rect); rect 169 Source/core/rendering/svg/RenderSVGForeignObject.cpp rect = enclosingLayoutRect(r); rect 118 Source/core/rendering/svg/RenderSVGInlineText.cpp LayoutRect rect = textBox->localSelectionRect(caretOffset, caretOffset + 1); rect 119 Source/core/rendering/svg/RenderSVGInlineText.cpp LayoutUnit x = box->isLeftToRightDirection() ? rect.x() : rect.maxX(); rect 120 Source/core/rendering/svg/RenderSVGInlineText.cpp return LayoutRect(x, rect.y(), caretWidth, rect.height()); rect 123 Source/core/rendering/svg/RenderSVGInlineText.cpp LayoutRect rect = textBox->localSelectionRect(caretOffset - 1, caretOffset); rect 124 Source/core/rendering/svg/RenderSVGInlineText.cpp LayoutUnit x = box->isLeftToRightDirection() ? rect.maxX() : rect.x(); rect 125 Source/core/rendering/svg/RenderSVGInlineText.cpp return LayoutRect(x, rect.y(), caretWidth, rect.height()); rect 74 Source/core/rendering/svg/RenderSVGModelObject.cpp IntRect rect = enclosingIntRect(strokeBoundingBox()); rect 75 Source/core/rendering/svg/RenderSVGModelObject.cpp rect.moveBy(roundedIntPoint(accumulatedOffset)); rect 76 Source/core/rendering/svg/RenderSVGModelObject.cpp rects.append(rect); rect 53 Source/core/rendering/svg/RenderSVGRect.cpp SVGRectElement* rect = toSVGRectElement(element()); rect 54 Source/core/rendering/svg/RenderSVGRect.cpp ASSERT(rect); rect 56 Source/core/rendering/svg/RenderSVGRect.cpp SVGLengthContext lengthContext(rect); rect 58 Source/core/rendering/svg/RenderSVGRect.cpp if (rect->rx()->currentValue()->value(lengthContext) > 0 || rect->ry()->currentValue()->value(lengthContext) > 0 || hasNonScalingStroke()) { rect 65 Source/core/rendering/svg/RenderSVGRect.cpp FloatSize boundingBoxSize(rect->width()->currentValue()->value(lengthContext), rect->height()->currentValue()->value(lengthContext)); rect 71 Source/core/rendering/svg/RenderSVGRect.cpp m_fillBoundingBox = FloatRect(FloatPoint(rect->x()->currentValue()->value(lengthContext), rect->y()->currentValue()->value(lengthContext)), boundingBoxSize); rect 370 Source/core/rendering/svg/RenderSVGRoot.cpp LayoutRect rect = enclosingIntRect(repaintRect); rect 371 Source/core/rendering/svg/RenderSVGRoot.cpp RenderReplaced::computeRectForRepaint(repaintContainer, rect, fixed); rect 372 Source/core/rendering/svg/RenderSVGRoot.cpp repaintRect = rect; rect 301 Source/core/rendering/svg/RenderSVGShape.cpp IntRect rect = enclosingIntRect(repaintRectInLocalCoordinates()); rect 302 Source/core/rendering/svg/RenderSVGShape.cpp if (!rect.isEmpty()) rect 303 Source/core/rendering/svg/RenderSVGShape.cpp rects.append(rect); rect 96 Source/core/rendering/svg/RenderSVGText.cpp void RenderSVGText::computeRectForRepaint(const RenderLayerModelObject* repaintContainer, LayoutRect& rect, bool fixed) const rect 98 Source/core/rendering/svg/RenderSVGText.cpp FloatRect repaintRect = rect; rect 100 Source/core/rendering/svg/RenderSVGText.cpp rect = enclosingLayoutRect(repaintRect); rect 788 Source/core/rendering/svg/SVGInlineTextBox.cpp FloatRect rect(boxOrigin, size()); rect 789 Source/core/rendering/svg/SVGInlineTextBox.cpp if (locationInContainer.intersects(rect)) { rect 791 Source/core/rendering/svg/SVGInlineTextBox.cpp if (!result.addNodeToRectBasedTestResult(renderer().node(), request, locationInContainer, rect)) rect 102 Source/core/rendering/svg/SVGPathData.cpp SVGRectElement* rect = toSVGRectElement(element); rect 105 Source/core/rendering/svg/SVGPathData.cpp float width = rect->width()->currentValue()->value(lengthContext); rect 108 Source/core/rendering/svg/SVGPathData.cpp float height = rect->height()->currentValue()->value(lengthContext); rect 113 Source/core/rendering/svg/SVGPathData.cpp float x = rect->x()->currentValue()->value(lengthContext); rect 114 Source/core/rendering/svg/SVGPathData.cpp float y = rect->y()->currentValue()->value(lengthContext); rect 115 Source/core/rendering/svg/SVGPathData.cpp float rx = rect->rx()->currentValue()->value(lengthContext); rect 116 Source/core/rendering/svg/SVGPathData.cpp float ry = rect->ry()->currentValue()->value(lengthContext); rect 153 Source/core/rendering/svg/SVGRenderSupport.cpp return localTransform.mapRect(localRepaintRect).intersects(paintInfo.rect); rect 68 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->rect = m_savedPaintRect; rect 176 Source/core/rendering/svg/SVGRenderingContext.cpp m_savedPaintRect = m_paintInfo->rect; rect 188 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->rect = IntRect(m_filter->drawingRegion(m_object)); rect 557 Source/core/svg/SVGElement.cpp bool SVGElement::getBoundingBox(FloatRect& rect) rect 562 Source/core/svg/SVGElement.cpp rect = toSVGGraphicsElement(this)->getBBox(); rect 67 Source/core/svg/SVGFitToViewBox.cpp void SVGFitToViewBox::updateViewBox(const FloatRect& rect) rect 70 Source/core/svg/SVGFitToViewBox.cpp m_viewBox->baseValue()->setValue(rect); rect 47 Source/core/svg/SVGRect.cpp SVGRect::SVGRect(const FloatRect& rect) rect 50 Source/core/svg/SVGRect.cpp , m_value(rect) rect 61 Source/core/svg/SVGRect.cpp RefPtr<SVGRect> rect = SVGRect::create(); rect 62 Source/core/svg/SVGRect.cpp rect->setValueAsString(value, IGNORE_EXCEPTION); rect 63 Source/core/svg/SVGRect.cpp return rect.release(); rect 46 Source/core/svg/SVGRect.h static PassRefPtr<SVGRect> create(const FloatRect& rect) rect 48 Source/core/svg/SVGRect.h return adoptRef(new SVGRect(rect)); rect 344 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkIntersectionOrEnclosure(const SVGElement& element, const FloatRect& rect, rect 361 Source/core/svg/SVGSVGElement.cpp result = intersectsAllowingEmpty(rect, mappedRepaintRect); rect 364 Source/core/svg/SVGSVGElement.cpp result = rect.contains(mappedRepaintRect); rect 374 Source/core/svg/SVGSVGElement.cpp PassRefPtr<NodeList> SVGSVGElement::collectIntersectionOrEnclosureList(const FloatRect& rect, rect 392 Source/core/svg/SVGSVGElement.cpp if (checkIntersectionOrEnclosure(*element, rect, mode)) rect 399 Source/core/svg/SVGSVGElement.cpp PassRefPtr<NodeList> SVGSVGElement::getIntersectionList(PassRefPtr<SVGRectTearOff> rect, SVGElement* referenceElement) const rect 403 Source/core/svg/SVGSVGElement.cpp return collectIntersectionOrEnclosureList(rect->target()->value(), referenceElement, CheckIntersection); rect 406 Source/core/svg/SVGSVGElement.cpp PassRefPtr<NodeList> SVGSVGElement::getEnclosureList(PassRefPtr<SVGRectTearOff> rect, SVGElement* referenceElement) const rect 410 Source/core/svg/SVGSVGElement.cpp return collectIntersectionOrEnclosureList(rect->target()->value(), referenceElement, CheckEnclosure); rect 413 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkIntersection(SVGElement* element, PassRefPtr<SVGRectTearOff> rect) const rect 418 Source/core/svg/SVGSVGElement.cpp return checkIntersectionOrEnclosure(*element, rect->target()->value(), CheckIntersection); rect 421 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkEnclosure(SVGElement* element, PassRefPtr<SVGRectTearOff> rect) const rect 426 Source/core/svg/SVGSVGElement.cpp return checkIntersectionOrEnclosure(*element, rect->target()->value(), CheckEnclosure); rect 152 Source/core/svg/SVGTextContentElement.cpp FloatRect rect = SVGTextQuery(renderer()).extentOfCharacter(charnum); rect 153 Source/core/svg/SVGTextContentElement.cpp return SVGRectTearOff::create(SVGRect::create(rect), 0, PropertyIsNotAnimVal); rect 208 Source/core/svg/graphics/SVGImage.cpp drawForContainer(buffer->context(), size(), 1, rect(), rect(), CompositeSourceOver, blink::WebBlendModeNormal); rect 48 Source/core/testing/LayerRect.h static PassRefPtrWillBeRawPtr<LayerRect> create(PassRefPtr<Node> node, const String& layerType, PassRefPtr<ClientRect> rect) rect 50 Source/core/testing/LayerRect.h return adoptRefWillBeNoop(new LayerRect(node, layerType, rect)); rect 60 Source/core/testing/LayerRect.h LayerRect(PassRefPtr<Node> node, const String& layerName, PassRefPtr<ClientRect> rect) rect 63 Source/core/testing/LayerRect.h , m_rect(rect) rect 37 Source/platform/Cursor.cpp IntRect imageRect = image->rect(); rect 172 Source/platform/DragImage.cpp IntRect rect(IntPoint(), imageSize); rect 174 Source/platform/DragImage.cpp buffer->context()->fillRoundedRect(rect, radii, radii, radii, radii, backgroundColor); rect 80 Source/platform/PlatformScreen.cpp return IntRect(hostWindow->screenInfo().rect); rect 137 Source/platform/exported/WebScrollbarThemeGeometryNative.cpp WebRect WebScrollbarThemeGeometryNative::constrainTrackRectToTrackPieces(WebScrollbar* scrollbar, const WebRect& rect) rect 140 Source/platform/exported/WebScrollbarThemeGeometryNative.cpp return m_theme->constrainTrackRectToTrackPieces(&client, IntRect(rect)); rect 69 Source/platform/geometry/FloatBoxExtent.h void expandRect(FloatRect& rect) const rect 74 Source/platform/geometry/FloatBoxExtent.h rect.move(-left(), -top()); rect 75 Source/platform/geometry/FloatBoxExtent.h rect.expand(left() + right(), top() + bottom()); rect 86 Source/platform/geometry/FloatBoxExtent.h void unite(const FloatRect& rect) rect 88 Source/platform/geometry/FloatBoxExtent.h m_top = std::min(m_top, rect.y()); rect 89 Source/platform/geometry/FloatBoxExtent.h m_right = std::max(m_right, rect.maxX()); rect 90 Source/platform/geometry/FloatBoxExtent.h m_bottom = std::max(m_bottom, rect.maxY()); rect 91 Source/platform/geometry/FloatBoxExtent.h m_left = std::min(m_left, rect.x()); rect 202 Source/platform/geometry/FloatPolygon.cpp bool VertexPair::overlapsRect(const FloatRect& rect) const rect 204 Source/platform/geometry/FloatPolygon.cpp bool boundsOverlap = (minX() < rect.maxX()) && (maxX() > rect.x()) && (minY() < rect.maxY()) && (maxY() > rect.y()); rect 209 Source/platform/geometry/FloatPolygon.cpp leftSide(vertex1(), vertex2(), rect.minXMinYCorner()), rect 210 Source/platform/geometry/FloatPolygon.cpp leftSide(vertex1(), vertex2(), rect.maxXMinYCorner()), rect 211 Source/platform/geometry/FloatPolygon.cpp leftSide(vertex1(), vertex2(), rect.minXMaxYCorner()), rect 212 Source/platform/geometry/FloatPolygon.cpp leftSide(vertex1(), vertex2(), rect.maxXMaxYCorner()) rect 117 Source/platform/geometry/FloatQuad.cpp static inline FloatPoint rightMostCornerToVector(const FloatRect& rect, const FloatSize& vector) rect 130 Source/platform/geometry/FloatQuad.cpp point.setY(rect.maxY()); rect 132 Source/platform/geometry/FloatQuad.cpp point.setY(rect.y()); rect 134 Source/platform/geometry/FloatQuad.cpp point.setX(rect.x()); rect 136 Source/platform/geometry/FloatQuad.cpp point.setX(rect.maxX()); rect 140 Source/platform/geometry/FloatQuad.cpp bool FloatQuad::intersectsRect(const FloatRect& rect) const rect 160 Source/platform/geometry/FloatQuad.cpp FloatPoint p = rightMostCornerToVector(rect, v1); rect 164 Source/platform/geometry/FloatQuad.cpp p = rightMostCornerToVector(rect, v2); rect 168 Source/platform/geometry/FloatQuad.cpp p = rightMostCornerToVector(rect, v3); rect 172 Source/platform/geometry/FloatQuad.cpp p = rightMostCornerToVector(rect, v4); rect 230 Source/platform/geometry/FloatRect.cpp SkRect rect = { x(), y(), maxX(), maxY() }; rect 231 Source/platform/geometry/FloatRect.cpp return rect; rect 234 Source/platform/geometry/FloatRect.cpp IntRect enclosingIntRect(const FloatRect& rect) rect 236 Source/platform/geometry/FloatRect.cpp IntPoint location = flooredIntPoint(rect.minXMinYCorner()); rect 237 Source/platform/geometry/FloatRect.cpp IntPoint maxPoint = ceiledIntPoint(rect.maxXMaxYCorner()); rect 242 Source/platform/geometry/FloatRect.cpp IntRect enclosedIntRect(const FloatRect& rect) rect 244 Source/platform/geometry/FloatRect.cpp IntPoint location = ceiledIntPoint(rect.minXMinYCorner()); rect 245 Source/platform/geometry/FloatRect.cpp IntPoint maxPoint = flooredIntPoint(rect.maxXMaxYCorner()); rect 252 Source/platform/geometry/FloatRect.cpp IntRect roundedIntRect(const FloatRect& rect) rect 254 Source/platform/geometry/FloatRect.cpp return IntRect(roundedIntPoint(rect.location()), roundedIntSize(rect.size())); rect 42 Source/platform/geometry/FloatRoundedRect.cpp FloatRoundedRect::FloatRoundedRect(const FloatRect& rect, const Radii& radii) rect 43 Source/platform/geometry/FloatRoundedRect.cpp : m_rect(rect) rect 48 Source/platform/geometry/FloatRoundedRect.cpp FloatRoundedRect::FloatRoundedRect(const FloatRect& rect, const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight) rect 49 Source/platform/geometry/FloatRoundedRect.cpp : m_rect(rect) rect 108 Source/platform/geometry/FloatRoundedRect.cpp if (y < rect().y() || y > rect().maxY()) rect 112 Source/platform/geometry/FloatRoundedRect.cpp minXIntercept = rect().x(); rect 113 Source/platform/geometry/FloatRoundedRect.cpp maxXIntercept = rect().maxX(); rect 88 Source/platform/geometry/FloatRoundedRect.h const FloatRect& rect() const { return m_rect; } rect 93 Source/platform/geometry/FloatRoundedRect.h void setRect(const FloatRect& rect) { m_rect = rect; } rect 132 Source/platform/geometry/FloatRoundedRect.h return a.rect() == b.rect() && a.radii() == b.radii(); rect 47 Source/platform/geometry/FloatRoundedRectTest.cpp void PrintTo(const FloatRect& rect, std::ostream* os) rect 50 Source/platform/geometry/FloatRoundedRectTest.cpp << rect.x() << ", " rect 51 Source/platform/geometry/FloatRoundedRectTest.cpp << rect.y() << ", " rect 52 Source/platform/geometry/FloatRoundedRectTest.cpp << rect.width() << ", " rect 53 Source/platform/geometry/FloatRoundedRectTest.cpp << rect.height() << ")"; rect 68 Source/platform/geometry/FloatRoundedRectTest.cpp << ::testing::PrintToString(roundedRect.rect()) << ", " rect 89 Source/platform/geometry/FloatRoundedRectTest.cpp EXPECT_EQ(FloatRect(1, 2, 3, 4), r.rect()); rect 103 Source/platform/geometry/FloatRoundedRectTest.cpp TEST_INTERCEPTS(r, 2, r.rect().x(), r.rect().maxX()); rect 104 Source/platform/geometry/FloatRoundedRectTest.cpp TEST_INTERCEPTS(r, 4, r.rect().x(), r.rect().maxX()); rect 105 Source/platform/geometry/FloatRoundedRectTest.cpp TEST_INTERCEPTS(r, 6, r.rect().x(), r.rect().maxX()); rect 125 Source/platform/geometry/FloatRoundedRectTest.cpp EXPECT_EQ(FloatRect(0, 0, 100, 100), r.rect()); rect 152 Source/platform/geometry/IntRect.cpp SkIRect rect = { x(), y(), maxX(), maxY() }; rect 153 Source/platform/geometry/IntRect.cpp return rect; rect 158 Source/platform/geometry/IntRect.cpp SkRect rect; rect 159 Source/platform/geometry/IntRect.cpp rect.set(SkIntToScalar(x()), SkIntToScalar(y()), SkIntToScalar(maxX()), SkIntToScalar(maxY())); rect 160 Source/platform/geometry/IntRect.cpp return rect; rect 69 Source/platform/geometry/IntRectExtent.h void expandRect(LayoutRect& rect) const rect 74 Source/platform/geometry/IntRectExtent.h rect.move(-left(), -top()); rect 75 Source/platform/geometry/IntRectExtent.h rect.expand(left() + right(), top() + bottom()); rect 132 Source/platform/geometry/LayoutRect.cpp IntRect enclosingIntRect(const LayoutRect& rect) rect 134 Source/platform/geometry/LayoutRect.cpp IntPoint location = flooredIntPoint(rect.minXMinYCorner()); rect 135 Source/platform/geometry/LayoutRect.cpp IntPoint maxPoint = ceiledIntPoint(rect.maxXMaxYCorner()); rect 140 Source/platform/geometry/LayoutRect.cpp LayoutRect enclosingLayoutRect(const FloatRect& rect) rect 142 Source/platform/geometry/LayoutRect.cpp LayoutPoint location = flooredLayoutPoint(rect.minXMinYCorner()); rect 143 Source/platform/geometry/LayoutRect.cpp LayoutPoint maxPoint = ceiledLayoutPoint(rect.maxXMaxYCorner()); rect 52 Source/platform/geometry/LayoutRect.h LayoutRect(const IntRect& rect) : m_location(rect.location()), m_size(rect.size()) { } rect 203 Source/platform/geometry/LayoutRect.h inline IntRect pixelSnappedIntRect(const LayoutRect& rect) rect 205 Source/platform/geometry/LayoutRect.h return IntRect(roundedIntPoint(rect.location()), IntSize( rect 206 Source/platform/geometry/LayoutRect.h snapSizeToPixel(rect.width(), rect.x()), rect 207 Source/platform/geometry/LayoutRect.h snapSizeToPixel(rect.height(), rect.y()))); rect 43 Source/platform/geometry/Region.cpp Region::Region(const IntRect& rect) rect 44 Source/platform/geometry/Region.cpp : m_bounds(rect) rect 45 Source/platform/geometry/Region.cpp , m_shape(rect) rect 119 Source/platform/geometry/Region.cpp IntRect rect = rects[i]; rect 120 Source/platform/geometry/Region.cpp totalArea += (rect.width() * rect.height()); rect 228 Source/platform/geometry/Region.cpp Region::Shape::Shape(const IntRect& rect) rect 230 Source/platform/geometry/Region.cpp appendSpan(rect.y()); rect 231 Source/platform/geometry/Region.cpp appendSegment(rect.x()); rect 232 Source/platform/geometry/Region.cpp appendSegment(rect.maxX()); rect 233 Source/platform/geometry/Region.cpp appendSpan(rect.maxY()); rect 142 Source/platform/geometry/RoundedRect.cpp RoundedRect::RoundedRect(const IntRect& rect, const Radii& radii) rect 143 Source/platform/geometry/RoundedRect.cpp : m_rect(rect) rect 148 Source/platform/geometry/RoundedRect.cpp RoundedRect::RoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) rect 149 Source/platform/geometry/RoundedRect.cpp : m_rect(rect) rect 198 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect); rect 199 Source/platform/geometry/RoundedRect.cpp if (!quad.intersectsRect(rect)) rect 204 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.x(), m_rect.y(), topLeft.width(), topLeft.height()); rect 205 Source/platform/geometry/RoundedRect.cpp if (quad.intersectsRect(rect)) { rect 215 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.maxX() - topRight.width(), m_rect.y(), topRight.width(), topRight.height()); rect 216 Source/platform/geometry/RoundedRect.cpp if (quad.intersectsRect(rect)) { rect 226 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.x(), m_rect.maxY() - bottomLeft.height(), bottomLeft.width(), bottomLeft.height()); rect 227 Source/platform/geometry/RoundedRect.cpp if (quad.intersectsRect(rect)) { rect 237 Source/platform/geometry/RoundedRect.cpp FloatRect rect(m_rect.maxX() - bottomRight.width(), m_rect.maxY() - bottomRight.height(), bottomRight.width(), bottomRight.height()); rect 238 Source/platform/geometry/RoundedRect.cpp if (quad.intersectsRect(rect)) { rect 82 Source/platform/geometry/RoundedRect.h const IntRect& rect() const { return m_rect; } rect 90 Source/platform/geometry/RoundedRect.h void setRect(const IntRect& rect) { m_rect = rect; } rect 126 Source/platform/geometry/RoundedRect.h return a.rect() == b.rect() && a.radii() == b.radii(); rect 42 Source/platform/geometry/RoundedRectTest.cpp void PrintTo(const IntRect& rect, std::ostream* os) rect 45 Source/platform/geometry/RoundedRectTest.cpp << rect.x() << ", " rect 46 Source/platform/geometry/RoundedRectTest.cpp << rect.y() << ", " rect 47 Source/platform/geometry/RoundedRectTest.cpp << rect.width() << ", " rect 48 Source/platform/geometry/RoundedRectTest.cpp << rect.height() << ")"; rect 58 Source/platform/geometry/RoundedRectTest.cpp EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect())); rect 65 Source/platform/geometry/RoundedRectTest.cpp EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect())); rect 72 Source/platform/geometry/RoundedRectTest.cpp EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect())); rect 79 Source/platform/geometry/RoundedRectTest.cpp EXPECT_TRUE(rr.rect().contains(rr.radiusCenterRect())); rect 38 Source/platform/geometry/cg/IntRectCG.cpp IntRect enclosingIntRect(const CGRect& rect) rect 40 Source/platform/geometry/cg/IntRectCG.cpp int l = static_cast<int>(floorf(rect.origin.x)); rect 41 Source/platform/geometry/cg/IntRectCG.cpp int t = static_cast<int>(floorf(rect.origin.y)); rect 42 Source/platform/geometry/cg/IntRectCG.cpp int r = static_cast<int>(ceilf(CGRectGetMaxX(rect))); rect 43 Source/platform/geometry/cg/IntRectCG.cpp int b = static_cast<int>(ceilf(CGRectGetMaxY(rect))); rect 337 Source/platform/graphics/GraphicsContext.cpp SkRect rect; rect 338 Source/platform/graphics/GraphicsContext.cpp if (!m_canvas->getClipBounds(&rect)) rect 340 Source/platform/graphics/GraphicsContext.cpp return FloatRect(rect); rect 593 Source/platform/graphics/GraphicsContext.cpp SkRect rect = elipseRect; rect 594 Source/platform/graphics/GraphicsContext.cpp drawOval(rect, immutableState()->fillPaint()); rect 597 Source/platform/graphics/GraphicsContext.cpp drawOval(rect, immutableState()->strokePaint()); rect 657 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawInnerShadow(const RoundedRect& rect, const Color& shadowColor, const IntSize shadowOffset, int shadowBlur, int shadowSpread, Edges clippedEdges) rect 662 Source/platform/graphics/GraphicsContext.cpp IntRect holeRect(rect.rect()); rect 666 Source/platform/graphics/GraphicsContext.cpp if (rect.isRounded()) rect 667 Source/platform/graphics/GraphicsContext.cpp fillRoundedRect(rect, shadowColor); rect 669 Source/platform/graphics/GraphicsContext.cpp fillRect(rect.rect(), shadowColor); rect 688 Source/platform/graphics/GraphicsContext.cpp IntRect outerRect = areaCastingShadowInHole(rect.rect(), shadowBlur, shadowSpread, shadowOffset); rect 689 Source/platform/graphics/GraphicsContext.cpp RoundedRect roundedHole(holeRect, rect.radii()); rect 692 Source/platform/graphics/GraphicsContext.cpp if (rect.isRounded()) { rect 694 Source/platform/graphics/GraphicsContext.cpp path.addRoundedRect(rect); rect 698 Source/platform/graphics/GraphicsContext.cpp clip(rect.rect()); rect 878 Source/platform/graphics/GraphicsContext.cpp SkRect rect; rect 879 Source/platform/graphics/GraphicsContext.cpp rect.set(originX, originY, originX + WebCoreFloatToSkScalar(width) * deviceScaleFactor, originY + SkIntToScalar(misspellBitmap[index]->height())); rect 885 Source/platform/graphics/GraphicsContext.cpp drawRect(rect, paint); rect 930 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawRect(const IntRect& rect) rect 935 Source/platform/graphics/GraphicsContext.cpp ASSERT(!rect.isEmpty()); rect 936 Source/platform/graphics/GraphicsContext.cpp if (rect.isEmpty()) rect 939 Source/platform/graphics/GraphicsContext.cpp SkRect skRect = rect; rect 1122 Source/platform/graphics/GraphicsContext.cpp SkRect rect = SkRect::MakeXYWH(x, y, info.width(), info.height()); rect 1129 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, paint, 0); rect 1155 Source/platform/graphics/GraphicsContext.cpp SkRect rect = SkRect::MakeXYWH(left, top, bitmap.width(), bitmap.height()); rect 1156 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, *paint, &bitmap); rect 1197 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::drawRect(const SkRect& rect, const SkPaint& paint) rect 1202 Source/platform/graphics/GraphicsContext.cpp m_canvas->drawRect(rect, paint); rect 1205 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, paint, 0); rect 1208 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::didDrawRect(const SkRect& rect, const SkPaint& paint, const SkBitmap* bitmap) rect 1214 Source/platform/graphics/GraphicsContext.cpp m_opaqueRegion.didDrawRect(this, rect, paint, bitmap); rect 1277 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRect(const FloatRect& rect) rect 1282 Source/platform/graphics/GraphicsContext.cpp SkRect r = rect; rect 1287 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRect(const FloatRect& rect, const Color& color) rect 1292 Source/platform/graphics/GraphicsContext.cpp SkRect r = rect; rect 1324 Source/platform/graphics/GraphicsContext.cpp fillBetweenRoundedRects(outer.rect(), outer.radii().topLeft(), outer.radii().topRight(), outer.radii().bottomLeft(), outer.radii().bottomRight(), rect 1325 Source/platform/graphics/GraphicsContext.cpp inner.rect(), inner.radii().topLeft(), inner.radii().topRight(), inner.radii().bottomLeft(), inner.radii().bottomRight(), color); rect 1328 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, rect 1334 Source/platform/graphics/GraphicsContext.cpp if (topLeft.width() + topRight.width() > rect.width() rect 1335 Source/platform/graphics/GraphicsContext.cpp || bottomLeft.width() + bottomRight.width() > rect.width() rect 1336 Source/platform/graphics/GraphicsContext.cpp || topLeft.height() + bottomLeft.height() > rect.height() rect 1337 Source/platform/graphics/GraphicsContext.cpp || topRight.height() + bottomRight.height() > rect.height()) { rect 1341 Source/platform/graphics/GraphicsContext.cpp fillRect(rect, color); rect 1349 Source/platform/graphics/GraphicsContext.cpp rr.setRectRadii(rect, radii); rect 1365 Source/platform/graphics/GraphicsContext.cpp SkRect rect = ellipse; rect 1366 Source/platform/graphics/GraphicsContext.cpp drawOval(rect, immutableState()->fillPaint()); rect 1378 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::strokeRect(const FloatRect& rect, float lineWidth) rect 1390 Source/platform/graphics/GraphicsContext.cpp SkRect r(rect); rect 1414 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::clipRoundedRect(const RoundedRect& rect, SkRegion::Op regionOp) rect 1419 Source/platform/graphics/GraphicsContext.cpp if (!rect.isRounded()) { rect 1420 Source/platform/graphics/GraphicsContext.cpp clipRect(rect.rect(), NotAntiAliased, regionOp); rect 1425 Source/platform/graphics/GraphicsContext.cpp RoundedRect::Radii wkRadii = rect.radii(); rect 1429 Source/platform/graphics/GraphicsContext.cpp r.setRectRadii(rect.rect(), radii); rect 1475 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::clipOutRoundedRect(const RoundedRect& rect) rect 1480 Source/platform/graphics/GraphicsContext.cpp clipRoundedRect(rect, SkRegion::kDifference_Op); rect 1499 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::clipRect(const SkRect& rect, AntiAliasingMode aa, SkRegion::Op op) rect 1506 Source/platform/graphics/GraphicsContext.cpp m_canvas->clipRect(rect, op, aa == AntiAliased); rect 1519 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::clipRRect(const SkRRect& rect, AntiAliasingMode aa, SkRegion::Op op) rect 1526 Source/platform/graphics/GraphicsContext.cpp m_canvas->clipRRect(rect, op, aa == AntiAliased); rect 1529 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::beginCull(const FloatRect& rect) rect 1535 Source/platform/graphics/GraphicsContext.cpp m_canvas->pushCull(rect); rect 1593 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::setURLFragmentForRect(const String& destName, const IntRect& rect) rect 1599 Source/platform/graphics/GraphicsContext.cpp SkAnnotateLinkToDestination(m_canvas, rect, skDestName.get()); rect 1625 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, CompositeOperator op) rect 1632 Source/platform/graphics/GraphicsContext.cpp fillRect(rect, color); rect 1636 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRoundedRect(const RoundedRect& rect, const Color& color) rect 1641 Source/platform/graphics/GraphicsContext.cpp if (rect.isRounded()) rect 1642 Source/platform/graphics/GraphicsContext.cpp fillRoundedRect(rect.rect(), rect.radii().topLeft(), rect.radii().topRight(), rect.radii().bottomLeft(), rect.radii().bottomRight(), color); rect 1644 Source/platform/graphics/GraphicsContext.cpp fillRect(rect.rect(), color); rect 1647 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::fillRectWithRoundedHole(const IntRect& rect, const RoundedRect& roundedHoleRect, const Color& color) rect 1653 Source/platform/graphics/GraphicsContext.cpp path.addRect(rect); rect 1658 Source/platform/graphics/GraphicsContext.cpp path.addRect(roundedHoleRect.rect()); rect 1672 Source/platform/graphics/GraphicsContext.cpp void GraphicsContext::clearRect(const FloatRect& rect) rect 1677 Source/platform/graphics/GraphicsContext.cpp SkRect r = rect; rect 290 Source/platform/graphics/GraphicsContext.h void clip(const IntRect& rect) { clipRect(rect); } rect 291 Source/platform/graphics/GraphicsContext.h void clip(const FloatRect& rect) { clipRect(rect); } rect 293 Source/platform/graphics/GraphicsContext.h void clipOut(const IntRect& rect) { clipRect(rect, NotAntiAliased, SkRegion::kDifference_Op); } rect 19 Source/platform/graphics/GraphicsContextCullSaver.h GraphicsContextCullSaver(GraphicsContext& context, const FloatRect& rect) rect 23 Source/platform/graphics/GraphicsContextCullSaver.h context.beginCull(rect); rect 32 Source/platform/graphics/GraphicsContextCullSaver.h void cull(const FloatRect& rect) rect 35 Source/platform/graphics/GraphicsContextCullSaver.h m_context.beginCull(rect); rect 979 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::setNeedsDisplayInRect(const FloatRect& rect) rect 982 Source/platform/graphics/GraphicsLayer.cpp m_layer->layer()->invalidateRect(rect); rect 983 Source/platform/graphics/GraphicsLayer.cpp addRepaintRect(rect); rect 989 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::setContentsRect(const IntRect& rect) rect 991 Source/platform/graphics/GraphicsLayer.cpp if (rect == m_contentsRect) rect 994 Source/platform/graphics/GraphicsLayer.cpp m_contentsRect = rect; rect 57 Source/platform/graphics/GraphicsLayerDebugInfo.cpp const LayoutRect& rect = m_currentLayoutRects[i]; rect 60 Source/platform/graphics/GraphicsLayerDebugInfo.cpp rectArray->pushNumber(rect.x().toFloat()); rect 61 Source/platform/graphics/GraphicsLayerDebugInfo.cpp rectArray->pushNumber(rect.y().toFloat()); rect 62 Source/platform/graphics/GraphicsLayerDebugInfo.cpp rectArray->pushNumber(rect.maxX().toFloat()); rect 63 Source/platform/graphics/GraphicsLayerDebugInfo.cpp rectArray->pushNumber(rect.maxY().toFloat()); rect 105 Source/platform/graphics/Image.cpp FloatRect Image::adjustForNegativeSize(const FloatRect& rect) rect 107 Source/platform/graphics/Image.cpp FloatRect norm = rect; rect 85 Source/platform/graphics/Image.h IntRect rect() const { return IntRect(IntPoint(), size()); } rect 311 Source/platform/graphics/ImageBuffer.cpp PassRefPtr<Uint8ClampedArray> getImageData(const IntRect& rect, GraphicsContext* context, const IntSize& size) rect 313 Source/platform/graphics/ImageBuffer.cpp float area = 4.0f * rect.width() * rect.height(); rect 317 Source/platform/graphics/ImageBuffer.cpp RefPtr<Uint8ClampedArray> result = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); rect 319 Source/platform/graphics/ImageBuffer.cpp if (rect.x() < 0 rect 320 Source/platform/graphics/ImageBuffer.cpp || rect.y() < 0 rect 321 Source/platform/graphics/ImageBuffer.cpp || rect.maxX() > size.width() rect 322 Source/platform/graphics/ImageBuffer.cpp || rect.maxY() > size.height()) rect 326 Source/platform/graphics/ImageBuffer.cpp SkImageInfo info = SkImageInfo::Make(rect.width(), rect.height(), kRGBA_8888_SkColorType, alphaType); rect 328 Source/platform/graphics/ImageBuffer.cpp context->readPixels(info, result->data(), 4 * rect.width(), rect.x(), rect.y()); rect 332 Source/platform/graphics/ImageBuffer.cpp PassRefPtr<Uint8ClampedArray> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const rect 335 Source/platform/graphics/ImageBuffer.cpp return Uint8ClampedArray::create(rect.width() * rect.height() * 4); rect 336 Source/platform/graphics/ImageBuffer.cpp return getImageData<Unmultiplied>(rect, context(), m_surface->size()); rect 339 Source/platform/graphics/ImageBuffer.cpp PassRefPtr<Uint8ClampedArray> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const rect 342 Source/platform/graphics/ImageBuffer.cpp return Uint8ClampedArray::create(rect.width() * rect.height() * 4); rect 343 Source/platform/graphics/ImageBuffer.cpp return getImageData<Premultiplied>(rect, context(), m_surface->size()); rect 358 Source/platform/graphics/Path.cpp void Path::addRect(const FloatRect& rect) rect 360 Source/platform/graphics/Path.cpp m_path.addRect(rect); rect 383 Source/platform/graphics/Path.cpp void Path::addEllipse(const FloatRect& rect) rect 385 Source/platform/graphics/Path.cpp m_path.addOval(rect); rect 390 Source/platform/graphics/Path.cpp addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight()); rect 393 Source/platform/graphics/Path.cpp void Path::addRoundedRect(const FloatRect& rect, const FloatSize& roundingRadii) rect 395 Source/platform/graphics/Path.cpp if (rect.isEmpty()) rect 399 Source/platform/graphics/Path.cpp FloatSize halfSize(rect.width() / 2, rect.height() / 2); rect 418 Source/platform/graphics/Path.cpp addPathForRoundedRect(rect, radius, radius, radius, radius); rect 421 Source/platform/graphics/Path.cpp void Path::addRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) rect 423 Source/platform/graphics/Path.cpp if (rect.isEmpty()) rect 426 Source/platform/graphics/Path.cpp if (rect.width() < topLeftRadius.width() + topRightRadius.width() rect 427 Source/platform/graphics/Path.cpp || rect.width() < bottomLeftRadius.width() + bottomRightRadius.width() rect 428 Source/platform/graphics/Path.cpp || rect.height() < topLeftRadius.height() + bottomLeftRadius.height() rect 429 Source/platform/graphics/Path.cpp || rect.height() < topRightRadius.height() + bottomRightRadius.height()) { rect 431 Source/platform/graphics/Path.cpp addRect(rect); rect 435 Source/platform/graphics/Path.cpp addPathForRoundedRect(rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); rect 438 Source/platform/graphics/Path.cpp void Path::addPathForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) rect 440 Source/platform/graphics/Path.cpp addBeziersForRoundedRect(rect, topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius); rect 447 Source/platform/graphics/Path.cpp void Path::addBeziersForRoundedRect(const FloatRect& rect, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius) rect 449 Source/platform/graphics/Path.cpp moveTo(FloatPoint(rect.x() + topLeftRadius.width(), rect.y())); rect 451 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.maxX() - topRightRadius.width(), rect.y())); rect 453 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.maxX() - topRightRadius.width() * gCircleControlPoint, rect.y()), rect 454 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX(), rect.y() + topRightRadius.height() * gCircleControlPoint), rect 455 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX(), rect.y() + topRightRadius.height())); rect 456 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.maxX(), rect.maxY() - bottomRightRadius.height())); rect 458 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.maxX(), rect.maxY() - bottomRightRadius.height() * gCircleControlPoint), rect 459 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX() - bottomRightRadius.width() * gCircleControlPoint, rect.maxY()), rect 460 Source/platform/graphics/Path.cpp FloatPoint(rect.maxX() - bottomRightRadius.width(), rect.maxY())); rect 461 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.x() + bottomLeftRadius.width(), rect.maxY())); rect 463 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.x() + bottomLeftRadius.width() * gCircleControlPoint, rect.maxY()), rect 464 Source/platform/graphics/Path.cpp FloatPoint(rect.x(), rect.maxY() - bottomLeftRadius.height() * gCircleControlPoint), rect 465 Source/platform/graphics/Path.cpp FloatPoint(rect.x(), rect.maxY() - bottomLeftRadius.height())); rect 466 Source/platform/graphics/Path.cpp addLineTo(FloatPoint(rect.x(), rect.y() + topLeftRadius.height())); rect 468 Source/platform/graphics/Path.cpp addBezierCurveTo(FloatPoint(rect.x(), rect.y() + topLeftRadius.height() * gCircleControlPoint), rect 469 Source/platform/graphics/Path.cpp FloatPoint(rect.x() + topLeftRadius.width() * gCircleControlPoint, rect.y()), rect 470 Source/platform/graphics/Path.cpp FloatPoint(rect.x() + topLeftRadius.width(), rect.y())); rect 193 Source/platform/graphics/filters/FEColorMatrix.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 194 Source/platform/graphics/filters/FEColorMatrix.cpp return adoptRef(SkColorFilterImageFilter::Create(filter, input.get(), &rect)); rect 62 Source/platform/graphics/filters/FEConvolveMatrix.cpp FloatRect FEConvolveMatrix::mapPaintRect(const FloatRect& rect, bool forward) rect 64 Source/platform/graphics/filters/FEConvolveMatrix.cpp FloatRect result = rect; rect 52 Source/platform/graphics/filters/FEDisplacementMap.cpp FloatRect FEDisplacementMap::mapPaintRect(const FloatRect& rect, bool) rect 54 Source/platform/graphics/filters/FEDisplacementMap.cpp FloatRect result = rect; rect 52 Source/platform/graphics/filters/FEDropShadow.cpp FloatRect FEDropShadow::mapRect(const FloatRect& rect, bool forward) rect 54 Source/platform/graphics/filters/FEDropShadow.cpp FloatRect result = rect; rect 58 Source/platform/graphics/filters/FEDropShadow.cpp FloatRect offsetRect = rect; rect 91 Source/platform/graphics/filters/FEFlood.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 93 Source/platform/graphics/filters/FEFlood.cpp return adoptRef(SkColorFilterImageFilter::Create(cf, 0, &rect)); rect 110 Source/platform/graphics/filters/FEGaussianBlur.cpp FloatRect FEGaussianBlur::mapRect(const FloatRect& rect, bool) rect 112 Source/platform/graphics/filters/FEGaussianBlur.cpp FloatRect result = rect; rect 174 Source/platform/graphics/filters/FEGaussianBlur.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 175 Source/platform/graphics/filters/FEGaussianBlur.cpp return adoptRef(new SkBlurImageFilter(SkFloatToScalar(stdX), SkFloatToScalar(stdY), input.get(), &rect)); rect 56 Source/platform/graphics/filters/FELighting.cpp FloatRect FELighting::mapPaintRect(const FloatRect& rect, bool) rect 58 Source/platform/graphics/filters/FELighting.cpp FloatRect result = rect; rect 443 Source/platform/graphics/filters/FELighting.cpp SkImageFilter::CropRect rect = getCropRect(builder ? builder->cropOffset() : FloatSize()); rect 455 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreateDistantLitSpecular(direction, lightColor.rgb(), m_surfaceScale, m_specularConstant, m_specularExponent, input.get(), &rect)); rect 456 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreateDistantLitDiffuse(direction, lightColor.rgb(), m_surfaceScale, m_diffuseConstant, input.get(), &rect)); rect 463 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreatePointLitSpecular(skPosition, lightColor.rgb(), m_surfaceScale, m_specularConstant, m_specularExponent, input.get(), &rect)); rect 464 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreatePointLitDiffuse(skPosition, lightColor.rgb(), m_surfaceScale, m_diffuseConstant, input.get(), &rect)); rect 475 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreateSpotLitSpecular(location, target, specularExponent, limitingConeAngle, lightColor.rgb(), m_surfaceScale, m_specularConstant, m_specularExponent, input.get(), &rect)); rect 476 Source/platform/graphics/filters/FELighting.cpp return adoptRef(SkLightingImageFilter::CreateSpotLitDiffuse(location, target, specularExponent, limitingConeAngle, lightColor.rgb(), m_surfaceScale, m_diffuseConstant, input.get(), &rect)); rect 70 Source/platform/graphics/filters/FEMerge.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 71 Source/platform/graphics/filters/FEMerge.cpp return adoptRef(new SkMergeImageFilter(inputs.get(), size, 0, &rect)); rect 83 Source/platform/graphics/filters/FEMorphology.cpp FloatRect FEMorphology::mapRect(const FloatRect& rect, bool) rect 85 Source/platform/graphics/filters/FEMorphology.cpp FloatRect result = rect; rect 134 Source/platform/graphics/filters/FEMorphology.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 136 Source/platform/graphics/filters/FEMorphology.cpp return adoptRef(new SkDilateImageFilter(radiusX, radiusY, input.get(), &rect)); rect 137 Source/platform/graphics/filters/FEMorphology.cpp return adoptRef(new SkErodeImageFilter(radiusX, radiusY, input.get(), &rect)); rect 69 Source/platform/graphics/filters/FEOffset.cpp FloatRect FEOffset::mapRect(const FloatRect& rect, bool forward) rect 71 Source/platform/graphics/filters/FEOffset.cpp FloatRect result = rect; rect 48 Source/platform/graphics/filters/FETile.cpp FloatRect FETile::mapPaintRect(const FloatRect& rect, bool forward) rect 427 Source/platform/graphics/filters/FETurbulence.cpp SkImageFilter::CropRect rect = getCropRect(builder->cropOffset()); rect 428 Source/platform/graphics/filters/FETurbulence.cpp return adoptRef(SkRectShaderImageFilter::Create(shader, &rect)); rect 61 Source/platform/graphics/filters/Filter.h FloatRect mapLocalRectToAbsoluteRect(const FloatRect& rect) const { return m_absoluteTransform.mapRect(rect); } rect 62 Source/platform/graphics/filters/Filter.h FloatRect mapAbsoluteRectToLocalRect(const FloatRect& rect) const { return m_inverseTransform.mapRect(rect); } rect 78 Source/platform/graphics/filters/Filter.h void setFilterRegion(const FloatRect& rect) rect 80 Source/platform/graphics/filters/Filter.h m_filterRegion = rect; rect 63 Source/platform/graphics/filters/FilterEffect.cpp bool FilterEffect::isFilterSizeValid(const FloatRect& rect) rect 65 Source/platform/graphics/filters/FilterEffect.cpp if (rect.width() < 0 || rect.height() < 0 rect 66 Source/platform/graphics/filters/FilterEffect.cpp || (rect.height() * rect.width() > kMaxFilterArea)) rect 103 Source/platform/graphics/filters/FilterEffect.cpp FloatRect FilterEffect::mapRectRecursive(const FloatRect& rect) rect 107 Source/platform/graphics/filters/FilterEffect.cpp result = m_inputEffects.at(0)->mapRectRecursive(rect); rect 109 Source/platform/graphics/filters/FilterEffect.cpp result.unite(m_inputEffects.at(i)->mapRectRecursive(rect)); rect 111 Source/platform/graphics/filters/FilterEffect.cpp result = rect; rect 302 Source/platform/graphics/filters/FilterEffect.cpp PassRefPtr<Uint8ClampedArray> FilterEffect::asUnmultipliedImage(const IntRect& rect) rect 304 Source/platform/graphics/filters/FilterEffect.cpp ASSERT(isFilterSizeValid(rect)); rect 305 Source/platform/graphics/filters/FilterEffect.cpp RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); rect 306 Source/platform/graphics/filters/FilterEffect.cpp copyUnmultipliedImage(imageData.get(), rect); rect 310 Source/platform/graphics/filters/FilterEffect.cpp PassRefPtr<Uint8ClampedArray> FilterEffect::asPremultipliedImage(const IntRect& rect) rect 312 Source/platform/graphics/filters/FilterEffect.cpp ASSERT(isFilterSizeValid(rect)); rect 313 Source/platform/graphics/filters/FilterEffect.cpp RefPtr<Uint8ClampedArray> imageData = Uint8ClampedArray::createUninitialized(rect.width() * rect.height() * 4); rect 314 Source/platform/graphics/filters/FilterEffect.cpp copyPremultipliedImage(imageData.get(), rect); rect 318 Source/platform/graphics/filters/FilterEffect.cpp inline void FilterEffect::copyImageBytes(Uint8ClampedArray* source, Uint8ClampedArray* destination, const IntRect& rect) rect 321 Source/platform/graphics/filters/FilterEffect.cpp if (rect.x() < 0 || rect.y() < 0 || rect.maxX() > m_absolutePaintRect.width() || rect.maxY() > m_absolutePaintRect.height()) rect 325 Source/platform/graphics/filters/FilterEffect.cpp if (rect.maxX() <= 0 || rect.maxY() <= 0 || rect.x() >= m_absolutePaintRect.width() || rect.y() >= m_absolutePaintRect.height()) rect 328 Source/platform/graphics/filters/FilterEffect.cpp int xOrigin = rect.x(); rect 334 Source/platform/graphics/filters/FilterEffect.cpp int xEnd = rect.maxX(); rect 338 Source/platform/graphics/filters/FilterEffect.cpp int yOrigin = rect.y(); rect 344 Source/platform/graphics/filters/FilterEffect.cpp int yEnd = rect.maxY(); rect 349 Source/platform/graphics/filters/FilterEffect.cpp int destinationScanline = rect.width() * 4; rect 351 Source/platform/graphics/filters/FilterEffect.cpp unsigned char *destinationPixel = destination->data() + ((yDest * rect.width()) + xDest) * 4; rect 362 Source/platform/graphics/filters/FilterEffect.cpp void FilterEffect::copyUnmultipliedImage(Uint8ClampedArray* destination, const IntRect& rect) rect 393 Source/platform/graphics/filters/FilterEffect.cpp copyImageBytes(m_unmultipliedImageResult.get(), destination, rect); rect 396 Source/platform/graphics/filters/FilterEffect.cpp void FilterEffect::copyPremultipliedImage(Uint8ClampedArray* destination, const IntRect& rect) rect 421 Source/platform/graphics/filters/FilterEffect.cpp copyImageBytes(m_premultipliedImageResult.get(), destination, rect); rect 544 Source/platform/graphics/filters/FilterEffect.cpp FloatRect rect = filter()->filterRegion(); rect 549 Source/platform/graphics/filters/FilterEffect.cpp rect.setX(boundaries.x()); rect 554 Source/platform/graphics/filters/FilterEffect.cpp rect.setY(boundaries.y()); rect 559 Source/platform/graphics/filters/FilterEffect.cpp rect.setWidth(boundaries.width()); rect 563 Source/platform/graphics/filters/FilterEffect.cpp rect.setHeight(boundaries.height()); rect 566 Source/platform/graphics/filters/FilterEffect.cpp rect = filter()->mapLocalRectToAbsoluteRect(rect); rect 567 Source/platform/graphics/filters/FilterEffect.cpp return SkImageFilter::CropRect(rect, flags); rect 121 Source/platform/graphics/filters/FilterEffect.h virtual FloatRect mapRect(const FloatRect& rect, bool forward = true) { return rect; } rect 126 Source/platform/graphics/filters/FilterEffect.h virtual FloatRect mapPaintRect(const FloatRect& rect, bool forward) rect 128 Source/platform/graphics/filters/FilterEffect.h return mapRect(rect, forward); rect 220 Source/platform/graphics/skia/OpaqueRegionSkia.cpp SkRect rect; rect 221 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (path.isRect(&rect)) { rect 222 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawRect(context, rect, paint, 0); rect 231 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect = paint.computeFastBounds(path.getBounds(), &rect); rect 232 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); rect 241 Source/platform/graphics/skia/OpaqueRegionSkia.cpp SkRect rect; rect 242 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fLeft = points[0].fX; rect 243 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fRight = points[0].fX + 1; rect 244 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fTop = points[0].fY; rect 245 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fBottom = points[0].fY + 1; rect 248 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fLeft = std::min(rect.fLeft, points[i].fX); rect 249 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fRight = std::max(rect.fRight, points[i].fX + 1); rect 250 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fTop = std::min(rect.fTop, points[i].fY); rect 251 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect.fBottom = std::max(rect.fBottom, points[i].fY + 1); rect 259 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect = paint.computeFastBounds(rect, &rect); rect 260 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); rect 271 Source/platform/graphics/skia/OpaqueRegionSkia.cpp SkRect rect; rect 272 Source/platform/graphics/skia/OpaqueRegionSkia.cpp rect = paint.computeFastBounds(bounds, &rect); rect 273 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); rect 277 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDraw(const GraphicsContext* context, const SkRect& rect, const SkPaint& paint, const SkBitmap* sourceBitmap, bool fillsBounds, DrawType drawType) rect 279 Source/platform/graphics/skia/OpaqueRegionSkia.cpp SkRect targetRect = rect; rect 349 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::markRectAsOpaque(const SkRect& rect) rect 358 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.isEmpty()) rect 360 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (opaqueRect.contains(rect)) rect 362 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.contains(opaqueRect)) { rect 363 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect = rect; rect 367 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.fTop <= opaqueRect.fTop && rect.fBottom >= opaqueRect.fBottom) { rect 368 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.fLeft < opaqueRect.fLeft && rect.fRight >= opaqueRect.fLeft) rect 369 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect.fLeft = rect.fLeft; rect 370 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.fRight > opaqueRect.fRight && rect.fLeft <= opaqueRect.fRight) rect 371 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect.fRight = rect.fRight; rect 372 Source/platform/graphics/skia/OpaqueRegionSkia.cpp } else if (rect.fLeft <= opaqueRect.fLeft && rect.fRight >= opaqueRect.fRight) { rect 373 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.fTop < opaqueRect.fTop && rect.fBottom >= opaqueRect.fTop) rect 374 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect.fTop = rect.fTop; rect 375 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.fBottom > opaqueRect.fBottom && rect.fTop <= opaqueRect.fBottom) rect 376 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect.fBottom = rect.fBottom; rect 380 Source/platform/graphics/skia/OpaqueRegionSkia.cpp long area = (long)rect.width() * (long)rect.height(); rect 382 Source/platform/graphics/skia/OpaqueRegionSkia.cpp opaqueRect = rect; rect 385 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::markRectAsNonOpaque(const SkRect& rect) rect 392 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (!SkRect::Intersects(rect, opaqueRect)) rect 394 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (rect.contains(opaqueRect)) { rect 399 Source/platform/graphics/skia/OpaqueRegionSkia.cpp int deltaLeft = rect.fLeft - opaqueRect.fLeft; rect 400 Source/platform/graphics/skia/OpaqueRegionSkia.cpp int deltaRight = opaqueRect.fRight - rect.fRight; rect 401 Source/platform/graphics/skia/OpaqueRegionSkia.cpp int deltaTop = rect.fTop - opaqueRect.fTop; rect 402 Source/platform/graphics/skia/OpaqueRegionSkia.cpp int deltaBottom = opaqueRect.fBottom - rect.fBottom; rect 408 Source/platform/graphics/skia/OpaqueRegionSkia.cpp horizontal.fBottom = rect.fTop; rect 410 Source/platform/graphics/skia/OpaqueRegionSkia.cpp horizontal.fTop = rect.fBottom; rect 413 Source/platform/graphics/skia/OpaqueRegionSkia.cpp vertical.fRight = rect.fLeft; rect 415 Source/platform/graphics/skia/OpaqueRegionSkia.cpp vertical.fLeft = rect.fRight; rect 70 Source/platform/graphics/skia/SkiaUtils.h inline SkRect WebCoreFloatRectToSKRect(const FloatRect& rect) rect 72 Source/platform/graphics/skia/SkiaUtils.h return SkRect::MakeLTRB(SkFloatToScalar(rect.x()), SkFloatToScalar(rect.y()), rect 73 Source/platform/graphics/skia/SkiaUtils.h SkFloatToScalar(rect.maxX()), SkFloatToScalar(rect.maxY())); rect 151 Source/platform/image-decoders/ImageFrame.cpp void ImageFrame::zeroFillFrameRect(const IntRect& rect) rect 153 Source/platform/image-decoders/ImageFrame.cpp if (rect.isEmpty()) rect 156 Source/platform/image-decoders/ImageFrame.cpp m_bitmap.eraseArea(rect, SkColorSetARGB(0, 0, 0, 0)); rect 45 Source/platform/scroll/FramelessScrollView.cpp void FramelessScrollView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) rect 48 Source/platform/scroll/FramelessScrollView.cpp IntRect dirtyRect = rect; rect 69 Source/platform/scroll/FramelessScrollView.cpp void FramelessScrollView::invalidateRect(const IntRect& rect) rect 72 Source/platform/scroll/FramelessScrollView.cpp h->invalidateContentsAndRootView(rect); rect 624 Source/platform/scroll/ScrollView.cpp IntRect ScrollView::contentsToScreen(const IntRect& rect) const rect 629 Source/platform/scroll/ScrollView.cpp return window->rootViewToScreen(contentsToRootView(rect)); rect 769 Source/platform/scroll/ScrollView.cpp void ScrollView::repaintContentRectangle(const IntRect& rect) rect 771 Source/platform/scroll/ScrollView.cpp IntRect paintRect = rect; rect 829 Source/platform/scroll/ScrollView.cpp void ScrollView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect) rect 831 Source/platform/scroll/ScrollView.cpp bar->paint(context, rect); rect 834 Source/platform/scroll/ScrollView.cpp void ScrollView::invalidateScrollCornerRect(const IntRect& rect) rect 836 Source/platform/scroll/ScrollView.cpp invalidateRect(rect); rect 839 Source/platform/scroll/ScrollView.cpp void ScrollView::paintScrollbars(GraphicsContext* context, const IntRect& rect) rect 842 Source/platform/scroll/ScrollView.cpp paintScrollbar(context, m_horizontalScrollbar.get(), rect); rect 844 Source/platform/scroll/ScrollView.cpp paintScrollbar(context, m_verticalScrollbar.get(), rect); rect 860 Source/platform/scroll/ScrollView.cpp void ScrollView::paint(GraphicsContext* context, const IntRect& rect) rect 867 Source/platform/scroll/ScrollView.cpp IntRect documentDirtyRect = rect; rect 889 Source/platform/scroll/ScrollView.cpp calculateAndPaintOverhangAreas(context, rect); rect 894 Source/platform/scroll/ScrollView.cpp IntRect scrollViewDirtyRect = rect; rect 353 Source/platform/scroll/ScrollableArea.cpp void ScrollableArea::invalidateScrollbar(Scrollbar* scrollbar, const IntRect& rect) rect 368 Source/platform/scroll/ScrollableArea.cpp invalidateScrollbarRect(scrollbar, rect); rect 371 Source/platform/scroll/ScrollableArea.cpp void ScrollableArea::invalidateScrollCorner(const IntRect& rect) rect 377 Source/platform/scroll/ScrollableArea.cpp invalidateScrollCornerRect(rect); rect 486 Source/platform/scroll/Scrollbar.cpp void Scrollbar::setFrameRect(const IntRect& rect) rect 490 Source/platform/scroll/Scrollbar.cpp IntRect adjustedRect(rect); rect 493 Source/platform/scroll/Scrollbar.cpp if (view && !rect.isEmpty() && !view->windowResizerRect().isEmpty()) { rect 495 Source/platform/scroll/Scrollbar.cpp if (rect.intersects(resizerRect)) { rect 497 Source/platform/scroll/Scrollbar.cpp int overlap = rect.maxX() - resizerRect.x(); rect 498 Source/platform/scroll/Scrollbar.cpp if (overlap > 0 && resizerRect.maxX() >= rect.maxX()) { rect 499 Source/platform/scroll/Scrollbar.cpp adjustedRect.setWidth(rect.width() - overlap); rect 503 Source/platform/scroll/Scrollbar.cpp int overlap = rect.maxY() - resizerRect.y(); rect 504 Source/platform/scroll/Scrollbar.cpp if (overlap > 0 && resizerRect.maxY() >= rect.maxY()) { rect 505 Source/platform/scroll/Scrollbar.cpp adjustedRect.setHeight(rect.height() - overlap); rect 554 Source/platform/scroll/Scrollbar.cpp void Scrollbar::invalidateRect(const IntRect& rect) rect 560 Source/platform/scroll/Scrollbar.cpp m_scrollableArea->invalidateScrollbar(this, rect); rect 124 Source/platform/scroll/ScrollbarTheme.h virtual IntRect constrainTrackRectToTrackPieces(ScrollbarThemeClient*, const IntRect& rect) { return rect; } rect 72 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp void ScrollbarThemeGtkOrAura::paintTrackPiece(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart partType) rect 87 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalTrack : blink::WebThemeEngine::PartScrollbarVerticalTrack, state, blink::WebRect(rect), &extraParams); rect 90 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp void ScrollbarThemeGtkOrAura::paintButton(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) rect 130 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp blink::Platform::current()->themeEngine()->paint(canvas, paintPart, state, blink::WebRect(rect), 0); rect 133 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp void ScrollbarThemeGtkOrAura::paintThumb(GraphicsContext* gc, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 143 Source/platform/scroll/ScrollbarThemeGtkOrAura.cpp blink::Platform::current()->themeEngine()->paint(canvas, scrollbar->orientation() == HorizontalScrollbar ? blink::WebThemeEngine::PartScrollbarHorizontalThumb : blink::WebThemeEngine::PartScrollbarVerticalThumb, state, blink::WebRect(rect), 0); rect 88 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp void ScrollbarThemeNonMacCommon::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 92 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp paintTrackPiece(context, scrollbar, rect, ForwardTrackPart); rect 95 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp void ScrollbarThemeNonMacCommon::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 100 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp if (rect.height() <= 0 || rect.width() <= 0) rect 117 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp const int yPos = rect.y() + (rect.height() * percent); rect 120 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp FloatRect tickRect(rect.x(), yPos, rect.width(), 3); rect 124 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp FloatRect tickStroke(rect.x(), yPos + 1, rect.width(), 1); rect 112 Source/platform/scroll/ScrollbarThemeOverlay.cpp IntRect rect = scrollbar->frameRect(); rect 114 Source/platform/scroll/ScrollbarThemeOverlay.cpp rect.inflateX(-m_scrollbarMargin); rect 116 Source/platform/scroll/ScrollbarThemeOverlay.cpp rect.inflateY(-m_scrollbarMargin); rect 117 Source/platform/scroll/ScrollbarThemeOverlay.cpp return rect; rect 125 Source/platform/scroll/ScrollbarThemeOverlay.cpp void ScrollbarThemeOverlay::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) rect 127 Source/platform/scroll/ScrollbarThemeOverlay.cpp IntRect thumbRect = rect; rect 153 Source/platform/scroll/ScrollbarThemeOverlay.cpp blink::Platform::current()->themeEngine()->paint(canvas, part, state, blink::WebRect(rect), 0); rect 273 Source/platform/transforms/AffineTransform.cpp IntRect AffineTransform::mapRect(const IntRect &rect) const rect 275 Source/platform/transforms/AffineTransform.cpp return enclosingIntRect(mapRect(FloatRect(rect))); rect 278 Source/platform/transforms/AffineTransform.cpp FloatRect AffineTransform::mapRect(const FloatRect& rect) const rect 282 Source/platform/transforms/AffineTransform.cpp return rect; rect 284 Source/platform/transforms/AffineTransform.cpp FloatRect mappedRect(rect); rect 290 Source/platform/transforms/AffineTransform.cpp result.setP1(mapPoint(rect.location())); rect 291 Source/platform/transforms/AffineTransform.cpp result.setP2(mapPoint(FloatPoint(rect.maxX(), rect.y()))); rect 292 Source/platform/transforms/AffineTransform.cpp result.setP3(mapPoint(FloatPoint(rect.maxX(), rect.maxY()))); rect 293 Source/platform/transforms/AffineTransform.cpp result.setP4(mapPoint(FloatPoint(rect.x(), rect.maxY()))); rect 667 Source/platform/transforms/TransformationMatrix.cpp IntRect TransformationMatrix::mapRect(const IntRect &rect) const rect 669 Source/platform/transforms/TransformationMatrix.cpp return enclosingIntRect(mapRect(FloatRect(rect))); rect 155 Source/web/ChromeClientImpl.cpp WebRect rect; rect 157 Source/web/ChromeClientImpl.cpp rect = m_webView->client()->rootWindowRect(); rect 162 Source/web/ChromeClientImpl.cpp rect.width = m_webView->size().width; rect 163 Source/web/ChromeClientImpl.cpp rect.height = m_webView->size().height; rect 165 Source/web/ChromeClientImpl.cpp return FloatRect(rect); rect 512 Source/web/ChromeClientImpl.cpp IntRect ChromeClientImpl::rootViewToScreen(const IntRect& rect) const rect 514 Source/web/ChromeClientImpl.cpp IntRect screenRect(rect); rect 66 Source/web/ExternalPopupMenu.cpp IntRect rect(controlPosition.enclosingBoundingBox()); rect 80 Source/web/ExternalPopupMenu.cpp m_webExternalPopupMenu->show(m_frameView->contentsToWindow(rect)); rect 76 Source/web/PageWidgetDelegate.cpp void PageWidgetDelegate::paint(Page* page, PageOverlayList* overlays, WebCanvas* canvas, const WebRect& rect, CanvasBackground background) rect 78 Source/web/PageWidgetDelegate.cpp if (rect.isEmpty()) rect 84 Source/web/PageWidgetDelegate.cpp IntRect dirtyRect(rect); rect 334 Source/web/PopupContainer.cpp void PopupContainer::paint(GraphicsContext* gc, const IntRect& rect) rect 337 Source/web/PopupContainer.cpp IntRect r = intersection(rect, frameRect()); rect 347 Source/web/PopupContainer.cpp paintBorder(gc, rect); rect 350 Source/web/PopupContainer.cpp void PopupContainer::paintBorder(GraphicsContext* gc, const IntRect& rect) rect 348 Source/web/PopupListBox.cpp void PopupListBox::paint(GraphicsContext* gc, const IntRect& rect) rect 351 Source/web/PopupListBox.cpp IntRect r = intersection(rect, frameRect()); rect 373 Source/web/PopupListBox.cpp ScrollView::paint(gc, rect); rect 381 Source/web/PopupListBox.cpp void PopupListBox::paintRow(GraphicsContext* gc, const IntRect& rect, int rowIndex) rect 386 Source/web/PopupListBox.cpp if (!rowRect.intersects(rect)) rect 111 Source/web/ScrollbarGroup.cpp void ScrollbarGroup::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) rect 114 Source/web/ScrollbarGroup.cpp m_horizontalScrollbar->invalidateScrollbarRect(rect); rect 116 Source/web/ScrollbarGroup.cpp m_verticalScrollbar->invalidateScrollbarRect(rect); rect 49 Source/web/ViewportAnchor.cpp int area(const RectType& rect) { rect 50 Source/web/ViewportAnchor.cpp return rect.width() * rect.height(); rect 1081 Source/web/WebFrameImpl.cpp bool WebFrameImpl::firstRectForCharacterRange(unsigned location, unsigned length, WebRect& rect) const rect 1092 Source/web/WebFrameImpl.cpp rect = WebRect(intRect); rect 1093 Source/web/WebFrameImpl.cpp rect = frame()->view()->contentsToWindow(rect); rect 1401 Source/web/WebFrameImpl.cpp FloatRect rect(0, 0, static_cast<float>(printParams.printContentArea.width), static_cast<float>(printParams.printContentArea.height)); rect 1402 Source/web/WebFrameImpl.cpp m_printContext->begin(rect.width(), rect.height()); rect 1406 Source/web/WebFrameImpl.cpp m_printContext->computePageRects(rect, 0, 0, 1.0, pageHeight); rect 355 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::paint(GraphicsContext* context, const IntRect& rect) rect 365 Source/web/WebMediaPlayerClientImpl.cpp paintOnAndroid(context, rect, context->getNormalizedAlpha()); rect 370 Source/web/WebMediaPlayerClientImpl.cpp m_webMediaPlayer->paint(canvas, rect, context->getNormalizedAlpha()); rect 461 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::paintOnAndroid(WebCore::GraphicsContext* context, const IntRect& rect, uint8_t alpha) rect 489 Source/web/WebMediaPlayerClientImpl.cpp dest.set(rect.x(), rect.y(), rect.x() + rect.width(), rect.y() + rect.height()); rect 80 Source/web/WebPagePopupImpl.cpp virtual void setWindowRect(const FloatRect& rect) OVERRIDE rect 82 Source/web/WebPagePopupImpl.cpp m_popup->m_windowRectInScreen = IntRect(rect); rect 331 Source/web/WebPagePopupImpl.cpp void WebPagePopupImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOptions) rect 334 Source/web/WebPagePopupImpl.cpp PageWidgetDelegate::paint(m_page.get(), 0, canvas, rect, PageWidgetDelegate::Opaque); rect 141 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::invalidateRect(const IntRect& rect) rect 148 Source/web/WebPluginContainerImpl.cpp IntRect dirtyRect = rect; rect 390 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::invalidateRect(const WebRect& rect) rect 392 Source/web/WebPluginContainerImpl.cpp invalidateRect(static_cast<IntRect>(rect)); rect 395 Source/web/WebPluginContainerImpl.cpp void WebPluginContainerImpl::scrollRect(int dx, int dy, const WebRect& rect) rect 401 Source/web/WebPluginContainerImpl.cpp IntRect damageRect = convertToContainingWindow(static_cast<IntRect>(rect)); rect 411 Source/web/WebPluginContainerImpl.cpp invalidateRect(rect); rect 496 Source/web/WebPluginContainerImpl.cpp bool WebPluginContainerImpl::isRectTopmost(const WebRect& rect) rect 504 Source/web/WebPluginContainerImpl.cpp IntRect documentRect(x() + rect.x, y() + rect.y, rect.width, rect.height); rect 87 Source/web/WebPluginScrollbarImpl.cpp void WebPluginScrollbarImpl::invalidateScrollbarRect(const IntRect& rect) rect 89 Source/web/WebPluginScrollbarImpl.cpp WebRect webrect(rect); rect 202 Source/web/WebPluginScrollbarImpl.cpp void WebPluginScrollbarImpl::setLocation(const WebRect& rect) rect 205 Source/web/WebPluginScrollbarImpl.cpp m_scrollbar->setFrameRect(rect); rect 206 Source/web/WebPluginScrollbarImpl.cpp if (WebRect(oldRect) != rect) rect 238 Source/web/WebPluginScrollbarImpl.cpp void WebPluginScrollbarImpl::paint(WebCanvas* canvas, const WebRect& rect) rect 241 Source/web/WebPluginScrollbarImpl.cpp m_scrollbar->paint(&context, rect); rect 244 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::paintContents(WebCanvas* canvas, const WebRect& rect, bool, WebFloatRect&) rect 249 Source/web/WebPopupMenuImpl.cpp if (!rect.isEmpty()) { rect 251 Source/web/WebPopupMenuImpl.cpp m_widget->paint(&context, rect); rect 255 Source/web/WebPopupMenuImpl.cpp void WebPopupMenuImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOptions) rect 260 Source/web/WebPopupMenuImpl.cpp if (!rect.isEmpty()) { rect 263 Source/web/WebPopupMenuImpl.cpp m_widget->paint(&context, rect); rect 429 Source/web/WebPopupMenuImpl.cpp IntRect WebPopupMenuImpl::rootViewToScreen(const IntRect& rect) const rect 46 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintScrollbarBackground(WebCanvas* canvas, const WebRect& rect) rect 48 Source/web/WebScrollbarThemePainter.cpp SkRect clip = SkRect::MakeXYWH(rect.x, rect.y, rect.width, rect.height); rect 56 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintTrackBackground(WebCanvas* canvas, const WebRect& rect) rect 60 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); rect 63 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintBackTrackPart(WebCanvas* canvas, const WebRect& rect) rect 67 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart); rect 70 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintForwardTrackPart(WebCanvas* canvas, const WebRect& rect) rect 74 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::ForwardTrackPart); rect 77 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintBackButtonStart(WebCanvas* canvas, const WebRect& rect) rect 81 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonStartPart); rect 84 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintBackButtonEnd(WebCanvas* canvas, const WebRect& rect) rect 88 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonEndPart); rect 91 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintForwardButtonStart(WebCanvas* canvas, const WebRect& rect) rect 95 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonStartPart); rect 98 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintForwardButtonEnd(WebCanvas* canvas, const WebRect& rect) rect 102 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonEndPart); rect 105 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintTickmarks(WebCanvas* canvas, const WebRect& rect) rect 109 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTickmarks(&context, m_scrollbar, IntRect(rect)); rect 112 Source/web/WebScrollbarThemePainter.cpp void WebScrollbarThemePainter::paintThumb(WebCanvas* canvas, const WebRect& rect) rect 116 Source/web/WebScrollbarThemePainter.cpp m_theme->paintThumb(&context, m_scrollbar, IntRect(rect)); rect 995 Source/web/WebViewImpl.cpp WebRect WebViewImpl::computeBlockBounds(const WebRect& rect, bool ignoreClipping) rect 1001 Source/web/WebViewImpl.cpp IntPoint point = mainFrameImpl()->frameView()->windowToContents(IntPoint(rect.x, rect.y)); rect 1003 Source/web/WebViewImpl.cpp HitTestResult result = mainFrameImpl()->frame()->eventHandler().hitTestResultAtPoint(point, hitType, IntSize(rect.width, rect.height)); rect 1015 Source/web/WebViewImpl.cpp IntRect rect = node->Node::pixelSnappedBoundingBox(); rect 1017 Source/web/WebViewImpl.cpp return frame->view()->contentsToWindow(rect); rect 1071 Source/web/WebViewImpl.cpp WebRect rect = blockRect; rect 1073 Source/web/WebViewImpl.cpp if (!rect.isEmpty()) { rect 1082 Source/web/WebViewImpl.cpp rect = widenRectWithinPageBounds(rect, rect 1083 Source/web/WebViewImpl.cpp static_cast<int>(defaultMargin * rect.width / m_size.width), rect 1084 Source/web/WebViewImpl.cpp static_cast<int>(minimumMargin * rect.width / m_size.width)); rect 1086 Source/web/WebViewImpl.cpp scale = static_cast<float>(m_size.width) / rect.width; rect 1104 Source/web/WebViewImpl.cpp if (rect.height < screenHeight) { rect 1106 Source/web/WebViewImpl.cpp rect.y -= 0.5 * (screenHeight - rect.height); rect 1110 Source/web/WebViewImpl.cpp rect.y = max<float>(rect.y, hitPoint.y + padding - screenHeight); rect 1114 Source/web/WebViewImpl.cpp if (rect.width < screenWidth) rect 1115 Source/web/WebViewImpl.cpp rect.x -= 0.5 * (screenWidth - rect.width); rect 1117 Source/web/WebViewImpl.cpp rect.x = max<float>(rect.x, hitPoint.x + padding - screenWidth); rect 1118 Source/web/WebViewImpl.cpp scroll.x = rect.x; rect 1119 Source/web/WebViewImpl.cpp scroll.y = rect.y; rect 1214 Source/web/WebViewImpl.cpp WebRect rect(point.x(), point.y(), touchPointPadding, touchPointPadding); rect 1215 Source/web/WebViewImpl.cpp WebRect blockBounds = computeBlockBounds(rect, false); rect 1244 Source/web/WebViewImpl.cpp void WebViewImpl::zoomToFindInPageRect(const WebRect& rect) rect 1249 Source/web/WebViewImpl.cpp WebRect blockBounds = computeBlockBounds(rect, true); rect 1260 Source/web/WebViewImpl.cpp computeScaleAndScrollForBlockRect(WebPoint(rect.x, rect.y), blockBounds, nonUserInitiatedPointPadding, minimumPageScaleFactor(), scale, scroll); rect 1265 Source/web/WebViewImpl.cpp bool WebViewImpl::zoomToMultipleTargetsRect(const WebRect& rect) rect 1273 Source/web/WebViewImpl.cpp computeScaleAndScrollForBlockRect(WebPoint(rect.x, rect.y), rect, nonUserInitiatedPointPadding, minimumPageScaleFactor(), scale, scroll); rect 1702 Source/web/WebViewImpl.cpp void WebViewImpl::doPixelReadbackToCanvas(WebCanvas* canvas, const IntRect& rect) rect 1707 Source/web/WebViewImpl.cpp target.setConfig(SkBitmap::kARGB_8888_Config, rect.width(), rect.height(), rect.width() * 4); rect 1709 Source/web/WebViewImpl.cpp m_layerTreeView->compositeAndReadback(target.getPixels(), rect); rect 1718 Source/web/WebViewImpl.cpp canvas->writePixels(target, rect.x(), rect.y()); rect 1721 Source/web/WebViewImpl.cpp void WebViewImpl::paint(WebCanvas* canvas, const WebRect& rect, PaintOptions option) rect 1734 Source/web/WebViewImpl.cpp IntRect resizeRect(rect); rect 1747 Source/web/WebViewImpl.cpp PageWidgetDelegate::paint(m_page.get(), pageOverlays(), canvas, rect, isTransparent() ? PageWidgetDelegate::Translucent : PageWidgetDelegate::Opaque); rect 1749 Source/web/WebViewImpl.cpp double pixelsPerSec = (rect.width * rect.height) / (paintEnd - paintStart); rect 2485 Source/web/WebViewImpl.cpp void WebViewImpl::scrollFocusedNodeIntoRect(const WebRect& rect) rect 2493 Source/web/WebViewImpl.cpp frame->view()->scrollElementToRect(element, IntRect(rect.x, rect.y, rect.width, rect.height)); rect 3331 Source/web/WebViewImpl.cpp WebString WebViewImpl::getSmartClipData(WebRect rect) rect 3336 Source/web/WebViewImpl.cpp return WebCore::SmartClip(frame).dataForRect(rect).toString(); rect 3667 Source/web/WebViewImpl.cpp void WebViewImpl::invalidateRect(const IntRect& rect) rect 3673 Source/web/WebViewImpl.cpp m_client->didInvalidateRect(rect); rect 69 Source/web/painting/PaintAggregator.cpp static int calculateArea(const IntRect& rect) rect 71 Source/web/painting/PaintAggregator.cpp return rect.size().width() * rect.size().height(); rect 197 Source/web/painting/PaintAggregator.cpp void PaintAggregator::invalidateRect(const IntRect& rect) rect 202 Source/web/painting/PaintAggregator.cpp if (existingRect.contains(rect)) // Optimize out redundancy. rect 204 Source/web/painting/PaintAggregator.cpp if (rect.intersects(existingRect) || sharesEdge(rect, existingRect)) { rect 206 Source/web/painting/PaintAggregator.cpp IntRect combinedRect = unionRect(existingRect, rect); rect 214 Source/web/painting/PaintAggregator.cpp m_update.paintRects.append(rect); rect 220 Source/web/painting/PaintAggregator.cpp if (shouldInvalidateScrollRect(rect)) rect 222 Source/web/painting/PaintAggregator.cpp else if (m_update.scrollRect.contains(rect)) { rect 224 Source/web/painting/PaintAggregator.cpp subtractIntersection(rect, m_update.calculateScrollDamage()); rect 306 Source/web/painting/PaintAggregator.cpp bool PaintAggregator::shouldInvalidateScrollRect(const IntRect& rect) const rect 308 Source/web/painting/PaintAggregator.cpp if (!rect.isEmpty()) { rect 309 Source/web/painting/PaintAggregator.cpp if (!m_update.scrollRect.intersects(rect)) rect 312 Source/web/painting/PaintAggregator.cpp if (!m_update.scrollRect.contains(rect)) rect 320 Source/web/painting/PaintAggregator.cpp int paintArea = calculateArea(rect); rect 51 Source/web/tests/PaintAggregatorTest.cpp IntRect rect(2, 4, 10, 16); rect 52 Source/web/tests/PaintAggregatorTest.cpp greg.invalidateRect(rect); rect 61 Source/web/tests/PaintAggregatorTest.cpp EXPECT_EQ(rect, update.paintRects[0]); rect 115 Source/web/tests/PaintAggregatorTest.cpp IntRect rect(1, 2, 3, 4); rect 117 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta.x(), delta.y(), rect); rect 126 Source/web/tests/PaintAggregatorTest.cpp EXPECT_EQ(rect, update.scrollRect); rect 140 Source/web/tests/PaintAggregatorTest.cpp IntRect rect(1, 2, 3, 4); rect 143 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta1.x(), delta1.y(), rect); rect 144 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta2.x(), delta2.y(), rect); rect 153 Source/web/tests/PaintAggregatorTest.cpp EXPECT_EQ(rect, update.scrollRect); rect 172 Source/web/tests/PaintAggregatorTest.cpp IntRect rect(1, 2, 3, 4); rect 175 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta1.x(), delta1.y(), rect); rect 176 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta2.x(), delta2.y(), rect); rect 188 Source/web/tests/PaintAggregatorTest.cpp IntRect rect(1, 2, 3, 4); rect 190 Source/web/tests/PaintAggregatorTest.cpp greg.scrollRect(delta.x(), delta.y(), rect); rect 199 Source/web/tests/PaintAggregatorTest.cpp EXPECT_EQ(rect, update.paintRects[0]); rect 1977 Source/web/tests/WebFrameTest.cpp static WebCore::FloatSize computeRelativeOffset(const WebCore::IntPoint& absoluteOffset, const WebCore::LayoutRect& rect) rect 1979 Source/web/tests/WebFrameTest.cpp WebCore::FloatSize relativeOffset = WebCore::FloatPoint(absoluteOffset) - rect.location(); rect 1980 Source/web/tests/WebFrameTest.cpp relativeOffset.scale(1.f / rect.width(), 1.f / rect.height()); rect 2291 Source/web/tests/WebFrameTest.cpp void simulateMultiTargetZoom(WebViewImpl* webViewImpl, const WebRect& rect, float& scale) rect 2293 Source/web/tests/WebFrameTest.cpp if (webViewImpl->zoomToMultipleTargetsRect(rect)) rect 2615 Source/web/tests/WebFrameTest.cpp WebRect rect, caret; rect 2616 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->selectionBounds(caret, rect); rect 2635 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->selectionBounds(caret, rect); rect 2646 Source/web/tests/WebFrameTest.cpp webViewHelper.webViewImpl()->selectionBounds(caret, rect); rect 3496 Source/web/tests/WebFrameTest.cpp static WebPoint topLeft(const WebRect& rect) rect 3498 Source/web/tests/WebFrameTest.cpp return WebPoint(rect.x, rect.y); rect 3501 Source/web/tests/WebFrameTest.cpp static WebPoint bottomRightMinusOne(const WebRect& rect) rect 3507 Source/web/tests/WebFrameTest.cpp return WebPoint(rect.x + rect.width - 1, rect.y + rect.height - 1); rect 62 Source/web/x11/WebScreenInfoFactory.cpp results.rect = WebRect(x, y, width, height); rect 64 Source/web/x11/WebScreenInfoFactory.cpp results.availableRect = results.rect; rect 58 public/platform/WebScreenInfo.h WebRect rect;