Login Register

GFX

documentation on dojox.gfx architecture?

Hi, I'm currently working on a research project that involves comparing different architectures of computer vector graphic systems, and I was hoping to find some high-level documentation on the design of dojox.gfx. Something along the lines of a UML class diagram would be fantastic. I would greatly appreciate it if someone could let me know if something like this exists, and if so, point me toward it.
Thanks for your time,

Jake

gfx in floating pane - text not shown in MS Internet Explorer

Hi everyone,

i'm developing a timeline-widget for my bachelor's thesis. The widget creates a Floating Pane with a timeline as content. The gfx-text is not shown in Internet Explorer. Other browsers like Firefox and Safari are showing the text. Objects created with "createRect" and "createLine" are shown in all browsers.

If the timeline (graphics and text) is displayed without the floating pane everything is shown.

Here is a demo of my widget

Sections of the code

Another optimization...

Hi Dojoers,

It seems optimization is my friend in this project with Dojo... This time I would like to share my idea about what I did (mainly optimization both design and implementation) for couple days. As remainder, I am doing the gfx library enhancement, where real time processing is needed hence a fast and robust implementation plays cruical part in here...

This idea is inspired from programming language called Haskell. This cute programming language is kind of late processing, where any calculation/procession will not be called unless it is needed for example, you say:

SoC Introduction: GFX Enhancement

"Ciao" / "Grüezi" / "Hola" / Hello! I am excited with my first world-wide open source project so trying to greeting in many languages! Firstly, let me introduce myself, I am Robert (Robertus Harmawan Johansyah for full name). About the project, I am contributing for GFX library in DOJO Toolkit, 3 dimension graphics in web is getting hot at the moment so we shall not let DOJO be getting behind!

Capturing hits on irregular shape using gfx

I would like to use gfx to detect hits on irregular shapes. I had it working by just connecting an onclick handler to the shapes, but I also need to drag a "pushpin" around, and I found that I needed to use Mover and Moveable for that. The "pushpin" knows what data to associate with the irregular shape.

Is there a way to detect what irregular shape the pushpin is over when the /gfx/move/stop action is fired?

Thanks,
-Al

GFX Mover vs Moveable

Can anyone elaborate on the difference between dojox.gfx.Mover and dojox.gfx.Moveable?

GFX Drawing issues in IE

I'm trying to create a tool that draws a custom-shaped Rubber Bound box on top of an image (in this case, a map projection). The functions that allow the calculations work, and I'm able to create the PolyLine just fine. However, in Internet Explorer, it behaves incorrectly: If there are any "negative" points, they seem to be shoved so that the drawing is flush with the left and/or top edges of the canvas; in other words, drawing off of the left and/or top edges of the canvas seem to not work, although drawing off the right and top edges works fine.

GFX Group in IE works strange

I found that grouping in IE works not very well. I've got everything perfect in FireFox, but IE makes me nuts!

question about getBoundingBox() in dojox.gfx spec

Hello,
The dojox.gfx spec is a bit ambiguous about this method:

getBoundingBox() returns a bounding box of a shape. A text shape is a point-based object, so it doesn't define a bounding box.
[from http://docs.google.com/View?docid=d764479_1hnb2tn]

In the SVG spec, applying a transform to an SVG element moves the element into its own user space, and getBBox() will return its bbox in userspace. To get the bbox in screen space, it is necessary to call getScreenCTM(), and apply the returned transformation to the userspace bbox.

seeking nontrivial example of dojox.gfx application

Hello,

I am currently considering incorporating dojox.gfx into a research project. The motivation for using gfx is that it claims to support about as much SVG as my project will require, and, by using gfx, we would theoretically get IE support "for free". However, before I make this decision, I was hoping to see a nontrivial sample application that makes use of dojox.gfx. Correct me if I'm wrong, but there don't seem to be any demos of gfx on the dojo demo page (http://www.dojotoolkit.org/demos).

I'd appreciate any guidance anyone can offer. Thanks.

Jake

Syndicate content