I've done that. It depends if you need to trap the events on the underlying area or the topmost layer, or both. I use 2 SVG areas, the topmost area visible depending on the current hover object on the underlying area.
On Fri, Aug 3, 2018 at 9:45 PM, John J Foster via 4D_Tech < [email protected]> wrote: > Hi All, > > Just brainstorming right now. > > Have you’ve seen the way the new windows tablets can set a mode and draw > over the image on the screen? Kind of funny since I have bene planning a > module functionally similar to work on the Mac. I need it for a training > app and essentially a markup over an SVG image that can then be created, > saved, restored or deleted. > > I am in 4D v17 (cross-platform Mac and windows) and working in SVG. > > I am wondering how I will design it. > > Scenario one: I suppose I could just alter the SVG image and add the > annoiations to it. That would work but I’d need to make sure that none fo > the underlying image could be altered while it’s in this annotation kode. > > Scenario two: maybe there could be two SVG images with one aligned > transparently on top pof the other. I guess it’s more like layers but I’m > not sure we can do that in SVG, can we? > > I will then build a series of objct that can be used for annotation: > > rectangles, circles, line with/without arro heads; text etc. > > Anyway, perhaps it’s as simpel as the first scenario I mentioned. > > Anyone ever created anything similar? > > Thanks, > John… > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- Jim Dorrance [email protected] [email protected] www.4d.dorrance.eu PS: If you know of anyone that needs an experienced 4D programmer to add energy and experience to their team, please let me know. I have experience in many areas. Reasonable rates. Remote or Paris only. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

