style: Use cbindgen for fill and stroke.

Differential Revision: https://phabricator.services.mozilla.com/D36807
This commit is contained in:
Emilio Cobos Álvarez 2019-07-06 08:31:02 +00:00
parent 83da7c1535
commit 341023690c
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
5 changed files with 33 additions and 129 deletions

View file

@ -11,14 +11,13 @@ use crate::values::generics::svg as generic;
use crate::values::RGBA;
use crate::Zero;
pub use crate::values::specified::SVGPaintOrder;
pub use crate::values::specified::MozContextProperties;
pub use crate::values::specified::{SVGPaintOrder, MozContextProperties};
/// Computed SVG Paint value
pub type SVGPaint = generic::SVGPaint<Color, ComputedUrl>;
pub type SVGPaint = generic::GenericSVGPaint<Color, ComputedUrl>;
/// Computed SVG Paint Kind value
pub type SVGPaintKind = generic::SVGPaintKind<Color, ComputedUrl>;
pub type SVGPaintKind = generic::GenericSVGPaintKind<Color, ComputedUrl>;
impl SVGPaint {
/// Opaque black color