Beispiel #1
0
func (self *Canvas) SetFontSize(size float64) {
	C.MagickSetPointsize(self.wand, C.double(size))
}
Beispiel #2
0
// Sets the font pointsize associated with the MagickWand.
func (mw *MagickWand) SetPointsize(pointSize float64) error {
	C.MagickSetPointsize(mw.mw, C.double(pointSize))
	return mw.GetLastError()
}
Beispiel #3
0
// Sets the font pointsize associated with the MagickWand.
func (mw *MagickWand) SetPointsize(pointSize float64) error {
	ok := C.MagickSetPointsize(mw.mw, C.double(pointSize))
	return mw.getLastErrorIfFailed(ok)
}