Ejemplo n.º 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))
}
Ejemplo n.º 2
0
// Sets antialiasing setting for the current drawing stroke.
func (cv Canvas) SetStrokeAntialias(value bool) {
	C.DrawSetStrokeAntialias(cv.drawing, magickBoolean(value))
}
Ejemplo n.º 3
0
// Sets antialiasing for the current drawing surface.
func (cv Canvas) SetStrokeAntialias(value bool) {
	C.DrawSetStrokeAntialias(cv.drawing, C.MagickTrue)
}