Searched refs:bottomRight (Results 1 - 25 of 31) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/
H A DRoundedIntRect.h40 Radii(const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
44 , m_bottomRight(bottomRight)
55 const IntSize& bottomRight() const { return m_bottomRight; } function in class:WebCore::RoundedIntRect::Radii
77 RoundedIntRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
105 return a.topLeft() == b.topLeft() && a.topRight() == b.topRight() && a.bottomLeft() == b.bottomLeft() && a.bottomRight() == b.bottomRight();
H A DRoundedIntRect.cpp93 m_bottomRight = edges.bottomRight();
127 RoundedIntRect::RoundedIntRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight) argument
129 , m_radii(topLeft, topRight, bottomLeft, bottomRight)
146 && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width()
148 && m_radii.bottomLeft().height() + m_radii.bottomRight().height() <= m_rect.height();
H A DTiledBackingStore.cpp77 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); local
79 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
80 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
136 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); local
138 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
139 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
233 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(coverRect.maxX(), coverRect.maxY())); local
234 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
235 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
H A DShadowBlur.cpp424 rightSlice = twiceRadius + max(radii.topRight().width(), radii.bottomRight().width());
427 bottomSlice = twiceRadius + max(radii.bottomLeft().height(), radii.bottomRight().height());
516 path.addRoundedRect(shadowedRect, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight());
557 path.addRoundedRect(holeRect, holeRadii.topLeft(), holeRadii.topRight(), holeRadii.bottomLeft(), holeRadii.bottomRight());
636 path.addRoundedRect(templateHole, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight());
698 path.addRoundedRect(templateShadow, radii.topLeft(), radii.topRight(), radii.bottomLeft(), radii.bottomRight());
H A DPath.cpp193 addRoundedRect(r.rect(), r.radii().topLeft(), r.radii().topRight(), r.radii().bottomLeft(), r.radii().bottomRight());
H A DGraphicsContext.h337 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&, ColorSpace);
/external/webkit/Source/WebCore/platform/graphics/filters/
H A DFELighting.cpp74 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); local
75 normalVector.setX(-(center << 1) + (right << 1) - bottom + bottomRight);
76 normalVector.setY(-(center << 1) - right + (bottom << 1) + bottomRight);
87 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); local
88 normalVector.setX(-(left << 1) + (right << 1) - bottomLeft + bottomRight);
89 normalVector.setY(-left - (center << 1) - right + bottomLeft + (bottom << 1) + bottomRight);
112 int bottomRight = static_cast<int>(pixels->get(offset + cPixelSize + cAlphaChannelOffset)); local
113 normalVector.setX(-top + topRight - (center << 1) + (right << 1) - bottom + bottomRight);
114 normalVector.setY(-(top << 1) - topRight + (bottom << 1) + bottomRight);
128 int bottomRight local
171 inline void FELighting::LightingData::bottomRight(int offset, IntPoint& normalVector) function in class:WebCore::FELighting::LightingData
[all...]
H A DFELighting.h70 inline void bottomRight(int offset, IntPoint& normalVector);
/external/webkit/Source/WebKit2/UIProcess/
H A DTiledDrawingAreaProxy.cpp239 TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); local
245 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
246 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
337 TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY())); local
339 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
340 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
437 TiledDrawingAreaTile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(visibleRect.maxX(), visibleRect.maxY())); local
438 for (unsigned yCoordinate = topLeft.y(); yCoordinate <= bottomRight.y(); ++yCoordinate) {
439 for (unsigned xCoordinate = topLeft.x(); xCoordinate <= bottomRight.x(); ++xCoordinate) {
/external/webkit/Source/WebCore/rendering/
H A DRenderBoxModelObject.cpp1271 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSBottom].style) || borderWillArcInnerEdge(innerBorder.radii().bottomLeft(), innerBorder.radii().bottomRight()));
1287 bool usePath = renderRadii && (borderStyleHasInnerDetail(edges[BSRight].style) || borderWillArcInnerEdge(innerBorder.radii().bottomRight(), innerBorder.radii().topRight()));
1724 bool ignoreRight = (renderRadii && border.radii().bottomRight().width() > 0)
1732 x2 -= border.radii().bottomRight().width();
1768 if (border.radii().bottomRight().width()) {
1769 int rightY = ty + h - border.radii().bottomRight().height() * 2;
1770 int rightX = tx + w - border.radii().bottomRight().width() * 2;
1771 bool applyRightInnerClip = (style->borderRightWidth() < border.radii().bottomRight().width())
1772 && (style->borderBottomWidth() < border.radii().bottomRight().height())
1776 graphicsContext->addInnerRoundedRectClip(IntRect(rightX, rightY, border.radii().bottomRight()
[all...]
/external/webkit/Source/WebCore/platform/graphics/openvg/
H A DPainterOpenVG.h101 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.cpp176 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
183 m_data->drawRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight, VG_FILL_PATH);
H A DPainterOpenVG.cpp854 void PainterOpenVG::drawRoundedRect(const FloatRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, VGbitfield specifiedPaintModes) argument
883 FloatSize clampedBottomRight = FloatSize(bottomRight).shrunkTo(rect.size()).expandedTo(FloatSize());
/external/webkit/Source/WebCore/rendering/style/
H A DBorderData.h112 const LengthSize& bottomRight() const { return m_bottomRight; } function in class:WebCore::BorderData
H A DRenderStyle.cpp766 IntSize(border.bottomRight().width().calcValue(width),
767 border.bottomRight().height().calcValue(height)));
784 radiiSum = static_cast<unsigned>(radii.bottomLeft().width()) + static_cast<unsigned>(radii.bottomRight().width());
794 radiiSum = static_cast<unsigned>(radii.topRight().height()) + static_cast<unsigned>(radii.bottomRight().height());
/external/webkit/Source/WebCore/css/
H A DCSSGradientValue.cpp656 FloatPoint bottomRight(size.width(), size.height());
657 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength();
673 corner = bottomRight;
689 FloatPoint bottomRight(size.width(), size.height());
690 float bottomRightDistance = FloatSize(p - bottomRight).diagonalLength();
706 corner = bottomRight;
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp825 const IntSize& bottomRight,
840 || bottomLeft.width() + bottomRight.width() > rect.width()
842 || topRight.height() + bottomRight.height() > rect.height()) {
852 addCornerArc(&path, r, bottomRight, 0);
821 fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DGraphicsContextCG.cpp747 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
768 contextShadow.drawRectShadow(this, rect, RoundedIntRect::Radii(topLeft, topRight, bottomLeft, bottomRight));
771 bool equalWidths = (topLeft.width() == topRight.width() && topRight.width() == bottomLeft.width() && bottomLeft.width() == bottomRight.width());
772 bool equalHeights = (topLeft.height() == bottomLeft.height() && bottomLeft.height() == topRight.height() && topRight.height() == bottomRight.height());
777 path.addRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight);
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DGraphicsContextHaiku.cpp180 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGraphicsContextAndroid.cpp759 const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace)
772 radii[4] = SkIntToScalar(bottomRight.width());
773 radii[5] = SkIntToScalar(bottomRight.height());
758 fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace) argument
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DGraphicsContextCairo.cpp1125 void GraphicsContext::fillRoundedRect(const IntRect& r, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
1131 m_data->shadow.drawRectShadow(this, r, topLeft, topRight, bottomLeft, bottomRight);
1136 path.addRoundedRect(r, topLeft, topRight, bottomLeft, bottomRight);
/external/webkit/Source/WebKit/chromium/tests/
H A DTransparencyWinTest.cpp387 FloatRect bottomRight(15, 15, 1, 1);
388 helper.context()->fillRect(bottomRight, green, ColorSpaceDeviceRGB);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DGraphicsContextWx.cpp278 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
/external/webkit/Source/WebCore/platform/qt/
H A DQtMobileWebStyle.cpp95 const QPoint centerGradient(rect.bottomRight() * 0.7);
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DGraphicsContextQt.cpp744 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) argument
750 path.addRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight);

Completed in 458 milliseconds

12