What is the easiest arithmetic to get the 168px distance marked in red in the rectangle based on a square which is 340px width x 577px height and rotated 45 deg ?
I came to the solution: 168px doing the following calculation:
(577px / square root of 2) - (340px / square root of 2) = 168px
Is there a simpler way to get this value?
