mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Implement create_gradient_stops()
This commit is contained in:
parent
89b8bd516f
commit
7c81d20869
2 changed files with 16 additions and 4 deletions
|
@ -302,14 +302,14 @@ pub enum GradientStop {
|
|||
#[cfg(feature = "canvas2d-azure")]
|
||||
Azure(azure::AzGradientStop),
|
||||
#[cfg(feature = "canvas2d-raqote")]
|
||||
Raqote(()),
|
||||
Raqote(raqote::GradientStop),
|
||||
}
|
||||
|
||||
pub enum GradientStops {
|
||||
#[cfg(feature = "canvas2d-azure")]
|
||||
Azure(azure::azure_hl::GradientStops),
|
||||
#[cfg(feature = "canvas2d-raqote")]
|
||||
Raqote(()),
|
||||
Raqote(Vec<raqote::GradientStop>),
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue