mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Adds pinch event handling that adjusts the VisualViewport scale and offset. VisualViewport's (offset, scale) is then used to construct a transformation matrix which is applied before display list execution.
12 lines
485 B
Plaintext
12 lines
485 B
Plaintext
Save
|
|
ApplyTransform matrix=[1 0 0 1 0 0]
|
|
SaveLayer
|
|
DrawGlyphRun rect=[35,8 8x18] translation=[35.15625,21.796875] color=rgb(0, 0, 0) scale=1
|
|
DrawGlyphRun rect=[8,8 28x18] translation=[8,21.796875] color=rgb(0, 0, 0) scale=1
|
|
DrawLine from=[8,24] to=[35,24] color=rgb(0, 0, 0) thickness=2
|
|
DrawGlyphRun rect=[43,8 28x18] translation=[43.15625,21.796875] color=rgb(0, 0, 0) scale=1
|
|
DrawLine from=[43,27] to=[71,27] color=rgb(0, 0, 0) thickness=2
|
|
Restore
|
|
Restore
|
|
|