예제 #1
0
파일: canvas.go 프로젝트: mishudark/gosexy
// Returns antialiasing setting for the current drawing stroke.
func (cv Canvas) StrokeAntialias() bool {
	value := C.DrawGetStrokeAntialias(cv.drawing)
	if value == C.MagickTrue {
		return true
	}
	return false
}
예제 #2
0
// Returns the current stroke antialias setting. Stroked outlines are
// antialiased by default. When antialiasing is disabled stroked pixels are
// thresholded to determine if the stroke color or underlying canvas color
// should be used.
func (dw *DrawingWand) GetStrokeAntialias() bool {
	return 1 == C.DrawGetStrokeAntialias(dw.dw)
}