Re: SVG image usage?

2013-10-29 Thread Ed Bras
Why?
According to this it's possible:
http://css-tricks.com/using-svg/
(I am doing it and works).

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SVG image usage?

2013-10-29 Thread Philippe Lhoste

On 20/10/2013 19:04, Ed Bras wrote:

So I should just include them as background image directly in the css file?


I can be wrong, but I think SVG images cannot be used as CSS background images.
They have to be displayed as regular images, by specific widgets.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SVG image usage?

2013-10-20 Thread Ed
I included the svg image as a data uri as background image (small image). 
Is that the way to go?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SVG image usage?

2013-10-20 Thread Ed Bras
So I should just include them as background image directly in the css file?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


SVG image usage?

2013-10-20 Thread Patrick Tucker
I don't think image sprinting makes sense for svg images.  Under the covers 
they are just XML.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


SVG image usage?

2013-10-19 Thread Ed
How can I include a SVG image in a ClientBundle?

In this forum 
post
 they 
include it as a DataResource, but I would like to use the svg image in my 
css through which I don't think is possible if it's a DataResource.
Example:  "gwt-image: "myImage" such that spriting occurs (if applicable 
for svg).

Or is there a more easy way to use the DataResource in my css that I am not 
seeing ?
Or might it be possible to add an ImageReader such that  it can handle SVG 
images?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.