In the page I'm working on, when the user clicks on an object, one SVG group rotates out of the way while another rotates in.
The code as it is works just fine in WebKit, but it isn't working at all in Gecko. Here is the block of code that is not being executed by Gecko:
var totStep = dur*2/msrate, step=0;
window.timer = window.setInte...
Thats the question, how show images in the desktop, no images in a windows, something like screenlets, but I don wan't to use plasma, i'm using linux.
Yes, I want to do a simple widget engine, with pyqt and svg.
...
I'm working on a project in PHP that needs to render dynamically-created SVG images to PNG (or GIF if not PNG) format. I know I can do this by invoking a SVG renderer like rsvg, or with an extension like ImageMagick, which isn't that common*.
Is there a "drop-in" style library that can render SVG using things like GD and DomDocument?
...
googled but cant be found ...
...
I have written a Java Servlet that retrieves a SVG image. The content type for this servlet is CONTENT_TYPE = "image/svg+xml";
This certain servlet is being integrated in a bigger (ADF11g) application as an inlineframe. The code should look familiar, if you are accustomed with JSP:
<af:inlineFrame source="servlet?Filename=TestSVG1&...
I have noticed that there is no document.write in SVG.
Currently I'm looking for a similar function .
Unfortunatley I couldn't find a website that lists all the functions related or supported by the SVG DOM (for eg. related to the document object).
Do you know any online resources where I can find SVG documentation, especially relat...
I read while googling that svg was "dead". Altough i disagree, could anyone tell me more/future vector based format to represent 2d/3d graphics?
What about VML?
What format should i use to represent 2d graphics on Web? and 3d?
I playing around with graphics on web and ill like to know if im working with an obsolete one.
Thanks!
...
Is it possible to specify that as SVG image should produce output in CMYK? If so, is it a big task? What if the image has its colours specified in RGB, is it difficult to convert them to CMYK?
...
As part of a hackweek project for visualising the number of people at London Tube stations, we have an SVG image linked to with a standard tag in HTML. This svg file is generated by PHP, and includes an tag importing the tube map and some tags. When viewed directly, this works fine. However, when viewing the HTML page containing the S...
I have a website depending on vector drawing, for internet explorer i'm using VML and for other browsers i'm using SVG.
IE8 however, doesn't have support for neither without falling back to IE7-mode which has VML.
Therefore i'm including <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />.
The problem (well, actually a good t...
Given a set of floorplans (in Autocad, svg, or whatever format need be...), I would like to programatically generate directions from point A to point B. Basically I would like to say: "How do I get from room 101 to room 143?" (or for triple bonus points, from room 101 to room 323). Anyone have any ideas how to go about this? I am pre...
I'm doing a bit of a pedagogical exercise, converting XML to SVG with XSLT, Javascript and Raphael. I'm sure it's the hard way...but it's educational.
The problem I've run into is creating tooltips. So far, I've found three ways to do this:
The first way is to use .attr({title: "blah"{) on an object. This works, but it's not supported...
What a proper way to do a gradient like this? I tried this SVG:
<linearGradient id="hue" x1="0" y1="1" x2="0" y2="0">
<stop offset="0%" stop-color="#ff0000"/>
<stop offset="17%" stop-color="#ffff00"/>
<stop offset="34%" stop-color="#00ff00"/>
<stop offset="50%" stop-color="#00ffff"/>
<stop offset="66%" stop-color="...
I'd like to create a SVG overlay over my webpage
using "z-index:1000" and make this overlay transparent
to mouse events. However right now if I create a SVG object at absolute
position using i.e. this call:
r = Raphael(0,0,150,150);
r.path("M0 0L150 150").attr('cursor','crosshair');
$(r.canvas).css({'z-index':1000, 'position':'absolute...
I have an SVG file within an object tag displaying in a table cell,and I want to make the SVG draggable within the table cell using JQuery's Draggable. The code--minus the confusing bits in the tag, looks like this:
<div id="container">
<div id="box">
<table align="center" border="1">
<tr>
<td valign="middle">button</...
So I've found a script which seems to do just that , but it zooms a <g> that wraps whole svg contents by applying a transformation matrix to it (though it doesn't zoom in Opera because of sniffing). Wrapping all lements in a <g> is not an option because I'm making an image viewer and different files may be loaded.
Setting transform="m...
hi,
I wrote python application using svg images as icons.
QtGui.QIcon(':icons/icon.svg') <- just like this
it works on my comuter but after compiling it with py2exe and running on another computer, theres no icons.
if i try e.g. bmp format, all works fine. so i think it could be some library problem.
I don't know what PyQt4 uses for s...
How can I copy a path or a group out of an SVG-document loaded to the DOM with http://keith-wood.name/svg.html into a new SVG?
I want to show thumbnails of the different elements.. every element got its own id, I tried the add-method but nothing happens.
Anyone got an idea?
...
I am trying to calculate the correct mouse coordinates, in user coordinate space, in an SVG document from within Javascript code when scrollbars come into existence when that SVG file is viewed from within FireFox. But it is not quite correct. This is needed to get SVG-based tooltips drawn correctly even when the SVG is scrolled horizont...
Hi I have an svg file that contains several elements (like path, circles, rectangles, etc..).
I'd like to convert that svg file to an svg with embedded base64 data instead of multiple elements. is it possible to do that with batik? The project I'm working on requires I use Java libraries only.
Thanks.
...