Hi, I'm trying to rotate a Rectangle I have drawn in Cairo.

I am trying to make the window have a custom shape using the
Code:
self.window.shape_combine_mask()
But I can do that. I want to rotate the window by creating a slightly slanted rectangle in cairo.