mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
style: Use cbindgen for fill and stroke.
Differential Revision: https://phabricator.services.mozilla.com/D36807
This commit is contained in:
parent
83da7c1535
commit
341023690c
5 changed files with 33 additions and 129 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue