Searched refs:topLeft (Results 1 - 25 of 41) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/qt/
H A DFloatRectQt.cpp36 : m_location(r.topLeft())
H A DIntRectQt.cpp36 : m_location(r.topLeft())
/external/webkit/WebCore/rendering/style/
H A DBorderData.h43 IntSize topLeft; member in class:WebCore::BorderData
56 if (topLeft.width() > 0)
98 topLeft == o.topLeft && topRight == o.topRight && bottomLeft == o.bottomLeft && bottomRight == o.bottomRight;
H A DRenderStyle.cpp730 void RenderStyle::getBorderRadiiForRect(const IntRect& r, IntSize& topLeft, IntSize& topRight, IntSize& bottomLeft, IntSize& bottomRight) const argument
732 topLeft = surround->border.topLeft;
745 radiiSum = static_cast<unsigned>(topLeft.width()) + static_cast<unsigned>(topRight.width()); // Casts to avoid integer overflow.
755 radiiSum = static_cast<unsigned>(topLeft.height()) + static_cast<unsigned>(bottomLeft.height());
767 topLeft.scale(factor);
768 if (!topLeft.width() || !topLeft.height())
769 topLeft = IntSize();
/external/webkit/WebCore/platform/qt/
H A DPopupMenuQt.cpp63 geometry.moveTopLeft(view->contentsToWindow(rect.topLeft()));
H A DScrollbarThemeQt.cpp155 const QPoint topLeft = opt->rect.topLeft(); local
156 p.painter->translate(topLeft);
163 opt->rect.moveTo(topLeft);
H A DRenderThemeQt.cpp584 const QPoint topLeft = r.topLeft(); local
585 p.painter->translate(topLeft);
590 p.painter->translate(-topLeft);
671 const QPoint topLeft = r.topLeft(); local
672 p.painter->translate(topLeft);
677 p.painter->translate(-topLeft);
/external/webkit/WebCore/rendering/
H A DRenderBoxModelObject.cpp465 IntSize topLeft, topRight, bottomLeft, bottomRight; local
466 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight);
468 context->addRoundedRectClip(borderRect, includeLeftEdge ? topLeft : IntSize(),
944 IntSize topLeft, topRight, bottomLeft, bottomRight; local
953 topLeft = topLeftRadius;
965 graphicsContext->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
976 bool ignore_left = (renderRadii && topLeft.width() > 0) ||
987 x += topLeft.width();
1002 if (topLeft.width()) {
1005 bool applyLeftInnerClip = (style->borderLeftWidth() < topLeft
1274 IntSize topLeft; local
[all...]
H A DRenderReplaced.cpp137 IntSize topLeft, topRight, bottomLeft, bottomRight; local
138 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight);
140 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
H A DRenderWidget.cpp252 IntSize topLeft, topRight, bottomLeft, bottomRight; local
253 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight);
255 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
H A DRenderBox.cpp875 IntSize topLeft, topRight, bottomLeft, bottomRight; local
877 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight);
879 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
1185 IntPoint topLeft = rect.location();
1186 topLeft.move(x(), y());
1194 IntRect repaintRect(topLeft, rect.size());
1196 topLeft = repaintRect.location();
1206 // FIXME: this clobbers topLeft adjustment done for multicol above
1207 topLeft = rect.location();
1208 topLeft
[all...]
H A DRenderInline.cpp665 IntPoint topLeft = rect.location();
670 IntRect repaintRect(topLeft, rect.size());
672 topLeft = repaintRect.location();
682 topLeft += layer()->relativePositionOffset();
693 topLeft -= containerBox->layer()->scrolledContentOffset(); // For overflow:auto/scroll/hidden.
695 IntRect repaintRect(topLeft, rect.size());
701 rect.setLocation(topLeft);
H A DRenderThemeChromiumWin.cpp634 IntSize topLeft, topRight, bottomLeft, bottomRight; local
635 o->style()->getBorderRadiiForRect(r, topLeft, topRight, bottomLeft, bottomRight);
636 i.context->addRoundedRectClip(r, topLeft, topRight, bottomLeft, bottomRight);
H A DSVGRenderTreeAsText.cpp420 FloatPoint topLeft = topLeftPositionOfCharacterRange(cur.start + totalOffset - offset, cur.start + totalOffset); local
422 ts << "text run " << j << " at (" << topLeft.x() << "," << topLeft.y() << ") ";
/external/webkit/WebCore/platform/graphics/openvg/
H A DPainterOpenVG.h89 void drawRoundedRect(const FloatRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, VGbitfield paintModes = (VG_STROKE_PATH | VG_FILL_PATH));
H A DGraphicsContextOpenVG.cpp178 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
185 m_data->drawRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight, VG_FILL_PATH);
/external/webkit/WebCore/platform/chromium/
H A DScrollbarThemeChromium.cpp113 const int yPos = rect.topLeft().y() + (rect.height() * percent);
H A DScrollbarThemeChromiumMac.mm438 const int yPos = static_cast<int>((thumbArea.topLeft().y() + (thumbArea.height() * percent))) & ~1;
442 FloatRect tickRect(thumbArea.topLeft().x() + indent, yPos, thumbArea.width() - 2 * indent - 1, 2);
/external/webkit/WebCore/platform/graphics/
H A DGraphicsContext.h249 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&, ColorSpace);
272 void addRoundedRectClip(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
276 void clipOutRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
H A DGraphicsContext.cpp445 void GraphicsContext::addRoundedRectClip(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, argument
451 clip(Path::createRoundedRectangle(rect, topLeft, topRight, bottomLeft, bottomRight));
454 void GraphicsContext::clipOutRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, argument
460 clipOut(Path::createRoundedRectangle(rect, topLeft, topRight, bottomLeft, bottomRight));
H A DIntRect.h98 IntPoint topLeft() const { return m_location; } function in class:WebCore::IntRect
/external/webkit/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp771 const IntSize& topLeft,
786 if (topLeft.width() + topRight.width() > rect.width()
788 || topLeft.height() + bottomLeft.height() > rect.height()
801 addCornerArc(&path, r, topLeft, 180);
770 fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
/external/webkit/WebKit/mac/WebView/
H A DWebTextCompletionController.mm123 - (void)_placePopupWindow:(NSPoint)topLeft
130 NSPoint wordStart = topLeft;
/external/webkit/WebKit/win/WebCoreSupport/
H A DWebChromeClient.cpp475 POINT topLeft = {0, 0};
477 ::ClientToScreen(viewWindow, &topLeft);
478 result.move(topLeft.x, topLeft.y);
/external/webkit/WebCore/platform/graphics/haiku/
H A DGraphicsContextHaiku.cpp172 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument

Completed in 3081 milliseconds

12