Declan McMullen wrote: > Hello, > > Im working on some authoring software for a system. I need to be able > to import > an svg image, mark out specific regions on it and attach appropriate > text information to those regions. > > What I plan to do is import the image as svg, and scale it to fit > inside a panel, I then plan to make > a transparent svg image of the same size and place it over the > imported image. Using the mouse I will > mark regions or shapes on top of the imported image by drawing them > onto the image on top. Then when > I want to scale the image I can scale both images thus keeping them in > sync. I can then use svg hit testing > in order to find the marked regions during delivery. > > Is wxart2d capable of supporting this behaviour? It needs to be able > to import an svg image, draw an svg image > on top and hit test the drawn elements of the top image in order to > attach layers of information. The wxwidgets > list suggested it would do the job but I wanted to be sure before I > started to hack my software to user this approach. As i said yes, but it is not simple to use wxArt2D, it is a framework, and not some components.
> > Additionally I've been having a problem compiling wxart2d on both > windows and linux mkdir buildart2d cd buildart2d ccmake ../wxArt2d Next in there enable Unicode option, because that is the only one you compiled. wxArt2D needs to know what type of wxWidgets compilation you want to use, and if not found that one, it will give an error, and not choose itself, But better compile wxWidgets with static, debug, opengl. That is the best for debugging. Why you use --disable-std_iostreams? > > On ubuntu my wxwidgets config is: > > ./configure --disable-std_iostreams --enable-shared --disable-static > --enable-debug --enable-unicode --enable-mediactrl --enable-graphics_ctx > > I have wx-config in my path but im getting the following from cmake: > > /home/declan/Programming/lib/wxArt2D/bin/FindwxWidgets.cmake(850): > --version=Warning: No config found to match: > /home/declan/Programming/lib/wxGTK-2.8/linux-debug/wx-config > --toolkit=gtk2 --static=yes --unicode=no --debug=yes --version > --toolkit=gtk2 --static=yes --unicode=no --debug=yes > > failed. The default configuration found with: > /home/declan/Programming/lib/wxGTK-2.8.7/linux-debug/wx-config > --selected_config ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev