Is events processing in dojox.gfx Surface supported by browsers other than Firefox 3?
Say, i have a variable named surface that is an instance of a gfx surface, i then listen to click events on it using
surface.connect("onclick",null,function(e){
console.debug("clicked on the surface");
});
It works in Firefox 3, but it doesn't...
Matrix transformations has got my head spinning. I've got a dojox.gfx.group which I want to be draggable with Mover and then be able to rotate it around a certain point on the surface. My basic code looks like this:
this.m = dojox.gfx.matrix,
.
.
.
updateMatrix: function(){
var mtx = this.group._getRealMatrix();
var trans_m = this....
Is there a way to serialize a Dojox GFX canvas as SVG?
I am looking for a way to save my Dojox GFX canvas contents in a way which can be exported as a graphics file (SVG, PNG, JPG, etc.) which could be easily saved or printed, and SVG seemed the most likely.
I found a reference to a function dojox.gfx.utils.toSvg, which looked perfect:...