pub enum RasterTarget {
Mono,
Normal,
Light,
Lcd,
VerticalLcd,
}Expand description
The rasterization target for a hinted outline.
Variants§
Mono
One bit per pixel with no antialiasing. Hinting is strong and rounds in both directions.
Normal
Grayscale antialiasing.
Light
Grayscale antialiasing with lighter hinting. There is less adjustment in the horizontal direction, and the automatic hinter moves points only vertically.
Lcd
Subpixel rendering on a display whose subpixels run horizontally.
VerticalLcd
Subpixel rendering on a display whose subpixels run vertically.
Trait Implementations§
Source§impl Clone for RasterTarget
impl Clone for RasterTarget
Source§fn clone(&self) -> RasterTarget
fn clone(&self) -> RasterTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RasterTarget
Source§impl Debug for RasterTarget
impl Debug for RasterTarget
Source§impl Default for RasterTarget
impl Default for RasterTarget
Source§fn default() -> RasterTarget
fn default() -> RasterTarget
Returns the “default value” for a type. Read more
impl Eq for RasterTarget
Source§impl Hash for RasterTarget
impl Hash for RasterTarget
Source§impl PartialEq for RasterTarget
impl PartialEq for RasterTarget
impl StructuralPartialEq for RasterTarget
Auto Trait Implementations§
impl Freeze for RasterTarget
impl RefUnwindSafe for RasterTarget
impl Send for RasterTarget
impl Sync for RasterTarget
impl Unpin for RasterTarget
impl UnsafeUnpin for RasterTarget
impl UnwindSafe for RasterTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more