'Applies a transformation matrix to the page.
:param tuple ctm: A 6-element tuple containing the operands of the
transformation matrix.'

def addTransformation(self, ctm):

    originalContent = self.getContents()
    if (originalContent is not None):
        newContent = PageObject._addTransformationMatrix(originalContent, self.pdf, ctm)
        newContent = PageObject._pushPopGS(newContent, self.pdf)
        self[NameObject('/Contents')] = newContent
