in reply to Re: SVG manipulation
in thread SVG manipulation

Nice program. It is however not what i'm looking for.

Maybe a little more explanation about my problem. Suppose I have in my database an application component with 6 business object and another application component with 3 business objects inside.

I'm trying to generate an image that will display 2 application components. The first will be bigger and containing 2 rows of 3 business objects. The second will have 1 row of 3 business objects.

To generate the image, I want to take a svg image representing the business object and copy it six times in on a grid. Next I will take the svg image representing the application component, stretch it so its boundaries are bigger then the grid of the six business objects and past the six objects inside.

I hope the svg manipulation would simplify the construction of the drawing. To construct the image using png parts is possible but cumbersome and not easily maintainable if they suddenly want another symbol.

Nevertheless the program you suggested is nice to know. At many other occasions I wished I had something like that. And now I have :)

Kind regards

Martell

Replies are listed 'Best First'.
Re^3: SVG manipulation
by zentara (Cardinal) on Apr 29, 2011 at 17:54 UTC
    After reading what you are trying to do, my first thought is to use a Canvas type widget, since you are talking about resizing components. For instance, a Tk Canvas, and all other Canvas type widgets, will let you programmically draw and resize widgets, and the advanced Canvases will let you zoom, as in Tk::Zinc.

    Anyways, a Tk canvas will let you construct your custom gridwork, fill it in with appropriately scaled fonts, and export the whole thing as a pdf. See Tk Patio/Office layout designer for example.

    However, if this is running on a server, Canvases need an X server, so it may not be useful to you.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh