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
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
ButtonPaintable.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
ButtonPaintable.h
CanvasPaintable.cpp LibWeb: Use box sampling instead of bilinear scaling when downscaling 2023-05-19 18:36:36 +02:00
CanvasPaintable.h
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
FilterPainting.h
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
InputColors.h LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
LabelablePaintable.cpp
LabelablePaintable.h
MarkerPaintable.cpp LibWeb: Make CSSPixels and Length use 64-bit (double) floating point 2023-05-24 14:40:35 +02:00
MarkerPaintable.h
NestedBrowsingContextPaintable.cpp LibWeb: Use device pixels to translate NestedBrowsingContextPaintable 2023-04-20 20:44:02 +02:00
NestedBrowsingContextPaintable.h
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
RadioButtonPaintable.cpp LibWeb: Add scalable radio buttons (with theme/accent-color support) 2023-03-24 09:57:48 +00:00
RadioButtonPaintable.h
ShadowPainting.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
ShadowPainting.h
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
SVGSVGPaintable.cpp LibWeb: Clip SVG content to parent <svg> element bounding box 2023-04-17 07:32:31 +02:00
SVGSVGPaintable.h
TextPaintable.cpp
TextPaintable.h
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