コード例 #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
ファイル: drawing_wand.go プロジェクト: qwo/abelana-gcp
// Returns the opacity of stroked object outlines.
func (dw *DrawingWand) GetStrokeOpacity() float64 {
	return float64(C.DrawGetStrokeOpacity(dw.dw))
}