Lines Matching refs:svgStyle
63 const SVGRenderStyle* svgStyle = style->svgStyle();
64 if (!svgStyle)
69 return CSSPrimitiveValue::create(svgStyle->clipRule());
71 return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER);
73 return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER);
75 return CSSPrimitiveValue::create(svgStyle->colorInterpolation());
77 return CSSPrimitiveValue::create(svgStyle->colorInterpolationFilters());
79 return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER);
81 return CSSPrimitiveValue::create(svgStyle->fillRule());
83 return CSSPrimitiveValue::create(svgStyle->colorRendering());
85 return CSSPrimitiveValue::create(svgStyle->imageRendering());
87 return CSSPrimitiveValue::create(svgStyle->shapeRendering());
89 return CSSPrimitiveValue::create(svgStyle->capStyle());
91 return CSSPrimitiveValue::create(svgStyle->joinStyle());
93 return CSSPrimitiveValue::create(svgStyle->strokeMiterLimit(), CSSPrimitiveValue::CSS_NUMBER);
95 return CSSPrimitiveValue::create(svgStyle->strokeOpacity(), CSSPrimitiveValue::CSS_NUMBER);
97 return CSSPrimitiveValue::create(svgStyle->alignmentBaseline());
99 return CSSPrimitiveValue::create(svgStyle->dominantBaseline());
101 return CSSPrimitiveValue::create(svgStyle->textAnchor());
103 return CSSPrimitiveValue::create(svgStyle->writingMode());
105 if (!svgStyle->clipPath().isEmpty())
106 return CSSPrimitiveValue::create(svgStyle->clipPath(), CSSPrimitiveValue::CSS_URI);
109 if (!svgStyle->maskElement().isEmpty())
110 return CSSPrimitiveValue::create(svgStyle->maskElement(), CSSPrimitiveValue::CSS_URI);
113 if (!svgStyle->filter().isEmpty())
114 return CSSPrimitiveValue::create(svgStyle->filter(), CSSPrimitiveValue::CSS_URI);
117 return CSSPrimitiveValue::createColor(svgStyle->floodColor().rgb());
119 return CSSPrimitiveValue::createColor(svgStyle->lightingColor().rgb());
121 return CSSPrimitiveValue::createColor(svgStyle->stopColor().rgb());
123 return svgStyle->fillPaint();
125 return svgStyle->kerning();
127 if (!svgStyle->endMarker().isEmpty())
128 return CSSPrimitiveValue::create(svgStyle->endMarker(), CSSPrimitiveValue::CSS_URI);
131 if (!svgStyle->midMarker().isEmpty())
132 return CSSPrimitiveValue::create(svgStyle->midMarker(), CSSPrimitiveValue::CSS_URI);
135 if (!svgStyle->startMarker().isEmpty())
136 return CSSPrimitiveValue::create(svgStyle->startMarker(), CSSPrimitiveValue::CSS_URI);
139 return svgStyle->strokePaint();
141 return svgStyle->strokeDashArray();
143 return svgStyle->strokeDashOffset();
145 return svgStyle->strokeWidth();
147 switch (svgStyle->baselineShift()) {
155 return svgStyle->baselineShiftValue();
159 return glyphOrientationToCSSPrimitiveValue(svgStyle->glyphOrientationHorizontal());
161 if (RefPtr<CSSPrimitiveValue> value = glyphOrientationToCSSPrimitiveValue(svgStyle->glyphOrientationVertical()))
164 if (svgStyle->glyphOrientationVertical() == GO_AUTO)
170 return valueForShadow(svgStyle->shadow(), propertyID);