Canvas: add clipping path support.

This commit is contained in:
Mátyás Mustoha 2015-04-21 12:45:28 +02:00
parent 3a1bf45dea
commit 6fd6eefb35
29 changed files with 16 additions and 134 deletions

View file

@ -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>>),