LibWeb: Dump path_bounding_rect for FillPath

This makes it easier to differentiate between FillPath commands in the
display list output.
This commit is contained in:
Jelle Raaijmakers 2025-10-26 10:44:54 +01:00 committed by Jelle Raaijmakers
parent e1ff1e2095
commit c0d08b68af
Notes: github-actions[bot] 2025-10-27 23:43:47 +00:00
3 changed files with 3 additions and 3 deletions

View file

@ -140,7 +140,7 @@ void FillRectWithRoundedCorners::dump(StringBuilder& builder) const
void FillPath::dump(StringBuilder& builder) const
{
builder.appendff("FillPath");
builder.appendff("FillPath path_bounding_rect={}", path_bounding_rect);
}
void StrokePath::dump(StringBuilder& builder) const

View file

@ -2,7 +2,7 @@ Save
ApplyTransform matrix=[1 0 0 1 0 0]
SaveLayer
FillRect rect=[8,8 106x22] color=rgb(212, 208, 200)
FillPath
FillPath path_bounding_rect=[8,8 106x22]
DrawGlyphRun rect=[13,10 96x18] translation=[13,23.796875] color=rgb(0, 0, 0) scale=1
DrawLine from=[13,26] to=[109,26] color=rgb(0, 0, 0) thickness=2
Restore

View file

@ -1,7 +1,7 @@
Save
ApplyTransform matrix=[1 0 0 1 0 0]
SaveLayer
FillPath
FillPath path_bounding_rect=[8,8 204x104]
FillRect rect=[10,10 300x150] color=rgb(240, 128, 128)
DrawGlyphRun rect=[10,10 38x18] translation=[10,23.796875] color=rgb(0, 0, 0) scale=1
Restore