Struct swash::Synthesis [−][src]
pub struct Synthesis { /* fields omitted */ }
Synthesis suggestions for mistmatched font attributes.
This is generated by the synthesize
method on
Attributes
.
Implementations
impl Synthesis
[src]
impl Synthesis
[src]pub fn any(&self) -> bool
[src]
Returns true if any synthesis suggestions are available.
pub fn variations(&self) -> &[TagAndValue<f32>]ⓘ
[src]
Returns the variations that should be applied to match the requested attributes.
pub fn embolden(&self) -> bool
[src]
Returns true if the scaler should apply a faux bold.
pub fn skew(&self) -> Option<f32>
[src]
Returns a skew angle for faux italic/oblique, if requested.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Synthesis
impl RefUnwindSafe for Synthesis
impl UnwindSafe for Synthesis
impl UnwindSafe for Synthesis