Sorry, there is also this: SVG_SCALING_CENTERED ( svgObject ; scale {; x ; y} ) http://doc.4d.com/4Dv16/4D/16/SVG-SCALING-CENTERED.301-3202422.en.html
Keith - CDI > On Sep 19, 2017, at 11:03 AM, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > I am looking for a very quick way to scale a SVG object (circle, rect etc.) > but not move the center of the object. > > I use: > > *DOM SET XML ATTRIBUTE*($tObjectRef;"transform";"scale(2)") > > > And of course, the object is moved xy*2 > > > Any ideas how to scale on object but not its position on the cancas. > > > Thanks > > Jim > > -- > Jim Dorrance > jim.dorra...@gmail.com > 4...@dorrance.eu > 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) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************