Skip to content

Commit

Permalink
blend: implement porter-duff compositions
Browse files Browse the repository at this point in the history
  • Loading branch information
oov committed May 17, 2016
1 parent 37965e8 commit bc909c7
Show file tree
Hide file tree
Showing 20 changed files with 6,003 additions and 0 deletions.
1 change: 1 addition & 0 deletions blend/blends.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"image/draw"
)

// blend modes
var (
Normal Drawer = normal{}
Darken Drawer = darken{}
Expand Down
1 change: 1 addition & 0 deletions blend/genblend.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ import (
"image/draw"
)
// blend modes
var (
{{range .blendModes}} {{.Name}} Drawer = {{.Name.Lower}}{}
{{end}}
Expand Down
Loading

0 comments on commit bc909c7

Please sign in to comment.