ladybird/Userland/Libraries/LibWeb/Painting
Andreas Kling 655d9d1462 LibWeb: Make CSSPixels and Length use 64-bit (double) floating point
This fixes a plethora of rounding problems on many websites.
In the future, we may want to replace this with fixed-point arithmetic
(bug #18566) for performance (and consistency with other engines),
but in the meantime this makes the web look a bit better. :^)

There's a lot more things that could be converted to doubles, which
would reduce the amount of casting necessary in this patch.
We can do that incrementally, however.
2023-05-24 14:40:35 +02:00
..
BackgroundPainting.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
BackgroundPainting.h LibWeb: Convert background painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
BorderPainting.h LibWeb: Remove now-unused includes from StyleValue.cpp 2023-03-25 16:56:04 +00:00
BorderRadiusCornerClipper.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
BorderRadiusCornerClipper.h LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
ButtonPaintable.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
ButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CanvasPaintable.cpp LibWeb: Use box sampling instead of bilinear scaling when downscaling 2023-05-19 18:36:36 +02:00
CanvasPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CheckBoxPaintable.cpp LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
CheckBoxPaintable.h LibWeb: Add scaleable checkboxes (with theme/accent-color support) 2023-03-23 08:27:51 +00:00
FilterPainting.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
FilterPainting.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
GradientPainting.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
GradientPainting.h LibJS+LibWeb: Add a bunch of missing includes 2023-03-06 13:05:43 +00:00
ImagePaintable.cpp LibWeb: Have ImageProvider bitmap getter take optional size argument 2023-05-21 07:44:29 +02:00
ImagePaintable.h LibWeb: Move image viewport awareness from ImageBox to ImagePaintable 2023-05-09 09:48:49 +02:00
InlinePaintable.cpp LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
InlinePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
InputColors.h LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
LabelablePaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
LabelablePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
MarkerPaintable.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
MarkerPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Use device pixels to translate NestedBrowsingContextPaintable 2023-04-20 20:44:02 +02:00
NestedBrowsingContextPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
Paintable.cpp LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
Paintable.h LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
PaintableBox.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
PaintableBox.h LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
PaintContext.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
PaintContext.h LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
ProgressPaintable.cpp LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
ProgressPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
RadioButtonPaintable.cpp LibWeb: Add scalable radio buttons (with theme/accent-color support) 2023-03-24 09:57:48 +00:00
RadioButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
ShadowPainting.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
ShadowPainting.h LibWeb: Convert shadow painting to new pixel units 2022-12-14 16:47:57 +00:00
StackingContext.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
StackingContext.h LibWeb/Layout: Rename Box::{paint => paintable}_box() 2023-04-20 20:43:30 +02:00
SVGGeometryPaintable.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
SVGGeometryPaintable.h LibWeb: Use (transformed) path bounding quad for SVG path hit testing 2023-04-12 07:40:22 +02:00
SVGGraphicsPaintable.cpp LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGGraphicsPaintable.h LibWeb: Make SVG <g> elements generate a SVGGraphicsPaintable 2023-04-19 07:52:26 +02:00
SVGPaintable.cpp LibWeb/Layout: Rename Box::{paint => paintable}_box() 2023-04-20 20:43:30 +02:00
SVGPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
SVGSVGPaintable.cpp LibWeb: Clip SVG content to parent <svg> element bounding box 2023-04-17 07:32:31 +02:00
SVGSVGPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
TextPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
TextPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
VideoPaintable.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
VideoPaintable.h LibWeb: Paint a media timeline on HTMLVideoElement layout nodes 2023-04-11 19:27:55 +02:00