I must be confused about how this works. I have some SVG files I want to
use to create button icons. These are nice, simple, native SVG. I want to
manipulate them using SVG. I can open a file and export it to a pic
variable just fine. But I'm not able to put that object into a new svg.
For example:
$svgImg:=SVG_Open_file ($path+$aDocs{$n})
$svg:=SVG_Copy ($svgImg)
$pic1:=SVG_Export_to_picture ($svg;0)
SVG_CLEAR ($svg)
This works as expected.
$svg:=SVG_New
$newObj:=SVG_Add_object ($svg;$svgImg)
$pic2:=SVG_Export_to_picture ($svg;0)
This doesn't work. $pic2 is blank even though $svg has received the new
object. I can see that by looking at $svg in the viewer.
What am I missing here?
--
Kirk Brooks
San Francisco, CA
=======================
*The only thing necessary for the triumph of evil is for good men to do
nothing.*
*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************