mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
parent
e958d92be6
commit
4cf46bff2d
51 changed files with 97 additions and 137 deletions
|
@ -48,8 +48,7 @@ use url::Url;
|
|||
use util::vec::byte_swap;
|
||||
|
||||
#[must_root]
|
||||
#[jstraceable]
|
||||
#[derive(Clone)]
|
||||
#[derive(JSTraceable, Clone)]
|
||||
pub enum CanvasFillOrStrokeStyle {
|
||||
Color(RGBA),
|
||||
Gradient(JS<CanvasGradient>),
|
||||
|
@ -68,8 +67,7 @@ pub struct CanvasRenderingContext2D {
|
|||
}
|
||||
|
||||
#[must_root]
|
||||
#[jstraceable]
|
||||
#[derive(Clone)]
|
||||
#[derive(JSTraceable, Clone)]
|
||||
struct CanvasContextState {
|
||||
global_alpha: f64,
|
||||
global_composition: CompositionOrBlending,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue