示例#1
0
// Inicializes the MagickWand environment
func Initialize() {
	if initialized {
		return
	}
	C.MagickWandGenesis()
	initialized = true
}
示例#2
0
// Initializes the canvas environment.
func (cv Canvas) Init() {
	C.MagickWandGenesis()
}
示例#3
0
/* Initializes the MagickWand environment. */
func Genesis() {
	C.MagickWandGenesis()
}
示例#4
0
文件: canvas.go 项目: phacops/canvas
func init() {
	C.MagickWandGenesis()
}
示例#5
0
文件: mage.go 项目: dqminh/mage
// Public: initialize the magick wand environment
// This should only be called at the start of the process, before any magick
// operation
func InitWandEnv() {
	C.MagickWandGenesis()
}