Beispiel #1
0
// Sets the spacing between characters in text.
func (dw *DrawingWand) SetTextKerning(kerning float64) {
	C.DrawSetTextKerning(dw.dw, C.double(kerning))
}
Beispiel #2
0
// Sets canvas' default text antialiasing option.
func (self *Canvas) SetTextKerning(k float64) {
	self.text.Kerning = k
	C.DrawSetTextKerning(self.drawing, C.double(k))
}