1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-14 10:27:37 +00:00
serenity/Userland/Libraries/LibWeb/Painting
MacDue a9ea0ee9af LibWeb: Fix passing size/position to paint_radial_gradient()
This was wrong twice making it right... But let's fix that.

The center was being passed as a DevicePixelPoint, but was in fact in
CSS pixels, the size was passed as a Gfx::FloatSize but was in
CSS pixels again. Then we were scaling from device pixels to CSS pixels
when painting which does not need to be done if everything is passed
which the correct scale factors already applied.
2022-12-20 11:03:18 +01:00
..
BackgroundPainting.cpp LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
BackgroundPainting.h LibWeb: Convert background painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.cpp LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.h LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderRadiusCornerClipper.cpp LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderRadiusCornerClipper.h LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
ButtonPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
ButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
CanvasPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
CanvasPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
CheckBoxPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
CheckBoxPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
FilterPainting.cpp LibWeb: Convert backdrop-filter painting to new pixel units 2022-12-14 16:47:57 +00:00
FilterPainting.h LibWeb: Convert backdrop-filter painting to new pixel units 2022-12-14 16:47:57 +00:00
GradientPainting.cpp LibWeb: Fix passing size/position to paint_radial_gradient() 2022-12-20 11:03:18 +01:00
GradientPainting.h LibWeb: Fix passing size/position to paint_radial_gradient() 2022-12-20 11:03:18 +01:00
ImagePaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
ImagePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
InlinePaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
InlinePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
LabelablePaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
LabelablePaintable.h LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
MarkerPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
MarkerPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
NestedBrowsingContextPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
Paintable.cpp LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
Paintable.h LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
PaintableBox.cpp LibWeb: Don't const_cast layout_box() when calling const functions 2022-12-18 12:56:33 +01:00
PaintableBox.h LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
PaintContext.cpp LibWeb: Split PaintContext::viewport_rect() into device/css variants 2022-12-14 16:47:57 +00:00
PaintContext.h LibWeb: Split PaintContext::viewport_rect() into device/css variants 2022-12-14 16:47:57 +00:00
ProgressPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
ProgressPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
RadioButtonPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
RadioButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ShadowPainting.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
ShadowPainting.h LibWeb: Convert shadow painting to new pixel units 2022-12-14 16:47:57 +00:00
StackingContext.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
StackingContext.h LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
SVGGeometryPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGGeometryPaintable.h LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +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: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
SVGPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGPaintable.h LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGSVGPaintable.cpp LibWeb: Convert Paintable coordinates to new pixel units 2022-12-14 16:47:57 +00:00
SVGSVGPaintable.h LibWeb: Clip hidden overflow by absolute rect of containing block 2022-11-15 22:53:47 +01:00
TextPaintable.cpp LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00
TextPaintable.h LibWeb+WebContent+headless-browser: Use CSSPixels for PageClient events 2022-12-10 12:03:19 +00:00