コード例 #1
0
ファイル: canvas.go プロジェクト: phacops/canvas
func (self *Canvas) SetFontSize(size float64) {
	C.MagickSetPointsize(self.wand, C.double(size))
}
コード例 #2
0
ファイル: magick_wand_prop.go プロジェクト: qwo/abelana-gcp
// 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
ファイル: magick_wand_prop.go プロジェクト: palaiyacw/imagick
// 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)
}