예제 #1
0
파일: canvas.go 프로젝트: phacops/canvas
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)
}