func (self *Matrix) Translate(tx, ty float64) { C.cairo_matrix_translate(self.cairo_matrix_t(), C.double(tx), C.double(ty)) }
//Translate translates m by vector and returns itself. // //Originally cairo_matrix_translate. func (m Matrix) Translate(vector Point) Matrix { C.cairo_matrix_translate(&m.m, C.double(vector.X), C.double(vector.Y)) return m }