/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | SVGCSSComputedStyleDeclaration.cpp | 87 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 D | RenderSVGResourceSolidColor.cpp | 51 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 D | RenderSVGPath.cpp | 58 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 D | RenderSVGResource.cpp | 43 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 D | RenderSVGShape.cpp | 202 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 D | RenderSVGResourceGradient.cpp | 122 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 D | SVGRenderSupport.cpp | 342 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 D | ReferenceFilterBuilder.cpp | 55 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0; local 57 if (svgStyle) { 59 eColorInterpolation = svgStyle->colorInterpolationFilters();
|
H A D | RenderSVGResourceFilterPrimitive.cpp | 46 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 D | SVGRenderTreeAsText.cpp | 262 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 D | RenderSVGResourcePattern.cpp | 155 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 D | RenderSVGRect.cpp | 76 if (style()->svgStyle()->hasStroke()) { 97 if (!style()->svgStyle()->hasVisibleStroke())
|
H A D | RenderSVGResourceClipper.cpp | 87 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 D | RenderSVGResourceMasker.cpp | 99 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 D | SVGTextChunkBuilder.cpp | 100 const SVGRenderStyle* svgStyle = style->svgStyle(); local 101 ASSERT(svgStyle); 111 if (svgStyle->isVerticalWritingMode()) 115 switch (svgStyle->textAnchor()) {
|
H A D | SVGTextLayoutEngineBaseline.cpp | 69 const SVGRenderStyle* style = textRenderer->style()->svgStyle(); 114 ASSERT(textRenderer->style()->svgStyle()); 120 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline();
|
H A D | SVGResourcesCache.cpp | 45 const SVGRenderStyle* svgStyle = style->svgStyle(); local 46 ASSERT(svgStyle); 50 if (!newResources->buildResources(object, svgStyle))
|
H A D | RenderSVGText.cpp | 446 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 D | RenderSVGEllipse.cpp | 72 if (style()->svgStyle()->hasStroke()) 109 if (!style()->svgStyle()->hasVisibleStroke())
|
H A D | SVGRenderingContext.cpp | 96 const SVGRenderStyle* svgStyle = style->svgStyle(); local 97 ASSERT(svgStyle); 128 if (svgStyle->hasFilter())
|
H A D | SVGTextLayoutEngine.cpp | 247 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 D | RenderSVGShape.h | 73 bool hasNonScalingStroke() const { return style()->svgStyle()->vectorEffect() == VE_NON_SCALING_STROKE; }
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGFEFloodElement.cpp | 53 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 D | SVGStopElement.cpp | 116 if (!style || !style->svgStyle()) 119 const SVGRenderStyle* svgStyle = style->svgStyle(); local 120 return colorWithOverrideAlpha(svgStyle->stopColor().rgb(), svgStyle->stopOpacity());
|
H A D | SVGFEDropShadowElement.cpp | 161 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle(); local 163 Color color = svgStyle->floodColor(); 164 float opacity = svgStyle->floodOpacity();
|