mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Canvas: implement rectangle drawing.
This commit is contained in:
parent
e4b620ea54
commit
5287cb7fba
34 changed files with 21 additions and 155 deletions
|
@ -33,6 +33,7 @@ pub enum Canvas2dMsg {
|
|||
MoveTo(Point2D<f32>),
|
||||
PutImageData(Vec<u8>, Rect<f64>, Option<Rect<f64>>),
|
||||
QuadraticCurveTo(Point2D<f32>, Point2D<f32>),
|
||||
Rect(Rect<f32>),
|
||||
RestoreContext,
|
||||
SaveContext,
|
||||
StrokeRect(Rect<f32>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue