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

12

/external/chromium_org/third_party/WebKit/Source/core/css/
H A DSVGCSSComputedStyleDeclaration.cpp105 const SVGRenderStyle* svgStyle = style->svgStyle(); local
106 if (!svgStyle)
111 return CSSPrimitiveValue::create(svgStyle->clipRule());
113 return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER);
115 return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER);
117 return CSSPrimitiveValue::create(svgStyle->colorInterpolation());
119 return CSSPrimitiveValue::create(svgStyle->colorInterpolationFilters());
121 return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER);
123 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 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 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.cpp44 const SVGRenderStyle* parentSVGStyle = object->parent()->style()->svgStyle();
55 const SVGRenderStyle* svgStyle = style->svgStyle(); local
56 if (!svgStyle)
72 if (!svgStyle->hasFill())
75 if (!svgStyle->hasStroke() || isRenderingMask)
80 SVGPaint::SVGPaintType paintType = applyToFill ? svgStyle->fillPaintType() : svgStyle->strokePaintType();
92 color = applyToFill ? svgStyle->fillPaintColor() : svgStyle
[all...]
H A DRenderSVGShape.cpp201 if (!style()->svgStyle()->hasMarkers())
264 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
265 if (svgStyle->shapeRendering() == SR_CRISPEDGES)
269 switch (svgStyle->paintOrderType(i)) {
274 if (svgStyle->hasVisibleStroke()) {
337 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
338 WindRule fillRule = svgStyle->fillRule();
340 fillRule = svgStyle
433 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
[all...]
H A DRenderSVGResourceGradient.cpp123 const SVGRenderStyle* svgStyle = style->svgStyle(); local
124 ASSERT(svgStyle);
127 context->setAlpha(svgStyle->fillOpacity());
129 context->setFillRule(svgStyle->fillRule());
131 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
133 context->setAlpha(svgStyle->strokeOpacity());
H A DSVGRenderSupport.cpp356 const SVGRenderStyle* svgStyle = style->svgStyle(); local
357 ASSERT(svgStyle);
360 context->setStrokeThickness(svgStyle->strokeWidth().value(lengthContext));
361 context->setLineCap(svgStyle->capStyle());
362 context->setLineJoin(svgStyle->joinStyle());
363 context->setMiterLimit(svgStyle->strokeMiterLimit());
365 const Vector<SVGLength>& dashes = svgStyle->strokeDashArray();
374 context->setLineDash(dashArray, svgStyle->strokeDashOffset().value(lengthContext));
385 const SVGRenderStyle* svgStyle local
[all...]
H A DRenderSVGResourceMasker.cpp90 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
91 ASSERT(svgStyle);
92 ColorFilter maskLayerFilter = svgStyle->maskType() == MT_LUMINANCE
94 ColorFilter maskContentFilter = svgStyle->colorInterpolation() == CI_LINEARRGB
H A DSVGRenderTreeAsText.cpp253 const SVGRenderStyle* svgStyle = style->svgStyle(); local
270 double dashOffset = svgStyle->strokeDashOffset().value(lengthContext);
271 double strokeWidth = svgStyle->strokeWidth().value(lengthContext);
272 const Vector<SVGLength>& dashes = svgStyle->strokeDashArray();
279 writeIfNotDefault(ts, "opacity", svgStyle->strokeOpacity(), 1.0f);
281 writeIfNotDefault(ts, "miter limit", svgStyle->strokeMiterLimit(), 4.0f);
282 writeIfNotDefault(ts, "line cap", svgStyle->capStyle(), ButtCap);
283 writeIfNotDefault(ts, "line join", svgStyle->joinStyle(), MiterJoin);
296 writeIfNotDefault(ts, "opacity", svgStyle
386 const SVGRenderStyle* svgStyle = textRenderer->style()->svgStyle(); local
623 const SVGRenderStyle* svgStyle = style->svgStyle(); local
[all...]
H A DRenderSVGResourcePattern.cpp156 const SVGRenderStyle* svgStyle = style->svgStyle(); local
157 ASSERT(svgStyle);
160 context->setAlpha(svgStyle->fillOpacity());
162 context->setFillRule(svgStyle->fillRule());
164 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
166 context->setAlpha(svgStyle->strokeOpacity());
H A DReferenceFilterBuilder.cpp78 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0; local
80 if (svgStyle) {
82 eColorInterpolation = svgStyle->colorInterpolationFilters();
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());
280 WindRule newClipRule = style->svgStyle()->clipRule();
288 newClipRule = renderer->style()->svgStyle()->clipRule();
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 DSVGRenderingContext.cpp111 const SVGRenderStyle* svgStyle = style->svgStyle(); local
112 ASSERT(svgStyle);
143 if (svgStyle->hasFilter())
H A DSVGResourcesCache.cpp45 const SVGRenderStyle* svgStyle = style->svgStyle(); local
46 ASSERT(svgStyle);
49 OwnPtr<SVGResources> newResources = SVGResources::buildResources(object, svgStyle);
H A DRenderSVGText.cpp444 || (hitRules.canHitStroke && (style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
445 || (hitRules.canHitFill && (style()->svgStyle()->hasFill() || !hitRules.requireFill))) {
507 const SVGRenderStyle* svgStyle = style()->svgStyle(); local
508 if (!svgStyle->hasStroke())
514 strokeBoundaries.inflate(svgStyle->strokeWidth().value(lengthContext));
H A DRenderSVGEllipse.cpp72 if (style()->svgStyle()->hasStroke())
107 if (!style()->svgStyle()->hasVisibleStroke())
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 DSVGInlineTextBox.cpp286 const SVGRenderStyle* svgStyle = style->svgStyle(); local
287 ASSERT(svgStyle);
289 bool hasFill = svgStyle->hasFill();
290 bool hasVisibleStroke = svgStyle->hasVisibleStroke();
296 const SVGRenderStyle* svgSelectionStyle = selectionStyle->svgStyle();
331 switch (svgStyle->paintOrderType(i)) {
559 const SVGRenderStyle* svgDecorationStyle = decorationStyle->svgStyle();
740 || (hitRules.canHitStroke && (renderer()->style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
741 || (hitRules.canHitFill && (renderer()->style()->svgStyle()
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFEFloodElement.cpp52 return flood->setFloodColor(style->svgStyle()->floodColor());
54 return flood->setFloodOpacity(style->svgStyle()->floodOpacity());
67 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle(); local
69 Color color = svgStyle->floodColor();
70 float opacity = svgStyle->floodOpacity();
H A DSVGStopElement.cpp114 if (!style || !style->svgStyle())
117 const SVGRenderStyle* svgStyle = style->svgStyle(); local
118 return colorWithOverrideAlpha(svgStyle->stopColor().rgb(), svgStyle->stopOpacity());
H A DSVGFEDropShadowElement.cpp160 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle(); local
162 Color color = svgStyle->floodColor();
163 float opacity = svgStyle->floodOpacity();

Completed in 232 milliseconds

12