mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
canvas: Respect FillRule (#38294)
We just need to pass user provided FillRule via IPC to canvas paint thread, then pass it all down to backend, which will handle it. Testing: Added WPT tests. --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
4188852963
commit
bc71fb8c0d
22 changed files with 693 additions and 32 deletions
|
@ -482,11 +482,12 @@ pub enum Canvas2dMsg {
|
|||
Transform2D<f32>,
|
||||
),
|
||||
ClearRect(Rect<f32>, Transform2D<f32>),
|
||||
ClipPath(Path, Transform2D<f32>),
|
||||
ClipPath(Path, FillRule, Transform2D<f32>),
|
||||
PopClip,
|
||||
FillPath(
|
||||
FillOrStrokeStyle,
|
||||
Path,
|
||||
FillRule,
|
||||
ShadowOptions,
|
||||
CompositionOptions,
|
||||
Transform2D<f32>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue