Hi Edu,

sounds like a cool project. I haven't done anything with SVG in qooxdoo 
yet, but it looks to me like the SVG contrib would be a good starting 
point. Check out the freedraw demo in particular if you haven't already, 
it shows how a user can create an SVG path in real time by clicking and 
dragging. The path data object has a toString method which I believe 
gives you the data you'd need to synchronize drawings across clients.

I'm not sure if synchronizing path data in real time (on mousemove) will 
be feasible, maybe it would be enough to use an interval for the 
synchronization (or maybe only send full paths on mouseup).


Regards,
Daniel

On 06/09/2011 04:31 PM, Eduard Gamonal wrote:
> Hi,
> I'm building an app in eyeOS to share a presentation created with
> openoffice. i'm using qooxdoo 1.3
> The most important use case is sharing doodles on a slide. The user
> draws something on a slide and other attendees will see it. A slide is a
> qx.basic.Image component.
>
> I was wondering if I could get some ideas from you to make this work
> with qooxdoo. I've found some old e-mails of people developing apps that
> use SVG somehow [1], but sometimes I can't figure out if they'll be
> useful for me and I have to read lots of documentation.
>
>   I think there are two subproblems: sending data in real time (so other
> users see how you draw your doodle) and the format of the data the user
> sends.
>
> For example, I thought about using  the canvas [2] element, but looks
> like it only supports one primite shape: rectangles.
> I could use SVG, to store the doodle. I don't really know how to capture
> the input. I'd like the user to draw freely on the screen. If I work
> this out, we may eventually build a GNU Paint like program made with
> qooxdoo, which is quite exciting.
> I've also seen Graffiti Markup Language, which also stores time
> information, but SVG looks widely used.
>
> simple put: I want to draw on top of a picture but I don't need to
> modify it.
>
> [1] http://qooxdoo.org/contrib/project/svg
>
> [2] https://developer.mozilla.org/en/Canvas_tutorial
>
> Edu
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to