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

Lines Matching +defs:shadow +defs:color

427 FloatSize InlineTextBox::applyShadowToGraphicsContext(GraphicsContext* context, const ShadowData* shadow, const FloatRect& textRect, bool stroked, bool opaque, bool horizontal)
429 if (!shadow)
433 int shadowX = horizontal ? shadow->x() : shadow->y();
434 int shadowY = horizontal ? shadow->y() : -shadow->x();
436 int shadowRadius = shadow->radius();
437 const Color& shadowColor = shadow->color();
439 if (shadow->next() || stroked || !opaque) {
441 shadowRect.inflate(shadow->paintingExtent());
720 // If the text color ends up being the same as the selection background, invert the selection
775 // FIXME: Is this color still applicable as of Mavericks? for non-Mac ports? We should
776 // be able to move this color information to RenderStyle.
929 void InlineTextBox::paintDecoration(GraphicsContext& context, const FloatPoint& boxOrigin, TextDecoration decoration, TextDecorationStyle decorationStyle, const ShadowData* shadow, TextPainter& textPainter)
966 if (!linesAreOpaque && shadow && shadow->next()) {
968 for (const ShadowData* s = shadow; s; s = s->next()) {
989 if (shadow) {
990 if (!shadow->next()) {
995 int shadowX = isHorizontal() ? shadow->x() : shadow->y();
996 int shadowY = isHorizontal() ? shadow->y() : -shadow->x();
997 context.setShadow(FloatSize(shadowX, shadowY - extraOffset), shadow->radius(), shadow->color(), colorSpace);
999 shadow = shadow->next();
1062 } while (shadow);
1180 Color color = marker->activeMatch() ? renderer().theme().platformActiveTextSearchHighlightColor() : renderer().theme().platformInactiveTextSearchHighlightColor();
1182 updateGraphicsContext(*context, TextPaintStyle(color, style.colorSpace())); // Don't draw text at all!
1189 context->fillRect(directionalPixelSnappedForPainting(selectionRect, renderer().document().deviceScaleFactor(), run.ltr()), color, style.colorSpace());
1331 ctx->setStrokeColor(underline.color, renderer().style().colorSpace());