Hi Lukasz, "Lukasz.Wroczynski" <[EMAIL PROTECTED]> wrote on 10/24/2008 10:04:11 AM:
> Update: The problem occurs also if I am loading the SVG for the first time > into a newly created JSVGCanvas. So it must be caused by calling > setRenderingTransform in the 'GVT Build Completed' handler. Is there any > other (safe) way to set the transform for the SVG so it is used for the > first display? Yes, the best way to do that is to override the 'computeRenderingTransform()' method on the JSVGComponent. Some care should be taken to emulate the behavior of the baseclass (in particular the initalTransform should probably still be set to the identity transform but I would suggest using your desired rendering transform in the initialTransform's place for the rest of the function). The whole purpose of the computeRenderingTransform function is to establish the inital rendering transform when a document is loaded.
