mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
This commit is contained in:
parent
287f390c4a
commit
55a0ee6ec7
28 changed files with 419 additions and 181 deletions
11
components/script/dom/canvasgradient.rs
Normal file
11
components/script/dom/canvasgradient.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::bindings::utils::Reflector;
|
||||
|
||||
#[dom_struct]
|
||||
pub struct CanvasGradient {
|
||||
reflector_: Reflector,
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue