Example #1
0
func (v *Context) SetFontSize(size float64) {
	C.cairo_set_font_size(v.native(), C.double(size))
}
Example #2
0
func (self *Surface) SetFontSize(size float64) {
	C.cairo_set_font_size(self.context, C.double(size))
}
Example #3
0
//SetFontSize sets the current font matrix to a scale by a factor of size,
//replacing any font matrix previously set with SetFontSize or SetFontMatrix.
//
//Originally cairo_set_font_size.
func (c *Context) SetFontSize(size float64) *Context {
	C.cairo_set_font_size(c.c, C.double(size))
	return c
}