Searched refs:svgStyle (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DSVGCSSComputedStyleDeclaration.cpp87 const SVGRenderStyle* svgStyle = style->svgStyle(); local
88 if (!svgStyle)
93 return CSSPrimitiveValue::create(svgStyle->clipRule());
95 return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER);
97 return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER);
99 return CSSPrimitiveValue::create(svgStyle->colorInterpolation());
101 return CSSPrimitiveValue::create(svgStyle->colorInterpolationFilters());
103 return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER);
105 return CSSPrimitiveValue::create(svgStyle
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceSolidColor.cpp51 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0; local
58 if (!isRenderingMask && svgStyle)
59 context->setAlpha(svgStyle->fillOpacity());
64 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
71 context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1);
H A DRenderSVGPath.cpp58 if (style()->svgStyle()->hasStroke()) {
80 if (!style()->svgStyle()->hasVisibleStroke())
109 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
111 ASSERT(svgStyle->hasStroke());
113 if (svgStyle->capStyle() == SquareCap) {
117 ASSERT(svgStyle->capStyle() == RoundCap);
130 return style()->svgStyle()->hasStroke() && style()->svgStyle()->capStyle() != ButtCap;
138 if (style()->svgStyle()
[all...]
H A DRenderSVGResource.cpp43 const SVGRenderStyle* parentSVGStyle = object->parent()->style()->svgStyle();
54 const SVGRenderStyle* svgStyle = style->svgStyle(); local
55 if (!svgStyle)
71 if (!svgStyle->hasFill())
74 if (!svgStyle->hasStroke() || isRenderingMask)
79 SVGPaint::SVGPaintType paintType = applyToFill ? svgStyle->fillPaintType() : svgStyle->strokePaintType();
91 color = applyToFill ? svgStyle->fillPaintColor() : svgStyle
[all...]
H A DRenderSVGShape.cpp202 if (!style()->svgStyle()->hasMarkers())
252 if (!style->svgStyle()->hasVisibleStroke())
286 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
287 if (svgStyle->shapeRendering() == SR_CRISPEDGES)
324 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
325 WindRule fillRule = svgStyle->fillRule();
327 fillRule = svgStyle->clipRule();
328 if ((hitRules.canHitStroke && (svgStyle
420 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
[all...]
H A DRenderSVGResourceGradient.cpp122 const SVGRenderStyle* svgStyle = style->svgStyle(); local
123 ASSERT(svgStyle);
126 context->setAlpha(svgStyle->fillOpacity());
128 context->setFillRule(svgStyle->fillRule());
130 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
132 context->setAlpha(svgStyle->strokeOpacity());
H A DSVGRenderSupport.cpp342 const SVGRenderStyle* svgStyle = style->svgStyle(); local
343 ASSERT(svgStyle);
346 context->setStrokeThickness(svgStyle->strokeWidth().value(lengthContext));
347 context->setLineCap(svgStyle->capStyle());
348 context->setLineJoin(svgStyle->joinStyle());
349 context->setMiterLimit(svgStyle->strokeMiterLimit());
351 const Vector<SVGLength>& dashes = svgStyle->strokeDashArray();
360 context->setLineDash(dashArray, svgStyle->strokeDashOffset().value(lengthContext));
371 const SVGRenderStyle* svgStyle local
[all...]
H A DReferenceFilterBuilder.cpp55 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0; local
57 if (svgStyle) {
59 eColorInterpolation = svgStyle->colorInterpolationFilters();
H A DRenderSVGResourceFilterPrimitive.cpp46 const SVGRenderStyle* newStyle = this->style()->svgStyle();
48 if (newStyle->floodColor() != oldStyle->svgStyle()->floodColor())
50 if (newStyle->floodOpacity() != oldStyle->svgStyle()->floodOpacity())
53 if (newStyle->lightingColor() != oldStyle->svgStyle()->lightingColor())
H A DSVGRenderTreeAsText.cpp262 const SVGRenderStyle* svgStyle = style->svgStyle(); local
280 double dashOffset = svgStyle->strokeDashOffset().value(lengthContext);
281 double strokeWidth = svgStyle->strokeWidth().value(lengthContext);
282 const Vector<SVGLength>& dashes = svgStyle->strokeDashArray();
289 writeIfNotDefault(ts, "opacity", svgStyle->strokeOpacity(), 1.0f);
291 writeIfNotDefault(ts, "miter limit", svgStyle->strokeMiterLimit(), 4.0f);
292 writeIfNotDefault(ts, "line cap", svgStyle->capStyle(), ButtCap);
293 writeIfNotDefault(ts, "line join", svgStyle->joinStyle(), MiterJoin);
306 writeIfNotDefault(ts, "opacity", svgStyle
399 const SVGRenderStyle* svgStyle = textRenderer->style()->svgStyle(); local
641 const SVGRenderStyle* svgStyle = style->svgStyle(); local
[all...]
H A DRenderSVGResourcePattern.cpp155 const SVGRenderStyle* svgStyle = style->svgStyle(); local
156 ASSERT(svgStyle);
159 context->setAlpha(svgStyle->fillOpacity());
161 context->setFillRule(svgStyle->fillRule());
163 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
165 context->setAlpha(svgStyle->strokeOpacity());
H A DRenderSVGRect.cpp76 if (style()->svgStyle()->hasStroke()) {
97 if (!style()->svgStyle()->hasVisibleStroke())
H A DRenderSVGResourceClipper.cpp87 if (!style()->svgStyle()->clipperResource().isEmpty())
105 const SVGRenderStyle* svgStyle = style->svgStyle(); local
107 if (!svgStyle->clipperResource().isEmpty())
113 clipRule = svgStyle->clipRule();
122 subPath.setWindRule(svgStyle->clipRule());
239 WindRule newClipRule = style->svgStyle()->clipRule();
247 newClipRule = renderer->style()->svgStyle()->clipRule();
H A DRenderSVGResourceMasker.cpp99 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
100 ASSERT(svgStyle);
101 ColorSpace colorSpace = svgStyle->colorInterpolation() == CI_LINEARRGB ? ColorSpaceLinearRGB : ColorSpaceDeviceRGB;
147 ASSERT(style()->svgStyle());
149 if (style()->svgStyle()->maskType() == MT_LUMINANCE)
H A DSVGTextChunkBuilder.cpp100 const SVGRenderStyle* svgStyle = style->svgStyle(); local
101 ASSERT(svgStyle);
111 if (svgStyle->isVerticalWritingMode())
115 switch (svgStyle->textAnchor()) {
H A DSVGTextLayoutEngineBaseline.cpp69 const SVGRenderStyle* style = textRenderer->style()->svgStyle();
114 ASSERT(textRenderer->style()->svgStyle());
120 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline();
H A DSVGResourcesCache.cpp45 const SVGRenderStyle* svgStyle = style->svgStyle(); local
46 ASSERT(svgStyle);
50 if (!newResources->buildResources(object, svgStyle))
H A DRenderSVGText.cpp446 if ((hitRules.canHitStroke && (style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
447 || (hitRules.canHitFill && (style()->svgStyle()->hasFill() || !hitRules.requireFill))) {
508 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
509 if (!svgStyle->hasStroke())
515 strokeBoundaries.inflate(svgStyle->strokeWidth().value(lengthContext));
H A DRenderSVGEllipse.cpp72 if (style()->svgStyle()->hasStroke())
109 if (!style()->svgStyle()->hasVisibleStroke())
H A DSVGRenderingContext.cpp96 const SVGRenderStyle* svgStyle = style->svgStyle(); local
97 ASSERT(svgStyle);
128 if (svgStyle->hasFilter())
H A DSVGTextLayoutEngine.cpp247 m_isVerticalText = style->svgStyle()->isVerticalWritingMode();
432 const SVGRenderStyle* svgStyle = style->svgStyle(); local
433 ASSERT(svgStyle);
450 float baselineShift = baselineLayout.calculateBaselineShift(svgStyle, lengthContext);
492 float orientationAngle = baselineLayout.calculateGlyphOrientationAngle(m_isVerticalText, svgStyle, currentCharacter);
509 float spacing = spacingLayout.calculateCSSKerningAndSpacing(svgStyle, lengthContext, currentCharacter);
H A DRenderSVGShape.h73 bool hasNonScalingStroke() const { return style()->svgStyle()->vectorEffect() == VE_NON_SCALING_STROKE; }
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEFloodElement.cpp53 return flood->setFloodColor(style->svgStyle()->floodColor());
55 return flood->setFloodOpacity(style->svgStyle()->floodOpacity());
68 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle(); local
70 Color color = svgStyle->floodColor();
71 float opacity = svgStyle->floodOpacity();
H A DSVGStopElement.cpp116 if (!style || !style->svgStyle())
119 const SVGRenderStyle* svgStyle = style->svgStyle(); local
120 return colorWithOverrideAlpha(svgStyle->stopColor().rgb(), svgStyle->stopOpacity());
H A DSVGFEDropShadowElement.cpp161 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle(); local
163 Color color = svgStyle->floodColor();
164 float opacity = svgStyle->floodOpacity();

Completed in 377 milliseconds

12