Home
last modified time | relevance | path

Searched refs:boundingBox (Results 1 – 25 of 65) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DBasicShapes.cpp89 void BasicShapeCircle::path(Path& path, const FloatRect& boundingBox) in path() argument
92 FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size()); in path()
93 float radius = floatValueForRadiusInBox(boundingBox.size()); in path()
95 center.x() - radius + boundingBox.x(), in path()
96 center.y() - radius + boundingBox.y(), in path()
134 void BasicShapeEllipse::path(Path& path, const FloatRect& boundingBox) in path() argument
137 FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size()); in path()
138 float radiusX = floatValueForRadiusInBox(m_radiusX, center.x(), boundingBox.width()); in path()
139 float radiusY = floatValueForRadiusInBox(m_radiusY, center.y(), boundingBox.height()); in path()
141 center.x() - radiusX + boundingBox.x(), in path()
[all …]
/external/chromium_org/chrome/browser/resources/options/chromeos/
Ddisplay_options.js775 var boundingBox = {left: 0, right: 0, top: 0, bottom: 0}; variable
778 boundingBox.left = Math.min(boundingBox.left, display.x);
779 boundingBox.right = Math.max(
780 boundingBox.right, display.x + display.width);
781 boundingBox.top = Math.min(boundingBox.top, display.y);
782 boundingBox.bottom = Math.max(
783 boundingBox.bottom, display.y + display.height);
789 var areaWidth = boundingBox.right - boundingBox.left + maxWidth;
790 var areaHeight = boundingBox.bottom - boundingBox.top + maxHeight;
802 x: Math.floor((boundingBox.right + boundingBox.left) *
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRenderingContext.cpp280 FloatRect boundingBox = m_object->objectBoundingBox(); in bufferForeground() local
285 IntSize expandedBoundingBox = expandedIntSize(boundingBox.size()); in bufferForeground()
293 …if ((imageBuffer = m_paintInfo->context->createRasterBuffer(expandedIntSize(boundingBox.size()))))… in bufferForeground()
295 bufferedRenderingContext->translate(-boundingBox.x(), -boundingBox.y()); in bufferForeground()
303 m_paintInfo->context->drawImageBuffer(imageBuffer.get(), boundingBox); in bufferForeground()
DRenderSVGInlineText.cpp131 FloatRect boundingBox; in floatLinesBoundingBox() local
133 boundingBox.unite(box->calculateBoundaries()); in floatLinesBoundingBox()
134 return boundingBox; in floatLinesBoundingBox()
DRenderSVGShape.cpp245 FloatRect boundingBox = paintInvalidationRectInLocalCoordinates(); in paint() local
246 …if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(boundingBox, m_localTransform, pai… in paint()
292 paintOutline(childPaintInfo, IntRect(boundingBox)); in paint()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DSVGImagePainter.cpp30 FloatRect boundingBox = m_renderSVGImage.paintInvalidationRectInLocalCoordinates(); in paint() local
31 …if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(boundingBox, m_renderSVGImage.loca… in paint()
53 ObjectPainter(m_renderSVGImage).paintOutline(childPaintInfo, IntRect(boundingBox)); in paint()
/external/chromium_org/third_party/WebKit/Source/web/
DViewportAnchor.cpp60 if (node && area(node->boundingBox()) > maxNodeArea) { in findNonEmptyAnchorNode()
66 while (node && node->boundingBox().isEmpty()) in findNonEmptyAnchorNode()
146 m_anchorNodeBounds = node->boundingBox(); in setAnchor()
181 const LayoutRect currentNodeBounds = m_anchorNode->boundingBox(); in getInnerOrigin()
DTextFinder.cpp172 … *selectionRect = m_ownerFrame.frameView()->contentsToWindow(m_activeMatch->boundingBox()); in find()
283 IntRect resultBounds = resultRange->boundingBox(); in scopeStringMatches()
287 m_activeMatch->boundingBox() : resultBounds; in scopeStringMatches()
/external/chromium_org/third_party/WebKit/Source/core/page/
DPrintContext.cpp264 IntRect boundingBox = renderer->absoluteBoundingBoxRect(); in outputLinkAndLinkedDestinations() local
265 if (!pageRect.intersects(boundingBox)) in outputLinkAndLinkedDestinations()
270 graphicsContext.setURLFragmentForRect(name, boundingBox); in outputLinkAndLinkedDestinations()
272 graphicsContext.setURLForRect(url, boundingBox); in outputLinkAndLinkedDestinations()
281 IntRect boundingBox = renderer->absoluteBoundingBoxRect(); in outputLinkAndLinkedDestinations() local
282 if (!pageRect.intersects(boundingBox)) in outputLinkAndLinkedDestinations()
284 IntPoint point = boundingBox.minXMinYCorner(); in outputLinkAndLinkedDestinations()
DTouchDisambiguation.cpp69 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument
71 if (boundingBox.isEmpty()) in scoreTouchTarget()
77 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()
DTouchAdjustment.cpp59 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); } in boundingBox() function in blink::TouchAdjustment::SubtargetGeometry
335 IntRect rect = subtarget.boundingBox(); in zoomableIntersectionQuotient()
358 IntRect rect = subtarget.boundingBox(); in hybridDistanceFunction()
406 IntRect contentBounds = geom.boundingBox(); in snapTo()
464 targetArea = it->boundingBox(); in findNodeWithLowestDistanceMetric()
474 targetArea = it->boundingBox(); in findNodeWithLowestDistanceMetric()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatQuad.h75 bool isEmpty() const { return boundingBox().isEmpty(); } in isEmpty()
107 FloatRect boundingBox() const;
110 return enclosingIntRect(boundingBox()); in enclosingBoundingBox()
DFloatPolygonTest.cpp140 EXPECT_EQ(FloatRect(100, 100, 100, 100), triangle.boundingBox()); in TEST()
272 EXPECT_EQ(FloatRect(100, 100, 200, 50), trapezoid.boundingBox()); in TEST()
308 EXPECT_EQ(FloatRect(100, 100, 150, 150), h.boundingBox()); in TEST()
DFloatPolygon.h62 FloatRect boundingBox() const { return m_boundingBox; } in boundingBox() function
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DHitTestLocation.cpp59 m_boundingBox = enclosingIntRect(quad.boundingBox()); in HitTestLocation()
115 m_boundingBox = enclosingIntRect(m_transformedRect.boundingBox()); in move()
DRenderInline.h158 IntRect boundingBox = linesBoundingBox(); in borderBoundingBox() local
159 return IntRect(0, 0, boundingBox.width(), boundingBox.height()); in borderBoundingBox()
DRenderGeometryMap.cpp162 result = transformState.lastPlanarQuad().boundingBox(); in mapToContainer()
174 …dResult = lastRenderer->localToContainerQuad(rect, container, m_mapCoordinatesFlags).boundingBox(); in mapToContainer()
178 …SSERT(enclosingIntRect(rendererMappedResult) == enclosingIntRect(FloatQuad(result).boundingBox())); in mapToContainer()
DHitTestLocation.h58 IntRect boundingBox() const { return m_boundingBox; } in boundingBox() function
DRenderGeometryMap.h55 return mapToContainer(rect, 0).boundingBox(); in absoluteRect()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DLinkHighlightTest.cpp187 …IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent.y - touchEvent.data.t… in TEST() local
188 …findGoodTouchTargets(boundingBox, webViewImpl->mainFrameImpl()->frame(), goodTargets, highlightNod… in TEST()
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DPolygonShape.cpp118 FloatRect box = m_polygon.boundingBox(); in shapeMarginLogicalBoundingBox()
128 …if (m_polygon.isEmpty() || !overlapsYRange(m_polygon.boundingBox(), y1 - shapeMargin(), y2 + shape… in getExcludedInterval()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm374 FloatRect boundingBox;
375boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation(…
376 boundingBox.setY(-boundingBox.maxY());
378 boundingBox.setWidth(boundingBox.width() + m_syntheticBoldOffset);
380 return boundingBox;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorOverlay.cpp651 …IntRect boundingBox = pixelSnappedIntRect(containingView->contentsToRootView(renderer->absoluteBou… in buildElementInfo() local
653 …adjustForAbsoluteZoom(modelObject->pixelSnappedOffsetWidth(), modelObject) : boundingBox.width())); in buildElementInfo()
654 …justForAbsoluteZoom(modelObject->pixelSnappedOffsetHeight(), modelObject) : boundingBox.height())); in buildElementInfo()
812 …IntRect boundingBox = pixelSnappedIntRect(view->contentsToRootView(renderer->absoluteBoundingBoxRe… in getBoxModel() local
820 …? adjustForAbsoluteZoom(modelObject->pixelSnappedOffsetWidth(), modelObject) : boundingBox.width()) in getBoxModel()
821 …djustForAbsoluteZoom(modelObject->pixelSnappedOffsetHeight(), modelObject) : boundingBox.height()); in getBoxModel()
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusGraphics.h1336 OUT RectF *boundingBox,
1348 boundingBox,
1367 RectF boundingBox; variable
1382 size ? &boundingBox : NULL,
1389 size->Width = boundingBox.Width;
1390 size->Height = boundingBox.Height;
1403 OUT RectF *boundingBox in MeasureString() argument
1415 boundingBox, in MeasureString()
1428 OUT RectF *boundingBox in MeasureString() argument
1438 boundingBox, in MeasureString()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXSlider.cpp151 …->node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->boundingBox(); in elementRect()

123