Implement create_gradient_stops()

This commit is contained in:
pylbrecht 2019-08-29 14:17:03 +02:00
parent 89b8bd516f
commit 7c81d20869
2 changed files with 16 additions and 4 deletions

View file

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