Function CanvasItem.getViewportTransform

Returns this item's transform in relation to the viewport.

Transform2D getViewportTransform() nothrow @nogc const;