Exemple #1
0
// 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
}
Exemple #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)
}