[][src]Struct screen_13::gpu::font::FontOp

pub struct FontOp { /* fields omitted */ }

A container of graphics types and the functions which allows the recording and submission of bitmapped font operations.

Implementations

impl FontOp[src]

#[must_use]pub fn with_outline<C>(&mut self, color: C) -> &mut Self where
    C: Into<AlphaColor>, 
[src]

Sets the font outline color to use.

#[must_use]pub fn with_transform(&mut self, transform: Mat4) -> &mut Self[src]

Sets the generalized output transform to use.gradient

NOTE: Overrides placement options.

pub fn record(&mut self, font: &Font, text: &str)[src]

Submits the given font for hardware processing.

Trait Implementations

impl Drop for FontOp[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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

type Error = Infallible

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.