1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:07:46 +00:00

LibGfx: Support AlphaSubtract blend mode for AA rounded rectangle

This commit is contained in:
MacDue 2022-06-13 23:31:17 +01:00 committed by Linus Groh
parent 0805911a93
commit c1798620d9
2 changed files with 23 additions and 11 deletions

View file

@ -51,7 +51,7 @@ public:
}
};
void fill_rect_with_rounded_corners(IntRect const&, Color, CornerRadius top_left, CornerRadius top_right, CornerRadius bottom_right, CornerRadius bottom_left);
void fill_rect_with_rounded_corners(IntRect const&, Color, CornerRadius top_left, CornerRadius top_right, CornerRadius bottom_right, CornerRadius bottom_left, BlendMode blend_mode = BlendMode::Normal);
private:
struct Range {