hello, I have an svg of a autocad floorplan drawing. I need to "extract" the elements within a bounding rectangle which would entail slicing lines and polys that are in the rectangle but run over the edges of the bounding rectangle.
Any help for things to look at would be greatly appreciated, tia for example (illustration purposes only) there are 4 rects: A B C D bounding rect is 15x15, in reality this isn't really an svg element it is what is "visible" in the current window rect id='a' x='10' y='10' width='20' height='20' rect id='b' x='30' y='10' width='20' height='20' rect id='c' x='10' y='30' width='20' height='20' rect id='d' x='30' y='30' width='20' height='20' rect id='bounding' x='20' y='20' width='15' height='15' so what i would end up with is: rect id='a' x='20' y='20' w='10' h='10' rect id='b' x='30' y='20' w='5' h='10' rect id='c' x='20' y='30' width='10' height='5' rect id='d' x='30' y='30' width='5' height='5' but realize there will other objects (lines, circles, text etc) within this clipping/bounding rectangle that all need to create a new svg. ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

