Pablo

viewbox()

Get an array that represents the four values of an <svg> element’s viewBox attribute: min-x, min-y, width and height.

Pablo(demoElement).load('/rocket.svg', function(rocket){
    alert(rocket.viewbox());
});

viewbox(values)

Set an <svg> element’s viewbox attribute with an array of the values min-x, min-y, width and height. This can be used to zoom in and crop an image.

Pablo(demoElement).load('/rocket.svg', function(rocket){
    rocket.viewbox([100, 40, 30, 50]);
});
Painting is just another way of keeping a diary.
Pablo Picasso