Skip to content

Commit

Permalink
Tweak blends.
Browse files Browse the repository at this point in the history
  • Loading branch information
matanlurey committed Aug 13, 2024
1 parent 5e3e9bf commit 8ddfc0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/src/blend.dart
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,13 @@ const _porterDuffCoefficients = <List<double>>[
[0, 0, 0, 0, 0], // 0x00:Clear
[1, 0, 0, 0, 0], // 0x01:Source
[0, 0, 1, 0, 0], // 0x02:Destination
[0, 0, 1, 0, 0], // 0x02:Destination
[1, 0, 1, -1, 0], // 0x03:SourceOver
[1, 0, 1, -1, 0], // 0x03:SourceOver
[1, -1, 1, 0, 0], // 0x04:DestinationOver
[0, 1, 0, 0, 0], // 0x05:SourceIn
[0, 0, 0, 1, 0], // 0x06:DestinationIn
[0, 0, 0, 1, 0], // 0x07:SourceOut
[1, -1, 0, 0, 0], // 0x07:SourceOut
[0, 0, 1, -1, 0], // 0x08:DestinationOut
[0, 1, 1, -1, 0], // 0x09:SourceAtop
[0, 1, 1, -1, 0], // 0x09:SourceAtop
[1, -1, 0, 1, 0], // 0x0A:DestinationAtop
[1, -1, -1, -1, 0], // 0x0B:Xor
[1, 0, 1, 0, 0], // 0x0C:Plus
Expand Down

0 comments on commit 8ddfc0b

Please sign in to comment.