Exemple #1
0
// Controls whether stroked outlines are antialiased. 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.
//
// antialias: set to false to disable antialiasing
func (dw *DrawingWand) SetStrokeAntialias(antialias bool) {
	C.DrawSetStrokeAntialias(dw.dw, b2i(antialias))
}
Exemple #2
0
// Sets antialiasing setting for the current drawing stroke.
func (cv Canvas) SetStrokeAntialias(value bool) {
	C.DrawSetStrokeAntialias(cv.drawing, magickBoolean(value))
}
Exemple #3
0
// Sets antialiasing for the current drawing surface.
func (cv Canvas) SetStrokeAntialias(value bool) {
	C.DrawSetStrokeAntialias(cv.drawing, C.MagickTrue)
}