Пример #1
0
func (self *Canvas) SetFontSize(size float64) {
	C.MagickSetPointsize(self.wand, C.double(size))
}
Пример #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()
}
Пример #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)
}