HomeSort by relevance Sort by last modified time
    Searched refs:svgStyle (Results 1 - 25 of 35) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/css/
SVGCSSComputedStyleDeclaration.cpp 87 const SVGRenderStyle* svgStyle = style->svgStyle();
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->fillRule())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceSolidColor.cpp 51 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
58 if (!isRenderingMask && svgStyle)
59 context->setAlpha(svgStyle->fillOpacity());
64 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
71 context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1);
RenderSVGPath.cpp 58 if (style()->svgStyle()->hasStroke()) {
80 if (!style()->svgStyle()->hasVisibleStroke())
109 const SVGRenderStyle* svgStyle = style()->svgStyle();
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()->capStyle() == SquareCap
    [all...]
RenderSVGResource.cpp 43 const SVGRenderStyle* parentSVGStyle = object->parent()->style()->svgStyle();
54 const SVGRenderStyle* svgStyle = style->svgStyle();
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->strokePaintColor()
    [all...]
RenderSVGShape.cpp 202 if (!style()->svgStyle()->hasMarkers())
252 if (!style->svgStyle()->hasVisibleStroke())
286 const SVGRenderStyle* svgStyle = style()->svgStyle();
287 if (svgStyle->shapeRendering() == SR_CRISPEDGES)
324 const SVGRenderStyle* svgStyle = style()->svgStyle();
325 WindRule fillRule = svgStyle->fillRule();
327 fillRule = svgStyle->clipRule();
328 if ((hitRules.canHitStroke && (svgStyle->hasStroke() || !hitRules.requireStroke) && strokeContains(localPoint, hitRules.requireStroke)
    [all...]
RenderSVGResourceGradient.cpp 122 const SVGRenderStyle* svgStyle = style->svgStyle();
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());
SVGRenderSupport.cpp 342 const SVGRenderStyle* svgStyle = style->svgStyle();
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 = style->svgStyle()
    [all...]
ReferenceFilterBuilder.cpp 55 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
57 if (svgStyle) {
59 eColorInterpolation = svgStyle->colorInterpolationFilters();
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())
SVGRenderTreeAsText.cpp 262 const SVGRenderStyle* svgStyle = style->svgStyle();
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->fillOpacity(), 1.0f)
    [all...]
RenderSVGResourcePattern.cpp 155 const SVGRenderStyle* svgStyle = style->svgStyle();
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());
RenderSVGRect.cpp 76 if (style()->svgStyle()->hasStroke()) {
97 if (!style()->svgStyle()->hasVisibleStroke())
RenderSVGResourceClipper.cpp 87 if (!style()->svgStyle()->clipperResource().isEmpty())
105 const SVGRenderStyle* svgStyle = style->svgStyle();
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();
RenderSVGResourceMasker.cpp 99 const SVGRenderStyle* svgStyle = style()->svgStyle();
100 ASSERT(svgStyle);
101 ColorSpace colorSpace = svgStyle->colorInterpolation() == CI_LINEARRGB ? ColorSpaceLinearRGB : ColorSpaceDeviceRGB;
147 ASSERT(style()->svgStyle());
149 if (style()->svgStyle()->maskType() == MT_LUMINANCE)
SVGTextChunkBuilder.cpp 100 const SVGRenderStyle* svgStyle = style->svgStyle();
101 ASSERT(svgStyle);
111 if (svgStyle->isVerticalWritingMode())
115 switch (svgStyle->textAnchor()) {
SVGTextLayoutEngineBaseline.cpp 69 const SVGRenderStyle* style = textRenderer->style()->svgStyle();
114 ASSERT(textRenderer->style()->svgStyle());
120 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline();
SVGResourcesCache.cpp 45 const SVGRenderStyle* svgStyle = style->svgStyle();
46 ASSERT(svgStyle);
50 if (!newResources->buildResources(object, svgStyle))
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();
509 if (!svgStyle->hasStroke())
515 strokeBoundaries.inflate(svgStyle->strokeWidth().value(lengthContext));
RenderSVGEllipse.cpp 72 if (style()->svgStyle()->hasStroke())
109 if (!style()->svgStyle()->hasVisibleStroke())
SVGRenderingContext.cpp 96 const SVGRenderStyle* svgStyle = style->svgStyle();
97 ASSERT(svgStyle);
128 if (svgStyle->hasFilter())
SVGTextLayoutEngine.cpp 247 m_isVerticalText = style->svgStyle()->isVerticalWritingMode();
432 const SVGRenderStyle* svgStyle = style->svgStyle();
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);
RenderSVGShape.h 73 bool hasNonScalingStroke() const { return style()->svgStyle()->vectorEffect() == VE_NON_SCALING_STROKE; }
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFEFloodElement.cpp 53 return flood->setFloodColor(style->svgStyle()->floodColor());
55 return flood->setFloodOpacity(style->svgStyle()->floodOpacity());
68 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle();
70 Color color = svgStyle->floodColor();
71 float opacity = svgStyle->floodOpacity();
SVGStopElement.cpp 116 if (!style || !style->svgStyle())
119 const SVGRenderStyle* svgStyle = style->svgStyle();
120 return colorWithOverrideAlpha(svgStyle->stopColor().rgb(), svgStyle->stopOpacity());
SVGFEDropShadowElement.cpp 161 const SVGRenderStyle* svgStyle = renderer->style()->svgStyle();
163 Color color = svgStyle->floodColor();
164 float opacity = svgStyle->floodOpacity();

Completed in 267 milliseconds

1 2