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.

Additionally I've been having a problem compiling wxart2d on both windows
and linux

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

                       is the following: gtk2-unicode-debug-2.8
/home/declan/Programming/lib/wxArt2D/bin/FindwxWidgets.cmake(874):
/home/declan/Programming/lib/wxGTK-2.8.7/linux-debug/wx-config
--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 --cxxflags FAILED with RET=1
/home/declan/Programming/lib/wxArt2D/bin/FindwxWidgets.cmake(907):
/home/declan/Programming/lib/wxGTK-2.8.7/linux-debug/wx-config
--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 --libs gl,aui,stc,qa,xrc,html,adv,xml,net,core,base
FAILED with RET=1
CMake Error: wxWidgets required, please specify it's location.
-- Configuring done

I'm confused as to now its getting my compile information from wx-config but
then cant see the library for compilation.

On windows the setup stage went fine and it create a visual c++ project, but
when i tried to compile it practically every items in the solution threw up
bugs of one kind or another.

Hopefully someone might be able to point me in the right direction?

Many thanks for your time






-- 
http://www.computing.dcu.ie/~dmcmullen
[EMAIL PROTECTED]
School of Computing
Postgrad Bay A
-------------------------------------------------------------------------
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

Reply via email to