nl_tokens: Get the new sizes of a rectangle after rotated .
pl_tokens: function getRotatedSizes ( _ref5 ) { var width = _ref5 . width , height = _ref5 . height , degree = _ref5 . degree ; degree = Math . abs ( degree ) % 180 ; if ( degree === 90 ) { return { width : height , height : width } ; } var arc = degree % 90 * Math . PI / 180 ; var sinArc = Math . sin ( arc ) ; var cosArc = Math . cos ( arc ) ; var newWidth = width * cosArc + height * sinArc ; var newHeight = width * sinArc + height * cosArc ; return degree > 90 ? { width : newHeight , height : newWidth } : { <mask> : newWidth , height : newHeight } ; }