On 09.12.2005 16:00:26 Peter B. West wrote: > Thanks for that. I have tried OpenOffice Draw, exporting to SVG, but > Gimp doesn't like the result (it complains that no image size is specified.)
This is the raw SVG I get from Inkscape for a rounded rect. I'd play a little with the values there, maybe add a viewBox to handle the scaling more gracefully. <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.0" x="0.00000000" y="0.00000000" width="177.16536" height="106.29921" id="svg2"> <defs id="defs4" /> <g id="layer1"> <rect width="175.98994" height="105.60208" rx="18.889824" ry="18.889824" x="0.87562227" y="0.31807843" style="fill:none;fill-opacity:1.0000000;stroke:#18a118;stroke-opacity:1.0000000" id="rect1306" /> </g> </svg> > In practiavl terms, do I need a border around the border-line I am > drawing, so that I must make the target are a little larger to > accomodate the border, or can I drwa to the edge of the image area? > Does this depend on the tool? In FOP 0.90 I'd use a non-absolute block-container with specified extents and some padding. For 0.20.5 this might be a bit harder, but basically you should make the target a little larger than the contents so they don't overlap (by use of padding or invisible borders). HTH > Peter > > Jeremias Maerki wrote: > > SVG images work nicely as background images. Just use a tool like Adobe > > Illustrator, CorelDraw or even Inkscape to create the SVG with a rounded > > rectangle. The only problem is that you need to know the exact size of > > the rectangle beforehand as you can't scale background images. Some > > manual tweaking of the SVG might even get you some more flexibility so > > that you could simply reuse the SVG by only having to adjust the size of > > the image. > > > > On 09.12.2005 11:03:52 Peter B. West wrote: > > > >>I need to draw a rounded rectangle around an area on a document. > >>Setting the background-image property seems to be the way to go. What > >>tools are best for generating the image? Background-image limits me > >>pretty severely in what I can specify. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
