In html i have two figures, inner is transformed with css-transform/matrixbut it dimensions stays the samei need to calculate dimensions of the figure with dotted line
Original figure is 300px width and 150px height, transform matrix is (0.8, -0.6, 0.6, 0.8, 0, 0) or it is angle ~ -37