Has anyone ever used SVG for image sprites? I wish to replace a bunch of very similar GIFs and JPGs with some scalable SVG images, but the image gradient and button shape specifications bloat out the SVG.
If I could create a composite diagram, then I might be able to reuse the gradients and base button shapes etc. I'm just not sure whe...
I built some shapes using Raphael, and now I wanted to put some text into them. But, it seems, from the examples, that a text node can only be attached to the paper and not svg shapes?
Is it possible to create multiple shapes with different text inside?
The example I was using was:
paper.text(50, 50, "Raphaël\nkicks\nbutt!");
...
We need to view some very large (7200+ pixels) SVGs. Every SVG viewer I've found, including modern web browsers, does not allow us to view the entire image. There aren't any scrollbars, and we do not have the option to zoom.
Is an open source / free application available that could help with viewing the entire SVG image? Thanks!
...
I have a JSVGCanvas object from the Batik library from java. In my application, I am rendering several objects in a schematic. I require to know what component is below the mouse so I can render an appropiate tooltip and description that I am rendering from an external source.
My question is, how can I determine what objects are below...
I'm developing a program that generates svg files based on choices the user makes. One of these choises is to include another svg file centered on a specific point in the first one. The second file has an unknown aspect ratio and size, but it should be scaled to a specific max size either as height or width, and should be centered on one...
Just wondering if anybody has come across a tool or anything to make the process easier of converting VML to SVG or some other modern format (Silverlight, flash).
I'm dealing with some legacy VML browser renderings and I'd like to make it cross browser compatible. Right now the vml is being generated on the server side.
Would also be ...
I am working with a library that renders part of its state as an SVG document.
I would like to render this in either a Winforms or a WPF environment. Is there currently a way to do this?
If not, I could modify the library to use a more general rendering strategy, and then add an XML adapter to restore the original functionality, but t...
I have some corel files and i should develop a .NET application which uses exactly these corel designs as its Forms. There exist some part of these designs which change by user interaction,i mean this should be possible to attach an event listener to some part of these graphics.I exporetd those files in SVG format,but corelDraw changes a...
I'm looking for a component to render SVG files in .Net Compact Framework (preferably 2.0) with the possibility to rotate and scale the image.
DXF would also be an alternative but SVG would be preferred.
Does anyone know of a component able to do this? Or have any recommendation on how to implement it?
At the moment I'm leaning toward ...
Hi,
I'm trying to use SVG graphics in QIcons. I have a static library that contains all my graphics resources, and a method in that static library that returns QIcons pre-loaded with the correct graphics. I'm trying to do this:
QIcon icon(":/icons/find.svg");
I have verified that that resources has been loaded by listing it with QDir...
I have SVG files, which I'd like to:
export and use as custom ground overlay with flat Euclidean projection (econym.org.uk/gmap/example_custommapflat.htm).
take only polygons and project them on Google Map
My SVG files have some rules in common:
they all are 4096x4096px
main objects of the map are centered
I have done some experi...
I have a simple SVG drawing with an animation. What I have is two objects moving in a circle around a common center, with different rotation rates. I want to draw a line connecting the two objects.
The SVG drawing is as follows:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<circle cx="200"...
I am making a SVG renderer for Windows using the Windows API and GDI+. SVG allows setting the 'fill' and 'stroke' style attributes on a Path. I am having some difficulty with the implementation of the 'fill' attribute.
The following path represents a spiral:
<svg:path style="fill:yellow;stroke:blue;stroke-width:2"
d="...
This is a bit of a vague notion which I have been running over in my head, and which I am very curious if there is an elegant method of solving. Perhaps it should be taken as a thought experiment.
Imagine you have an XML schema with a corresponding XSL transform, which renders the XML as SVG in the browser. The XSL generates SVG with ...
Does Air supports SVG and if it not possible is there another way to event sensitive graphics draw via JavaScript.
...
We want to show a dynamic text (ttf font, or similar) in a generated vector image (svg, pdf) and it should be bended similar like the names on a football shirt. Is there any command line tool or other possibility to do that? It is important that it is a vector graphic since the output will be printed on cloths!
Thanks a million.
...
Hello,
I'd like to generate an SVG file using C#. I already have code to draw them in PNG and EMF formats (using framework's standard class System.Drawing.Imaging.Metafile and ZedGraph). What could you recommend to do to adapt that code to SVG? Preferably I'd like to find some library (free or not) that would mimic System.Drawing.Graphi...
Hello, I have the following SVG code in a XHTML page
<svg:svg>
<svg:svg width="450" heigth="450" viewBox="0 0 500 500">
<svg:defs>
<svg:g id='mygroup'>
<svg:circle id='a' cx="15" cy="15" r='15' fill="green" fill-opacity="0.3"/>
<svg:line id='b' x1="15" y1="15" x2="15" y2="0" style="stroke: black;" /...
I am working on an animated, interactive graph using raphael that I need to work well on the iPhone. I have 2 minor rendering issues that I'm struggling with.
The first is that whenever you click on an svg element that has a click handler attached, mobile safari draws a transparent gray box around it to indicate what was clicked. It's t...
I need to make a very simple drawing of a graph (NOT a chart but a graph, like in Dijkstra) with multiple nodes and multiple vertexes.
I once saw this guy using a tool where he wrote the data in notepad then compiled or something and then he had an svg to view in a browser - to me this should be the simplest tool to draw this graph in. ...