Calculate pre scaling and replace current matrix.
(self, sx, sy)
| 8836 | return self |
| 8837 | |
| 8838 | def prescale(self, sx, sy): |
| 8839 | """Calculate pre scaling and replace current matrix.""" |
| 8840 | sx = float(sx) |
| 8841 | sy = float(sy) |
| 8842 | self.a *= sx |
| 8843 | self.b *= sx |
| 8844 | self.c *= sy |
| 8845 | self.d *= sy |
| 8846 | return self |
| 8847 | |
| 8848 | def preshear(self, h, v): |
| 8849 | """Calculate pre shearing and replace current matrix.""" |