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

pub enum RasterizationOptions {
    Bilevel,
    GrayscaleAa,
    SubpixelAa,
}

The antialiasing strategy that should be used when rasterizing glyphs.

Variants

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

Grayscale antialiasing. Only one channel is used.

Subpixel RGB antialiasing, for LCD screens.

Trait Implementations

impl Clone for RasterizationOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RasterizationOptions
[src]

impl Debug for RasterizationOptions
[src]

Formats the value using the given formatter. Read more

impl PartialEq for RasterizationOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations