1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:18:12 +00:00
serenity/Userland/Libraries/LibWeb/Painting
Timothy Flynn d0e18b8a17 LibWeb: Convert video control dimensions from CSSPixels to DevicePixels
Rather than storing static DevicePixels dimensions, treat the desired
pixel sizes as CSSPixels and convert them to DevicePixels.

This was originally developed on a mac with a device-to-CSS-pixel ratio
of 2. Running it on another machine with a ratio of 1 made the controls
appear huge.
2023-04-10 10:15:48 -04:00
..
BackgroundPainting.cpp LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
BackgroundPainting.h LibWeb: Convert background painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00:00
BorderPainting.h LibWeb: Remove now-unused includes from StyleValue.cpp 2023-03-25 16:56:04 +00:00
BorderRadiusCornerClipper.cpp LibGfx: Remove try_ prefix from bitmap creation functions 2023-01-26 20:24:37 +00: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: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01: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: Move PercentageOr and subclasses into PercentageOr.{h,cpp} 2023-03-30 21:29:50 +02:00
GradientPainting.h LibJS+LibWeb: Add a bunch of missing includes 2023-03-06 13:05:43 +00:00
ImagePaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
ImagePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
InlinePaintable.cpp LibWeb: Make Layout::Node::containing_block() return a Layout::Box 2023-01-24 11:44:03 +01: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: Use scaled font when painting list item markers 2023-04-01 22:39:47 +01:00
MarkerPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01: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: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
PaintableBox.cpp LibWeb: Add .scaled_font() helper to Layout::Node 2023-04-01 22:39:47 +01:00
PaintableBox.h LibWeb: Rename PaintableBox::clip_rect() 2023-03-19 19:04:51 +01:00
PaintContext.cpp LibWeb: Split PaintContext::viewport_rect() into device/css variants 2022-12-14 16:47:57 +00:00
PaintContext.h LibWeb: Don't truncate font sizes before scaling them to device pixels 2023-03-15 11:43:54 +01:00
ProgressPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01: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 LibWeb: Use scaled font when painting text shadows 2023-04-01 22:39:47 +01:00
ShadowPainting.h LibWeb: Convert shadow painting to new pixel units 2022-12-14 16:47:57 +00:00
StackingContext.cpp LibWeb: Remove CalculatedStyleValue from Angle 2023-03-30 21:29:50 +02:00
StackingContext.h LibJS+LibWeb: Wrap raw JS::Cell*/& fields in GCPtr/NonnullGCPtr 2023-03-15 08:48:49 +01:00
SVGGeometryPaintable.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
SVGGeometryPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
SVGGraphicsPaintable.cpp LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGGraphicsPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
SVGPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
SVGSVGPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01: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: Convert video control dimensions from CSSPixels to DevicePixels 2023-04-10 10:15:48 -04:00
VideoPaintable.h LibWeb: Begin painting video controls on HTMLVideoElement layout nodes 2023-04-08 22:04:14 +02:00