예제 #1
0
파일: canvas.go 프로젝트: phacops/canvas
// Returns the opacity of the stroke on the current drawing surface.
func (self *Canvas) StrokeOpacity() float64 {
	return float64(C.DrawGetStrokeOpacity(self.drawing))
}
예제 #2
0
파일: canvas.go 프로젝트: mishudark/gosexy
// Returns the opacity of the stroke on the current drawing surface.
func (cv Canvas) StrokeOpacity() float64 {
	return float64(C.DrawGetStrokeOpacity(cv.drawing))
}
예제 #3
0
// Returns the opacity of stroked object outlines.
func (dw *DrawingWand) GetStrokeOpacity() float64 {
	return float64(C.DrawGetStrokeOpacity(dw.dw))
}