Hi,

On 08/13/2013 05:32 PM, pang long wrote:
> Dear Klaas
>    I'm sorry to reply you lately.
> ---------------------------------------------
> 0) My reply for your last mail
> ---------------------------------------------
> (a) static program analysis: I focus on alias analysis, concurrency
> analysis.

Not familiar with it.
> (b) My thought is svg + event handler for edges/nodes in wxArt2D. The
> output file format of my implemented analysis is .dot. I found graphviz
> can transform dot file into svg file. The /samples/canvas/split provide
> the event handler for mouse-over and click. These two events are enough
> for me. By wxArt2D, is it possible to draw svg and then provide these
> event handler? (I'm reading your sample code)

You might be able to read the SVG,. The SVG parser is for simple SVG files. And 
i think graphiz SVG 
output is not that complex.
SVG would only provide you with simple primitives. WxArt2D would not know what 
objects are in the 
SVG file.
Events in SVG i have no knowledge of, so are not part of the input parser.
I think you best write an input parser for .dot files, directly transferring 
them into proper 
a2dCanvasObjects, fit to do the job.
Mail me a simple dot file, to know what is best.

>     Now, Robopro is too complex for me. Maybe later I will study it.

In that case look at the wires example.

> ----------------------------------------------
> 1) svn reversion conflicts at sourceforge.
> ----------------------------------------------
>    In your http://www.wxart2d.org/moin/UbuntuInstall, the svn reversion
> is only 480. Meanwhile, from  http://sourceforge.net/projects/wxart2d/,
> I found another link http://svn.code.sf.net/p/wxart2d/code/trunk. Its
> svn reversion is 612 (2013-08-10).

Oke, you need the new position, did not know the old one is still there.
Will correct it.

> (My experience: Today, I found that I only had built the wxdocview and
> forgotten wxArt2D. During building wxart2d, it failed at linking. Then I
> I read carefully again your first reply. I found that the svn version
> was quite old.)

Oke, it seems you succeeded.

> ----------------------------------------------
> 2) some samples fail to run
> ----------------------------------------------
> I have export WXART2D=/usr/local/share/wxart2d.

Must be:

export WXART2D=/home/me/mywork/sca/editor/wxart2d-code/wxArt2D/packages/wxart2d

The bitmaps down here, are found via that directory.
I am not sure they are installed in:
/usr/local/share/wxart2d

Maybe that is a better idea indeed.

>
> (a)/samples/curves/curtuto1$ ./sample_curves_curtuto1
> ../wxWidgets-2.9.5/src/gtk/window.cpp(4528): assert "sb" failed in
> SetScrollbar(): this window is not scrollable

Will fix it, it is a matter of style flag to add.

>
> (b)samples/editor/wires$ ./sample_editor_wires
> /home/me/mywork/sca/editor/wxart2d-code/wxArt2D/packages/wxdocview/docview/src/docviewref.cpp(2795):
>  assert "cmdId.GetBitmap().Ok()" failed in AddCmdToToolbar(): No Bitmap for 
> a2dToolCmd found for:CmdMenu_Selected_CameleonSymbol
>
> ../wxWidgets-2.9.5/src/gtk/toolbar.cpp(262): assert "bitmap.IsOk()"
> failed in SetImage(): invalid bitmap for wxToolBar icon
>
> /home/me/mywork/sca/editor/wxart2d-code/wxArt2D/packages/wxdocview/docview/src/docviewref.cpp(2795):
>  assert "cmdId.GetBitmap().Ok()" failed in AddCmdToToolbar(): No Bitmap for 
> a2dToolCmd found for:CmdMenu_Selected_CameleonDiagram
>
> ../wxWidgets-2.9.5/src/gtk/toolbar.cpp(262): assert "bitmap.IsOk()"
> failed in SetImage(): invalid bitmap for wxToolBar icon
>
>
Regards,

Klaas

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to