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

  /external/webkit/Source/WebCore/css/
SVGCSSComputedStyleDeclaration.cpp 76 const SVGRenderStyle* svgStyle = style->svgStyle();
77 if (!svgStyle)
82 return CSSPrimitiveValue::create(svgStyle->clipRule());
84 return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER);
86 return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER);
88 return CSSPrimitiveValue::create(svgStyle->colorInterpolation());
90 return CSSPrimitiveValue::create(svgStyle->colorInterpolationFilters());
92 return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER);
94 return CSSPrimitiveValue::create(svgStyle->fillRule())
    [all...]
SVGCSSStyleSelector.cpp 52 svgstyle->set##Prop(m_parentStyle->svgStyle()->prop()); \
59 svgstyle->set##Prop(SVGRenderStyle::initial##Prop()); \
112 SVGRenderStyle* svgstyle = m_style->accessSVGStyle(); local
131 svgstyle->setAlignmentBaseline(*primitiveValue);
143 svgstyle->setBaselineShift(BS_BASELINE);
146 svgstyle->setBaselineShift(BS_SUB);
149 svgstyle->setBaselineShift(BS_SUPER);
155 svgstyle->setBaselineShift(BS_LENGTH);
156 svgstyle->setBaselineShiftValue(SVGLength::fromCSSPrimitiveValue(primitiveValue))
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
RenderSVGResourceSolidColor.cpp 53 const SVGRenderStyle* svgStyle = style ? style->svgStyle() : 0;
57 context->setAlpha(svgStyle ? svgStyle->fillOpacity() : 1.0f);
59 context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO);
64 context->setAlpha(svgStyle ? svgStyle->strokeOpacity() : 1.0f);
RenderSVGResource.cpp 41 const SVGRenderStyle* svgStyle = style->svgStyle();
42 if (!svgStyle)
47 if (!svgStyle->hasFill())
50 if (!svgStyle->hasStroke())
54 SVGPaint* paint = mode == ApplyToFillMode ? svgStyle->fillPaint() : svgStyle->strokePaint();
74 if (SVGPaint* visitedPaint = mode == ApplyToFillMode ? visitedStyle->svgStyle()->fillPaint() : visitedStyle->svgStyle()->strokePaint()) {
SVGRenderSupport.cpp 63 const SVGRenderStyle* svgStyle = object->style()->svgStyle();
64 if (const ShadowData* shadow = svgStyle->shadow())
87 const SVGRenderStyle* svgStyle = style->svgStyle();
88 ASSERT(svgStyle);
92 const ShadowData* shadow = svgStyle->shadow();
143 const SVGRenderStyle* svgStyle = style->svgStyle();
144 ASSERT(svgStyle);
    [all...]
RenderSVGPath.cpp 174 bool nonScalingStroke = style->svgStyle()->vectorEffect() == VE_NON_SCALING_STROKE;
222 const SVGRenderStyle* svgStyle = style()->svgStyle();
223 if (svgStyle->shapeRendering() == SR_CRISPEDGES)
228 if (svgStyle->hasMarkers())
266 const SVGRenderStyle* svgStyle = style()->svgStyle();
267 WindRule fillRule = svgStyle->fillRule();
269 fillRule = svgStyle->clipRule();
270 if ((hitRules.canHitStroke && (svgStyle->hasStroke() || !hitRules.requireStroke) && strokeContains(localPoint, hitRules.requireStroke)
    [all...]
RenderSVGResourceClipper.cpp 110 if (!style()->svgStyle()->clipperResource().isEmpty())
133 const SVGRenderStyle* svgStyle = style->svgStyle();
135 if (!svgStyle->clipperResource().isEmpty())
140 clipRule = svgStyle->clipRule();
236 WindRule newClipRule = style->svgStyle()->clipRule();
244 newClipRule = renderer->style()->svgStyle()->clipRule();
256 SVGRenderStyle* svgStyle = newRenderStyle.get()->accessSVGStyle();
257 svgStyle->setFillPaint(SVGPaint::defaultFill());
258 svgStyle->setStrokePaint(SVGPaint::defaultStroke())
    [all...]
SVGRenderTreeAsText.cpp 320 const SVGRenderStyle* svgStyle = style->svgStyle();
324 writeIfNotDefault(ts, "image rendering", svgStyle->imageRendering(), SVGRenderStyle::initialImageRendering());
338 double dashOffset = svgStyle->strokeDashOffset().value(element);
339 double strokeWidth = svgStyle->strokeWidth().value(element);
340 const Vector<SVGLength>& dashes = svgStyle->strokeDashArray();
347 writeIfNotDefault(ts, "opacity", svgStyle->strokeOpacity(), 1.0f);
349 writeIfNotDefault(ts, "miter limit", svgStyle->strokeMiterLimit(), 4.0f);
350 writeIfNotDefault(ts, "line cap", svgStyle->capStyle(), ButtCap);
351 writeIfNotDefault(ts, "line join", svgStyle->joinStyle(), MiterJoin)
    [all...]
RenderSVGResourceGradient.cpp 214 const SVGRenderStyle* svgStyle = style->svgStyle();
215 ASSERT(svgStyle);
218 context->setAlpha(svgStyle->fillOpacity());
220 context->setFillRule(svgStyle->fillRule());
222 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
224 context->setAlpha(svgStyle->strokeOpacity());
RenderSVGResourcePattern.cpp 150 const SVGRenderStyle* svgStyle = style->svgStyle();
151 ASSERT(svgStyle);
154 context->setAlpha(svgStyle->fillOpacity());
156 context->setFillRule(svgStyle->fillRule());
158 if (svgStyle->vectorEffect() == VE_NON_SCALING_STROKE)
160 context->setAlpha(svgStyle->strokeOpacity());
RenderSVGResourceFilterPrimitive.cpp 53 const SVGRenderStyle* newStyle = this->style()->svgStyle();
55 if (newStyle->floodColor() != oldStyle->svgStyle()->floodColor())
57 if (newStyle->floodOpacity() != oldStyle->svgStyle()->floodOpacity())
60 if (newStyle->lightingColor() != oldStyle->svgStyle()->lightingColor())
SVGResourcesCache.cpp 46 const SVGRenderStyle* svgStyle = style->svgStyle();
47 ASSERT(svgStyle);
51 if (!resources->buildCachedResources(object, svgStyle)) {
RenderSVGText.cpp 190 if ((hitRules.canHitStroke && (style()->svgStyle()->hasStroke() || !hitRules.requireStroke))
191 || (hitRules.canHitFill && (style()->svgStyle()->hasFill() || !hitRules.requireFill))) {
252 const SVGRenderStyle* svgStyle = style()->svgStyle();
253 if (!svgStyle->hasStroke())
258 strokeBoundaries.inflate(svgStyle->strokeWidth().value(static_cast<SVGElement*>(node())));
SVGTextChunkBuilder.cpp 101 const SVGRenderStyle* svgStyle = style->svgStyle();
102 ASSERT(svgStyle);
112 if (svgStyle->isVerticalWritingMode())
116 switch (svgStyle->textAnchor()) {
SVGTextLayoutEngineBaseline.cpp 68 const SVGRenderStyle* style = textRenderer->style()->svgStyle();
113 ASSERT(textRenderer->style()->svgStyle());
119 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline();
SVGInlineTextBox.cpp 192 const SVGRenderStyle* svgStyle = style->svgStyle();
193 ASSERT(svgStyle);
195 bool hasFill = svgStyle->hasFill();
196 bool hasStroke = svgStyle->hasStroke();
202 const SVGRenderStyle* svgSelectionStyle = selectionStyle->svgStyle();
272 const SVGRenderStyle* svgStyle = style->svgStyle();
273 ASSERT(svgStyle);
275 bool hasFill = svgStyle->hasFill()
    [all...]
SVGTextLayoutEngine.cpp 253 m_isVerticalText = style->svgStyle()->isVerticalWritingMode();
443 const SVGRenderStyle* svgStyle = style->svgStyle();
444 ASSERT(svgStyle);
460 float baselineShift = baselineLayout.calculateBaselineShift(svgStyle, lengthContext);
506 float orientationAngle = baselineLayout.calculateGlyphOrientationAngle(m_isVerticalText, svgStyle, *currentCharacter);
523 float spacing = spacingLayout.calculateCSSKerningAndSpacing(svgStyle, lengthContext, currentCharacter);
RenderSVGRoot.cpp 290 const SVGRenderStyle* svgStyle = style()->svgStyle();
291 if (const ShadowData* shadow = svgStyle->shadow())
SVGTextQuery.cpp 121 ASSERT(queryData->textRenderer->style()->svgStyle());
123 queryData->isVerticalText = queryData->textRenderer->style()->svgStyle()->isVerticalWritingMode();
  /external/webkit/Source/WebCore/svg/
SVGFEFloodElement.cpp 53 return flood->setFloodColor(style->svgStyle()->floodColor());
55 return flood->setFloodOpacity(style->svgStyle()->floodOpacity());
65 Color color = filterStyle->svgStyle()->floodColor();
66 float opacity = filterStyle->svgStyle()->floodOpacity();
SVGStopElement.cpp 104 const SVGRenderStyle* svgStyle = renderer()->style()->svgStyle();
105 return colorWithOverrideAlpha(svgStyle->stopColor().rgb(), svgStyle->stopOpacity());
SVGFEDiffuseLightingElement.cpp 95 return diffuseLighting->setLightingColor(renderer->style()->svgStyle()->lightingColor());
209 Color color = filterStyle->svgStyle()->lightingColor();
SVGFESpecularLightingElement.cpp 100 return specularLighting->setLightingColor(renderer->style()->svgStyle()->lightingColor());
221 Color color = filterStyle->svgStyle()->lightingColor();
SVGFont.cpp 415 isVerticalText = isVerticalWritingMode(parentRenderer->style()->svgStyle());
510 isVerticalText = isVerticalWritingMode(referencingRenderObjectParentStyle->svgStyle());
  /external/webkit/Source/WebCore/rendering/style/
RenderStyle.h     [all...]

Completed in 121 milliseconds