• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/rendering/

Lines Matching +refs:set +refs:border +refs:color

203     // we only check for bits that could possibly be set to true.
314 // return the distance between the canvas origin and the left border edge
516 RoundedRect border = style().getRoundedBorderFor(borderRect, includeLogicalLeftEdge, includeLogicalRightEdge);
519 border.setRadii(segmentBorder.radii());
521 return border;
570 // We shrink the rectangle by one device pixel on each side to make it fully overlap the anti-aliased background border
595 context->setShadow(shadowOffset, boxShadow->radius(), boxShadow->color(), style->colorSpace());
597 context->setLegacyShadow(shadowOffset, boxShadow->radius(), boxShadow->color(), style->colorSpace());
621 void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, const Color& color, const FillLayer* bgLayer, const LayoutRect& rect,
636 Color bgColor = color;
650 // If there's no bg color or image, leave it untouched to avoid affecting transparency.
651 // We don't try to avoid loading the background images, because this style flag is only set
672 // Fast path for drawing simple color backgrounds.
703 RoundedRect border = isBorderFill ? backgroundRoundedRectAdjustedForBleedAvoidance(*context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge) : getBackgroundRoundedRect(rect, box, boxSize.width(), boxSize.height(), includeLeftEdge, includeRightEdge);
707 border = style().getRoundedInnerBorderFor(border.rect(),
710 border = style().getRoundedInnerBorderFor(border.rect(), includeLeftEdge, includeRightEdge);
712 clipRoundedInnerRect(context, pixelSnappedRect, border.pixelSnappedRoundedRectForPainting(deviceScaleFactor));
752 // to actually render, so we should intersect the dirty rect with the border box of the background.
768 // Only fill with a base color (e.g., white) if we're the root document, since iframes/frames with
796 // Paint the color first underneath all images, culled if background image occludes it.
806 // If we have an alpha and we are painting the root element, go ahead and blend with the base background color.
1088 // Determine the background positioning area and set destRect to the background painting area.
1262 // FIXME: border-image is broken with full page zooming when tiling has to happen, since the tiling function
1292 // The spec says: Given Lwidth as the width of the border image area, Lheight as its height, and Wside as the border image width
1344 // Have to scale and tile into the border rect.
1414 static bool allCornersClippedOut(const RoundedRect& border, const LayoutRect& clipRect)
1416 LayoutRect boundingRect = border.rect();
1420 RoundedRect::Radii radii = border.radii();
1499 if (!edges[side].color().hasAlpha())
1520 if (!edgesShareColor(edges[side], edges[adjacentSide]) && edges[adjacentSide].color().hasAlpha())
1582 const Color& colorToPaint = overrideColor ? *overrideColor : edgeToRender.color();
1641 // The inner border adjustment for bleed avoidance mode BackgroundBleedBackgroundOverBorder
1643 // is only to be used for solid borders and the shape of the border painted by drawBoxSideFromPath
1687 // Find undrawn edges sharing a color.
1698 commonColor = edges[currSide].color();
1701 includeEdge = edges[currSide].color() == commonColor;
1733 // border-image is not affected by border-radius.
1769 else if (currEdge.color() != edges[firstVisibleEdge].color())
1772 if (currEdge.color().hasAlpha())
1847 graphicsContext->setFillColor(edges[firstVisibleEdge].color(), style.colorSpace());
1864 graphicsContext->setFillColor(edges[firstVisibleEdge].color(), style.colorSpace());
1893 float thickness, float drawThickness, BoxSide side, const RenderStyle& style, Color color, EBorderStyle borderStyle, BackgroundBleedAvoidance bleedAvoidance,
1908 graphicsContext->setStrokeColor(color, style.colorSpace());
1911 // outside edge of the border so half the stroke is clipped off.
1941 // FIXME: stroking the border path causes issues with tight corners:
1948 // Get the inner border rects for both the outer border line and the inner border line
1965 // Draw inner border line
1973 drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side, style, color, SOLID, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge);
1976 // Draw outer border line
1992 drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side, style, color, SOLID, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge);
2009 // Paint full border
2010 drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side, style, color, s1, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge);
2024 drawBoxSideFromPath(graphicsContext, borderRect, borderPath, edges, thickness, drawThickness, side, style, color, s2, bleedAvoidance, includeLogicalLeftEdge, includeLogicalRightEdge);
2029 color = color.dark();
2033 color = color.dark();
2040 graphicsContext->setFillColor(color, style.colorSpace());
2137 // If the border matches both of its adjacent sides, don't anti-alias the clip, and
2190 // Expand the inner border as necessary to make it a rounded rect (i.e. radii contained within each edge).
2296 // Bail if we have any border-image for now. We could look at the image alpha to improve this.
2375 // FIXME: Deal with border-image. Would be great to use border-image as a mask.
2380 RoundedRect border = (shadowStyle == Inset) ? style.getRoundedInnerBorderFor(paintRect, includeLogicalLeftEdge, includeLogicalRightEdge)
2402 const Color& shadowColor = shadow->color();
2405 RoundedRect fillRect = border;
2410 FloatRect pixelSnappedShadowRect = pixelSnappedForPainting(border.rect(), deviceScaleFactor);
2428 FloatRoundedRect rectToClipOut = border.pixelSnappedRoundedRectForPainting(deviceScaleFactor);
2440 RoundedRect influenceRect(LayoutRect(pixelSnappedShadowRect), border.radii());
2470 FloatRoundedRect pixelSnappedBorderRect = border.pixelSnappedRoundedRectForPainting(deviceScaleFactor);
2543 continuationMap->set(this, continuation);
2562 firstLetterRemainingTextMap->set(this, remainingText);