not sure if i fully get your intentions, but try subtracting the rounded rectangle path from the white background (via Path-Difference), this should get the layer underneath visible only on the region you just subtracted.
For the stroke, your best bet is to duplicate the rectangle beforehand and have it stroked with no fill.
hth! :r
Paul Bolger wrote:
I've been trying to work out how to produce a mask, to be used for compositing an image with ImageMagick by a CMS.
What I need is a white background and a rounded border (with a stroke of one or two pixels), then with the middle punched out so an image on the layer below shows through the hole. I've tried making three layers, one solid white, one with a rounded rectangle with rounded corners with a transparent fill, and a copy of the previous with no stroke but with a solid fill, and tried various combinations of 'mask' and 'clip' but I can't seem to find it.
Can someone help me before I resort to chucking it into Photoshop and cheating?
Paul Bolger
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user