transparent example
This commit is contained in:
parent
e554ef45e8
commit
207b76187a
@ -5,8 +5,6 @@ import "github.com/fogleman/gg"
|
|||||||
func main() {
|
func main() {
|
||||||
const S = 1024
|
const S = 1024
|
||||||
dc := gg.NewContext(S, S)
|
dc := gg.NewContext(S, S)
|
||||||
dc.SetRGB(1, 1, 1)
|
|
||||||
dc.Clear()
|
|
||||||
dc.SetRGBA(0, 0, 0, 0.1)
|
dc.SetRGBA(0, 0, 0, 0.1)
|
||||||
for i := 0; i < 360; i += 15 {
|
for i := 0; i < 360; i += 15 {
|
||||||
dc.Push()
|
dc.Push()
|
||||||
|
Loading…
Reference in New Issue
Block a user