ladybird/Userland/Libraries/LibGfx
Jelle Raaijmakers ab19b092ed LibGfx: Implement Rect::to_rounded<U>()
This replaces the usage of `rounded_int_rect`, whose name did not
accurately reflect the rounding operation happening. For example, the
position of the rect was not rounded but floored, and the size was
pulled through `roundf` before casting to `int` which could result in
inadvertent flooring if the resulting floating point could not exactly
represent the rounded value.
2022-03-23 11:53:34 +01:00
..
Filters LibGfx: Change class_name to use StringView instead of char const* 2022-03-19 00:20:46 +00:00
TrueTypeFont LibGUI+LibGfx: Defer to fonts when setting Editor line height 2022-02-24 18:09:22 +01:00
AffineTransform.cpp LibGfx: Add AffineTransform::inverse 2022-03-18 18:51:42 +01:00
AffineTransform.h LibGfx: Add AffineTransform::inverse 2022-03-18 18:51:42 +01:00
AntiAliasingPainter.cpp LibGfx: Fix draw_anti_aliased_line() for steep lines with "OnlyEnds" 2022-03-19 22:32:38 +01:00
AntiAliasingPainter.h LibGfx: AntiAliasingPainter::draw_circle/fill_rect_with_rounded_corners 2022-03-18 11:31:33 +01:00
Bitmap.cpp LibGfx: Rename RGBA32 => ARGB32 2022-03-04 23:40:21 +01:00
Bitmap.h LibGfx: Rename Color::from_rgba() => Color::from_argb() 2022-03-04 23:40:21 +01:00
BitmapFont.cpp Everywhere: Fully qualify font names by including their slope 2022-02-01 10:06:26 +01:00
BitmapFont.h LibGfx: Add accessors for BitmapFont's rows and widths 2022-03-18 01:12:26 +01:00
BitmapMixer.cpp LibGfx: Add BitmapMixer 2022-01-04 21:41:14 +02:00
BitmapMixer.h LibGfx: Add BitmapMixer 2022-01-04 21:41:14 +02:00
BMPLoader.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
BMPLoader.h
BMPWriter.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
BMPWriter.h
CharacterBitmap.h Libraries: Make CharacterBitmap instances at compile-time 2022-03-04 17:41:08 +01:00
ClassicStylePainter.cpp LibGfx: Draw window frame border radii antialiased 2022-03-18 11:31:33 +01:00
ClassicStylePainter.h LibGUI: Allow Buttons to set themselves as default 2022-01-26 23:19:54 +01:00
ClassicWindowTheme.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
ClassicWindowTheme.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
CMakeLists.txt Libraries: Make CharacterBitmap instances at compile-time 2022-03-04 17:41:08 +01:00
Color.cpp LibGfx: Rename Color::from_rgba() => Color::from_argb() 2022-03-04 23:40:21 +01:00
Color.h LibGfx+LibWeb: Use floats not doubles to create HSL colors 2022-03-22 15:47:36 +01:00
CursorParams.cpp
CursorParams.h
DDSLoader.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
DDSLoader.h
DisjointRectSet.cpp
DisjointRectSet.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
Emoji.cpp LibGfx: Add Emoji::emoji_for_code_point_iterator(Utf8CodePointIterator&) 2022-02-23 21:53:30 +00:00
Emoji.h LibGfx: Add Emoji::emoji_for_code_point_iterator(Utf8CodePointIterator&) 2022-02-23 21:53:30 +00:00
FillPathImplementation.h
Font.h LibGfx: Add Font::AllowInexactSizeMatch parameter to font lookup 2022-02-25 19:38:31 +01:00
FontDatabase.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
FontDatabase.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
FontStyleMapping.h
Forward.h
Gamma.h LibGfx: Avoid inclusion of xmmintrin.h on non-X86 architectures 2022-02-06 03:15:00 +00:00
GIFLoader.cpp Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
GIFLoader.h
ICOLoader.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
ICOLoader.h
ImageDecoder.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
ImageDecoder.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
JPGLoader.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
JPGLoader.h
Line.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
Matrix.h LibGfx+LibGL: Allow singular matrices to be inverted 2022-01-12 01:08:38 +01:00
Matrix3x3.h
Matrix4x4.h AK+Everywhere: Add sincos and use it in some places 2022-03-15 11:39:42 +01:00
Orientation.h
Painter.cpp LibGfx: Calculate source rect once in do_draw_scaled_bitmap 2022-03-23 11:53:34 +01:00
Painter.h LibGfx: AntiAliasingPainter::draw_circle/fill_rect_with_rounded_corners 2022-03-18 11:31:33 +01:00
Palette.cpp LibGfx: Add more syntax-related ColorRoles 2022-02-09 00:51:31 +01:00
Palette.h Base+LibGUI+LibGfx: Improve disabled text readability 2022-03-05 10:25:14 +01:00
Path.cpp LibWeb: Keep SVG elliptical arc shape when applying viewbox 2022-03-12 15:38:55 +01:00
Path.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
PBMLoader.cpp LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PBMLoader.h LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PGMLoader.cpp LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PGMLoader.h LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PNGLoader.cpp Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
PNGLoader.h
PNGWriter.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
PNGWriter.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
Point.cpp
Point.h
PortableImageLoaderCommon.h LibGfx: Commonize P[BGP]M file loading contexts 2022-03-13 22:35:20 +01:00
PortableImageMapLoader.h LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PPMLoader.cpp LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
PPMLoader.h LibGfx: Use common class template for PBM/PGM/PPM image loaders 2022-03-13 22:35:20 +01:00
QOILoader.cpp
QOILoader.h
Rect.cpp LibGfx: Add support for TextAlignment::TopCenter / BottomCenter 2022-03-08 22:09:52 +01:00
Rect.h LibGfx: Implement Rect::to_rounded<U>() 2022-03-23 11:53:34 +01:00
ShareableBitmap.cpp LibGfx: Rename RGBA32 => ARGB32 2022-03-04 23:40:21 +01:00
ShareableBitmap.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
Size.cpp
Size.h LibGfx: Make Size constexpr-capable 2022-03-04 17:41:08 +01:00
StandardCursor.h
Streamer.h
StylePainter.cpp LibGUI: Allow Buttons to set themselves as default 2022-01-26 23:19:54 +01:00
StylePainter.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
SystemTheme.cpp LibCore+Everywhere: Return ErrorOr from ConfigFile factory methods 2022-02-16 19:49:41 -05:00
SystemTheme.h Base+LibGUI+LibGfx: Improve disabled text readability 2022-03-05 10:25:14 +01:00
TextAlignment.h LibGfx: Add support for TextAlignment::TopCenter / BottomCenter 2022-03-08 22:09:52 +01:00
TextAttributes.h LibGfx: Expand TextAttributes with more information about underlining 2022-01-23 15:48:27 +03:30
TextDirection.cpp
TextDirection.h
TextElision.h
TextLayout.cpp
TextLayout.h
TextWrapping.h
Triangle.cpp
Triangle.h
Typeface.cpp LibGfx: Add Font::AllowInexactSizeMatch parameter to font lookup 2022-02-25 19:38:31 +01:00
Typeface.h LibGfx: Make FontDatabase API use FlyString for family and variant 2022-03-16 18:06:45 +01:00
Vector2.h LibGfx: Refactor Vector[2,3,4] to VectorN with specializations 2022-03-04 12:56:05 +01:00
Vector3.h LibGfx: Refactor Vector[2,3,4] to VectorN with specializations 2022-03-04 12:56:05 +01:00
Vector4.h LibGfx: Refactor Vector[2,3,4] to VectorN with specializations 2022-03-04 12:56:05 +01:00
VectorN.h LibGfx+LibSoftGPU: Allow indexed reads into Gfx::Vector 2022-03-11 12:30:43 +01:00
WindowTheme.cpp Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00
WindowTheme.h Libraries: Use default constructors/destructors in LibGfx 2022-03-17 17:23:49 +00:00