func (self *Surface) Scale(sx, sy float64) { C.cairo_scale(self.context, C.double(sx), C.double(sy)) }
// Scale is a wrapper around cairo_scale. func (v *Context) Scale(sx, sy float64) { C.cairo_scale(v.native(), C.double(sx), C.double(sy)) }
//Scale scales the current transformation matrix by v by scaling the user-space //axes by v.X and v.Y. //The scaling of the axes takes place after any existing transformation //of user space. // //Originally cairo_scale. func (c *Context) Scale(v Point) *Context { x, y := v.c() C.cairo_scale(c.c, x, y) return c }
func (c CairoContext) Scale(x, y float64) error { C.cairo_scale(c.nativePointer(), C.double(x), C.double(y)) return c.status() }
// Scale s a wrapper around cairo_scale(). func (v *Context) Scale(x, y float64) { C.cairo_scale(v.native(), C.double(x), C.double(y)) }