[][src]Enum font_kit::canvas::RasterizationOptions

pub enum RasterizationOptions {
    Bilevel,
    GrayscaleAa,
    SubpixelAa,
}

The antialiasing strategy that should be used when rasterizing glyphs.

Variants

Bilevel

"Black-and-white" rendering. Each pixel is either entirely on or off.

GrayscaleAa

Grayscale antialiasing. Only one channel is used.

SubpixelAa

Subpixel RGB antialiasing, for LCD screens.

Trait Implementations

impl Clone for RasterizationOptions[src]

impl Copy for RasterizationOptions[src]

impl PartialEq<RasterizationOptions> for RasterizationOptions[src]

impl Debug for RasterizationOptions[src]

impl StructuralPartialEq for RasterizationOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]