parameters: (self, cosA, sinA)
docstring: Compute the (text only) rotation angle
              sinA is inverted to cancel the original inversion in
              pdfviewer.drawfile that was introduced because of the difference
              in y direction between pdf and GraphicsContext co-ordinates
docstring_summary: Compute the (text only) rotation angle
              sinA is inverted to cancel the original inversion in
              pdfviewer.drawfile that was introduced because of the difference
              in y direction between pdf and GraphicsContext co-ordinates
docstring_tokens: Compute the ( text only ) rotation angle sinA is inverted to cancel the original inversion in pdfviewer . drawfile that was introduced because of the difference in y direction between pdf and GraphicsContext co - ordinates
function: def Rotate(self, cosA, sinA):
          """ Compute the (text only) rotation angle
              sinA is inverted to cancel the original inversion in
              pdfviewer.drawfile that was introduced because of the difference
              in y direction between pdf and GraphicsContext co-ordinates
          """
          self.cosA = cosA
          self.sinA = sinA
          self.rotDegrees += asin(-self.sinA) * 180 / pi
function_tokens: def Rotate ( self , cosA , sinA ) : self . cosA = cosA self . sinA = sinA self . rotDegrees += asin ( - self . sinA ) * 180 / pi