Re-calculates the transformation matrices and update the view layout.
ImageViewer.prototype.updateTransform = function()
This method is called internally by the viewer when the transformation matrices used to place and render the view and items need to be updated. For example when a new item is added to Items, when Zoom is called or when the size of the viewer is changed among many more cases.
Inside this method, the viewer will perform the following:
All the transformation matrices for the view and the items are updated. This includes the view matrix stored in ViewTransform and as well the item various matrices which can be obtained using GetItemTransform or GetItemImageTransform.
Try to raise the TransformChanged event
Invalidates the view area and start a new render cycle to update the surface with the new view and items.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries