You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Chris Lilley <ch...@w3.org> on 2012/02/02 20:28:45 UTC
Naive question (currentColor in Batik)
Hello batik-dev,
I was curious about the implementation of the currentColor value in Batik, so I pulled down the sources from svg and tried to grep for currentColor in *.java. I got no results.
What am I missing here? is it defined in some other type of file?
Chris@brigindona /cygdrive/d/batik/trunk/sources/org/apache/batik
$ find . -name *.java -exec grep -l currentColor {} \;
--
Chris Lilley Technical Director, Interaction Domain
W3C Graphics Activity Lead, Fonts Activity Lead
Co-Chair, W3C Hypertext CG
Member, CSS, WebFonts, SVG Working Groups
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org
Re: Naive question (currentColor in Batik)
Posted by Cameron McCormack <ca...@mcc.id.au>.
Chris Lilley:
> I was curious about the implementation of the currentColor value in Batik, so I pulled down the sources from svg and tried to grep for currentColor in *.java. I got no results.
>
> What am I missing here? is it defined in some other type of file?
>
> Chris@brigindona /cygdrive/d/batik/trunk/sources/org/apache/batik
> $ find . -name *.java -exec grep -l currentColor {} \;
You need a "\" before the "*", because there's a single Java file in
sources/org/apache/batik that is getting matched by your glob there.
You can find some more hits by broadening the regular expression too:
$ find . -name \*.java -exec egrep -li current_?color {} \;
./anim/values/AnimatablePaintValue.java
./css/dom/CSSOMSVGColor.java
./css/dom/CSSOMSVGPaint.java
./css/engine/value/svg/SVGColorManager.java
./css/engine/value/svg/SVGValueConstants.java
./util/CSSConstants.java
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org