Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
matanlurey committed Aug 25, 2024
1 parent 9b0f8d8 commit be715ad
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/src/format/rgba.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,24 +230,4 @@ abstract final class _Rgba8x4Int extends Rgba<int, int> with _Rgb8Int {
@override
@nonVirtual
int getAlpha(int pixel) => (pixel >> _offsetAlpha) & 0xFF;

@override
int fromAbgr8888(int pixel) {
return create(
red: abgr8888.getRed(pixel),
green: abgr8888.getGreen(pixel),
blue: abgr8888.getBlue(pixel),
alpha: abgr8888.getAlpha(pixel),
);
}

@override
int toAbgr8888(int pixel) {
return abgr8888.create(
red: getRed(pixel),
green: getGreen(pixel),
blue: getBlue(pixel),
alpha: getAlpha(pixel),
);
}
}

0 comments on commit be715ad

Please sign in to comment.