dojox.gfx

dojox.gfx bounding box for Text and Group nodes

The documentation for getBoundingBox() in dojo says: Returns a bounding box of a shape. A text shape is a point-based object, so it doesn't define a bounding box. I don't get it. Any sane implementation of vector graphics for the web includes bounding box for text objects (raphaelJS and jQuery SVG that is)! What does "a point b...

Extending dojo.gfx.Group with default instanciated shapes

I'm attempting to create some simple UI components with dojo.gfx. I've managed to extend dojo.gfx.Group, but am out of my depth getting any of the default shapes drawn to the surface. Inspecting the rendered SVG in Firebug, there's rightfully a node but no rect. The simplified class looks like this: dojo.provide("gfxui.SimpleButton")...

Dojo 1.4 - IE 8 dojox.charting label not shown -> dojox.gfx

Hey guys, I have a problem concerning dojox.charting, after updating to the new version of dojo IE 8 doesn't show the labels of my charts anymore. Seems to be a dojox.gfx text problem. See with IE8: http://download.dojotoolkit.org/release-1.4.0/dojo-release-1.4.0/dojox/gfx/tests/test_text.html Any idea how to fix that? Cheers -jstr ...

dojox.gfx and shape filters

Hello, I've been successfully using dojox.gfx with SVG renderer to render my graphics in a browser-independent way. I know that on of the main reasons why SVG-style filters have not been implemented in dojox.gfx is because they are not part of the Canvas and VML specification. What I am trying to achieve is apply some effects to my d...

dijit.Menu and dojox.gfx.surface don't seem to work together.

Has anybody tried to use the dijit.Menu and dojox.gfx together. When I try to attach a dijit.Menu to a dojox.gfx.Image I can only see the words and not the menu. ...

is there a way to query dojox.gfx shapes/groups and children

I have a surface consisting of groups filled with shapes. The groups are all generated from JSON and can be very dynamic. In the processing of the application I need to find a group on the surface (which I can do) then change the shape (appear/dissapper, change color etc) of one shape in the group. Is there any way I can put a tag or c...

RaphaëlJS, dojo.gfx, JSXgraph comparison

I'm going to build a simple math graph for a browser application. Therefore all the JS-Vector Libraries might work out well. But I want to know about any experiences you collected using those. For me a basic feature is binding events to paths and points as well as animating paths. Additionally I am thinking how they are mastering the fu...

dojox.drawing.Drawing - custom tool to create rectangle with rounded corners

I'm working with dojox.drawing.Drawing to create a simple diagramming tool. I have created a custom tool to draw rounded rectangle by extending dojox.drawing.tools.Rect as shown below - dojo.provide("dojox.drawing.tools.custom.RoundedRect"); dojo.require("dojox.drawing.tools.Rect"); dojox.drawing.tools.custom.RoundedRect = dojox.drawin...