1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 08:45:06 +00:00
serenity/Userland/Libraries/LibWeb/Painting
MacDue 104642507a LibWeb: Fix box-shadows on elements smaller than the blur diameter
This commit adds some finagling and shrinking of the corner bitmap
to handle drawing shadows on elements where the shadow radius >
half the width or height of the element. Previously things would
go horribly wrong when this happend.

There could still be some edge cases, but things seem to be working
fairly well now.
2022-06-30 11:16:22 +02:00
..
BackgroundPainting.cpp LibWeb: Fix 'background-repeat: round' calculation 2022-06-17 09:37:39 +01:00
BackgroundPainting.h LibWeb: Keep both horizontal and vertical border radii till painting 2022-06-13 09:43:45 +01:00
BorderPainting.cpp LibWeb: Use the AA painter for drawing dotted lines 2022-06-18 02:34:56 +01:00
BorderPainting.h LibWeb: Move border corner bitmap getter/cache to function 2022-06-16 10:28:07 +01:00
BorderRadiusCornerClipper.cpp LibWeb: Add 'inside' clip mode to BorderRadiusCornerClipper 2022-06-23 19:13:24 +01:00
BorderRadiusCornerClipper.h LibWeb: Add 'inside' clip mode to BorderRadiusCornerClipper 2022-06-23 19:13:24 +01:00
ButtonPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
CanvasPaintable.cpp LibWeb: Add ability to present LibGL framebuffer and add clearing 2022-06-13 21:45:27 +01:00
CanvasPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
CheckBoxPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
CheckBoxPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ImagePaintable.cpp LibWeb: Support using border-radius on <img> tags 2022-06-16 10:28:07 +01:00
ImagePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
InlinePaintable.cpp LibWeb: Pass border radii data to shadow painting 2022-06-23 19:13:24 +01:00
InlinePaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
LabelablePaintable.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
LabelablePaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
MarkerPaintable.cpp LibWeb: Paint list markers antialiased 2022-06-05 16:16:17 +01:00
MarkerPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
NestedBrowsingContextPaintable.cpp LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +01:00
NestedBrowsingContextPaintable.h LibWeb: Move PaintingBox to its own .cpp and .h files 2022-03-11 00:21:49 +01:00
Paintable.cpp LibWeb: Add some basic paint tree traversal helpers 2022-04-08 20:58:42 +02:00
Paintable.h LibWeb: Add some basic paint tree traversal helpers 2022-04-08 20:58:42 +02:00
PaintableBox.cpp LibWeb: Fix off-by-one shadow position on non-integer positioned boxes 2022-06-30 11:16:22 +02:00
PaintableBox.h LibWeb: Make PaintableBox::normalized_border_radii_data() protected 2022-06-16 10:28:07 +01:00
PaintContext.cpp LibWeb: Don't crash on content with SVG elements outside of <svg> 2022-02-28 14:17:44 +01:00
PaintContext.h LibWeb: Use the correct painter for painting stacking contexts 2022-04-08 20:44:23 +02:00
ProgressPaintable.cpp LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +01:00
ProgressPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
RadioButtonPaintable.cpp LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
RadioButtonPaintable.h LibWeb: Refactor all LabelableNode subclasses + input event handling :^) 2022-03-16 00:38:31 +01:00
ShadowPainting.cpp LibWeb: Fix box-shadows on elements smaller than the blur diameter 2022-06-30 11:16:22 +02:00
ShadowPainting.h LibWeb: Pass border radii data to shadow painting 2022-06-23 19:13:24 +01:00
StackingContext.cpp LibWeb: Use paint tree traversal helpers in StackingContext 2022-04-08 20:58:42 +02:00
StackingContext.h LibWeb: Use paint tree traversal helpers in StackingContext 2022-04-08 20:58:42 +02:00
SVGGeometryPaintable.cpp LibWeb: Keep SVG elliptical arc shape when applying viewbox 2022-03-12 15:38:55 +01:00
SVGGeometryPaintable.h LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +01:00
SVGGraphicsPaintable.cpp LibWeb: Remove a superfluous verify_cast on SVGGraphicsPaintable 2022-05-06 14:11:03 +02:00
SVGGraphicsPaintable.h LibWeb: Make Paintable ref-counted 2022-03-11 00:21:49 +01:00
SVGPaintable.cpp LibWeb: Treate SVG paintable coordinates as relative to <svg> element 2022-03-24 18:14:01 +01:00
SVGPaintable.h LibWeb: Treate SVG paintable coordinates as relative to <svg> element 2022-03-24 18:14:01 +01:00
SVGSVGPaintable.cpp LibWeb: Make SVG <svg> elements behave as CSS replaced elements 2022-03-19 12:42:10 +01:00
SVGSVGPaintable.h LibWeb: Make SVG <svg> elements behave as CSS replaced elements 2022-03-19 12:42:10 +01:00
TextPaintable.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TextPaintable.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00