mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Canvas: add clipping path support.
This commit is contained in:
parent
3a1bf45dea
commit
6fd6eefb35
29 changed files with 16 additions and 134 deletions
|
@ -24,8 +24,9 @@ pub enum Canvas2dMsg {
|
|||
DrawImageSelf(Size2D<f64>, Rect<f64>, Rect<f64>, bool),
|
||||
BeginPath,
|
||||
BezierCurveTo(Point2D<f32>, Point2D<f32>, Point2D<f32>),
|
||||
ClosePath,
|
||||
ClearRect(Rect<f32>),
|
||||
Clip,
|
||||
ClosePath,
|
||||
Fill,
|
||||
FillRect(Rect<f32>),
|
||||
GetImageData(Rect<f64>, Size2D<f64>, Sender<Vec<u8>>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue