예제 #1
0
파일: canvas.go 프로젝트: phacops/canvas
// Sets the width of the stroke on the current drawing surface.
func (self *Canvas) SetStrokeWidth(value float64) {
	C.DrawSetStrokeWidth(self.drawing, C.double(value))
}
예제 #2
0
파일: canvas.go 프로젝트: mishudark/gosexy
// Sets the width of the stroke on the current drawing surface.
func (cv Canvas) SetStrokeWidth(value float64) {
	C.DrawSetStrokeWidth(cv.drawing, C.double(value))
}
예제 #3
0
// Sets the width of the stroke used to draw object outlines.
func (dw *DrawingWand) SetStrokeWidth(width float64) {
	C.DrawSetStrokeWidth(dw.dw, C.double(width))
}