Home
last modified time | relevance | path

Searched refs:SVGColor (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/svg/
DSVGColor.h34 class SVGColor : public CSSValue {
43 static PassRefPtr<SVGColor> createFromString(const String& rgbColor) in createFromString()
45 RefPtr<SVGColor> color = adoptRef(new SVGColor(SVG_COLORTYPE_RGBCOLOR)); in createFromString()
50 static PassRefPtr<SVGColor> createFromColor(const Color& rgbColor) in createFromColor()
52 RefPtr<SVGColor> color = adoptRef(new SVGColor(SVG_COLORTYPE_RGBCOLOR)); in createFromColor()
57 static PassRefPtr<SVGColor> createCurrentColor() in createCurrentColor()
59 return adoptRef(new SVGColor(SVG_COLORTYPE_CURRENTCOLOR)); in createCurrentColor()
75 SVGColor(const SVGColorType&);
76 virtual ~SVGColor() { } in ~SVGColor()
DSVGPaint.cpp33 static inline SVGColor::SVGColorType colorTypeForPaintType(const SVGPaint::SVGPaintType& paintType) in colorTypeForPaintType()
40 return SVGColor::SVG_COLORTYPE_UNKNOWN; in colorTypeForPaintType()
43 return SVGColor::SVG_COLORTYPE_RGBCOLOR; in colorTypeForPaintType()
46 return SVGColor::SVG_COLORTYPE_RGBCOLOR_ICCCOLOR; in colorTypeForPaintType()
49 return SVGColor::SVG_COLORTYPE_CURRENTCOLOR; in colorTypeForPaintType()
53 return SVGColor::SVG_COLORTYPE_UNKNOWN; in colorTypeForPaintType()
57 : SVGColor(colorTypeForPaintType(paintType)) in SVGPaint()
120 SVGColor::SVGColorType colorType = colorTypeForPaintType(type); in setPaint()
121 if (colorType == SVGColor::SVG_COLORTYPE_UNKNOWN) { in setPaint()
145 return SVGColor::cssText(); in cssText()
[all …]
DSVGColor.cpp33 SVGColor::SVGColor(const SVGColorType& colorType) in SVGColor() function in WebCore::SVGColor
38 PassRefPtr<RGBColor> SVGColor::rgbColor() const in rgbColor()
43 void SVGColor::setRGBColor(const String& rgbColor, ExceptionCode& ec) in setRGBColor()
45 Color color = SVGColor::colorFromRGBColorString(rgbColor); in setRGBColor()
56 Color SVGColor::colorFromRGBColorString(const String& colorString) in colorFromRGBColorString()
65 void SVGColor::setRGBColorICCColor(const String& rgbColor, const String& iccColor, ExceptionCode& e… in setRGBColorICCColor()
81 void SVGColor::setColor(unsigned short colorType, const String& rgbColor, const String& iccColor, E… in setColor()
132 String SVGColor::cssText() const in cssText()
DSVGAnimateElement.cpp235 m_fromColor = SVGColor::colorFromRGBColorString(fromColorString); in calculateAnimatedValue()
242 m_toColor = SVGColor::colorFromRGBColorString(toColorString); in calculateAnimatedValue()
355 m_fromColor = SVGColor::colorFromRGBColorString(fromString); in calculateFromAndToValues()
359 m_toColor = SVGColor::colorFromRGBColorString(toString); in calculateFromAndToValues()
410 m_fromColor = SVGColor::colorFromRGBColorString(fromString); in calculateFromAndByValues()
414 m_toColor = SVGColor::colorFromRGBColorString(byString); in calculateFromAndByValues()
439 … m_animatedColor = baseString.isEmpty() ? Color() : SVGColor::colorFromRGBColorString(baseString); in resetToBaseValue()
508 Color from = SVGColor::colorFromRGBColorString(fromString); in calculateDistance()
511 Color to = SVGColor::colorFromRGBColorString(toString); in calculateDistance()
DSVGFEDiffuseLightingElement.h32 class SVGColor; variable
DSVGPaint.h32 class SVGPaint : public SVGColor {
DSVGColor.idl24 interface [Conditional=SVG] SVGColor : CSSValue {
DSVGPaint.idl28 interface [Conditional=SVG] SVGPaint : SVGColor {
/external/webkit/Source/WebCore/css/
DSVGCSSParser.cpp204 parsedValue = SVGColor::createFromString(value->string); in parseSVGValue()
217 parsedValue = SVGColor::createFromString(value->string); in parseSVGValue()
219 parsedValue = SVGColor::createCurrentColor(); in parseSVGValue()
351 return SVGColor::createFromColor(Color(c)); in parseSVGColor()
DSVGCSSStyleSelector.cpp95 static Color colorFromSVGColorCSSValue(SVGColor* svgColor, const Color& fgColor) in colorFromSVGColorCSSValue()
98 if (svgColor->colorType() == SVGColor::SVG_COLORTYPE_CURRENTCOLOR) in colorFromSVGColorCSSValue()
474 …svgstyle->setStopColor(colorFromSVGColorCSSValue(static_cast<SVGColor*>(value), m_style->color())); in applySVGProperty()
481 …svgstyle->setLightingColor(colorFromSVGColorCSSValue(static_cast<SVGColor*>(value), m_style->color… in applySVGProperty()
506 …svgstyle->setFloodColor(colorFromSVGColorCSSValue(static_cast<SVGColor*>(value), m_style->color())… in applySVGProperty()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8CSSValueCustom.cpp59 return toV8(static_cast<SVGColor*>(impl)); in toV8()
/external/webkit/Source/WebCore/bindings/js/
DJSCSSValueCustom.cpp65 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGColor, value); in toJS()
/external/webkit/Source/WebCore/
DDerivedSources.make384 SVGColor \
DCodeGenerators.pri401 svg/SVGColor.idl \
DCMakeLists.txt1630 svg/SVGColor.cpp
1783 svg/SVGColor.idl
DAndroid.mk1075 svg/SVGColor.cpp \
DChangeLog-2006-12-31303 SVGColor::setRGBColor color creates/deletes many strings, slowing down parsing
306 SVGColor and SVGPaint more efficient by avoiding using
319 * ksvg2/svg/SVGColor.cpp:
320 (WebCore::SVGColor::SVGColor):
321 (WebCore::SVGColor::setRGBColor):
322 (WebCore::SVGColor::cssText):
323 * ksvg2/svg/SVGColor.h:
21885 * ksvg2/svg/SVGColor.h:
21886 (WebCore::SVGColor::isSVGColor):
22347 * ksvg2/svg/SVGColor.cpp:
[all …]
DWebCore.pro2306 svg/SVGColor.h \
3265 svg/SVGColor.cpp \
DChangeLog57210 …as it's already done for SVGColor objects (stop-color, flood-color, etc.) instead of in RenderSVGR…
57213 …lor properties. Also fix computed styles, which did not resolve currentColor for SVGPaint/SVGColor.
57215 …A previous patch implemented the SVGPaint/SVGColor API. SVG demands these CSSValues to be mutable.…
57216 …CSSMutableValue, which extends CSSValue by a Node pointer, and let SVGPaint/SVGColor inherit from …
57217 …Mutating a SVGPaint/SVGColor object now takes immediate effect, which is reflected in the inline s…
57246 …e): Use currentColorOrValidColor/adjustSVGPaintForCurrentColor to resolve SVGColor/SVGPaint values.
57286 * svg/SVGColor.cpp: Call setNeedsStyleRecalc() after mutating the object.
57287 (WebCore::SVGColor::setRGBColor):
57288 (WebCore::SVGColor::setRGBColorICCColor):
57289 (WebCore::SVGColor::setColor):
[all …]
DWebCore.gypi1040 'svg/SVGColor.h',
1454 'svg/SVGColor.idl',
5622 'svg/SVGColor.cpp',
DChangeLog-2007-10-1438 * ksvg2/svg/SVGColor.cpp:
39 (WebCore::SVGColor::colorFromRGBColorString):
1716 SVG colors have two separate parsing paths (one CSS and one SVGColor::setRGBColor)
1733 * ksvg2/svg/SVGColor.cpp:
1734 (WebCore::SVGColor::colorFromRGBColorString):
3064 fill property is reported as type SVGColor
4972 * ksvg2/svg/SVGColor.cpp:
4973 * ksvg2/svg/SVGColor.h:
4974 * ksvg2/svg/SVGColor.idl:
39352 * ksvg2/svg/SVGColor.cpp:
[all …]
DGNUmakefile.list.am3289 Source/WebCore/svg/SVGColor.cpp \
3290 Source/WebCore/svg/SVGColor.h \
DGNUmakefile.am3266 Source/WebCore/svg/SVGColor.cpp \
3267 Source/WebCore/svg/SVGColor.h \
/external/webkit/Source/WebCore/page/
DDOMWindow.idl638 attribute SVGColorConstructor SVGColor;
/external/webkit/Source/WebCore/WebCore.xcodeproj/
Dproject.pbxproj4166 …B22279A10D00BF220071B782 /* SVGColor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B222780B0D…
4167 …B22279A20D00BF220071B782 /* SVGColor.h in Headers */ = {isa = PBXBuildFile; fileRef = B222780C0D00…
10508 …00BF1F0071B782 /* SVGColor.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType …
10509 …C0D00BF1F0071B782 /* SVGColor.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType…
10510 …2780D0D00BF1F0071B782 /* SVGColor.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFi…
17333 B222780B0D00BF1F0071B782 /* SVGColor.cpp */,
17334 B222780C0D00BF1F0071B782 /* SVGColor.h */,
17335 B222780D0D00BF1F0071B782 /* SVGColor.idl */,
22565 B22279A20D00BF220071B782 /* SVGColor.h in Headers */,
25366 B22279A10D00BF220071B782 /* SVGColor.cpp in Sources */,

12