Hi Karol,

You need to add the Canvas widget (qx.ui.embed.Canvas) to your 
application and then use it's getContext2d method to obtain a reference 
to it's drawing context. Once you have that reference it's exactly the 
same as you would do without qooxdoo.

I created a playground example to demonstrate how you would draw a 
line:  http://tinyurl.com/4vvexj9

Marc


On 03/22/2011 11:17 AM, grykar wrote:
> Hi
>
>
> is it possible to draw line on canva in qooxdoo using HTML5.
>
>
> It is easy in HTML5 see example below but don't know how to do that in
> qooxdoo
>
> Thanks,
>     Karol
>
> <!DOCTYPE HTML>
>
>
>


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to