Converts a transformation matrix relative to one item to another.
ImageViewer.prototype.convertTransform = function(transform, sourceItem, destinationItem)
convertTransform(transform: LeadMatrix, sourceItem: ImageViewerItem, destinationItem: ImageViewerItem): LeadMatrix;
transform
The transformation matrix to convert.
sourceItem
The source reference item.
destinationItem
The target reference item.
The converted transformation matrix.
This method is used by the ImageViewer in situations when a transformation matrix relative to an item need to be converted to be relative to another. For example, when the floater is dragged from one item and dropped to another, the ImageViewerItem.FloaterTransform value is converted using ConvertTransform to keep the original offset and scale values but relative to the new item.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET