mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
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:
parent
e1ff1e2095
commit
c0d08b68af
Notes:
github-actions[bot]
2025-10-27 23:43:47 +00:00
Author: https://github.com/gmta
Commit: c0d08b68af
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6592
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue