mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
Revert "LibGfx: Re-add missing bounds-checks to Painter::draw_rect"
This reverts commit 4cf5514672
.
This commit is contained in:
parent
4bf9b399f7
commit
f43adb816e
2 changed files with 39 additions and 82 deletions
|
@ -154,7 +154,6 @@ protected:
|
|||
void fill_rect_with_draw_op(const IntRect&, Color);
|
||||
void blit_with_opacity(const IntPoint&, const Gfx::Bitmap&, const IntRect& src_rect, float opacity, bool apply_alpha = true);
|
||||
void draw_physical_pixel(const IntPoint&, Color, IntSize thickness = { 1, 1 });
|
||||
void draw_physical_line(IntPoint, IntPoint, Color, IntSize thickness, LineStyle style);
|
||||
void fill_physical_rect(const IntRect&, Color);
|
||||
|
||||
ALWAYS_INLINE bool has_integer_scale() const { return float_scale().x() == float_scale().y() && float_scale().x() == floorf(float_scale().x()); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue