Struct bdf::Glyph [] [src]

pub struct Glyph { /* fields omitted */ }

A font glyph.

Methods

impl Glyph
[src]

Creates a new glyph with the given name and codepoint.

Validates the definition.

Gets the name.

Sets the name.

Gets the codepoint.

Sets the codepoint.

Gets the direction.

Sets the direction.

Gets the scalable width.

Sets the scalable width.

Gets the device width.

Sets the device width.

Gets the alternate scalable width.

Sets the alternate scalable width.

Gets the alternate device width.

Sets the alternate device width.

Gets the offset vector.

Sets the offset vector.

Gets the bounds.

Sets the bounds.

Gets the bitmap.

Sets the bitmap.

Create an iterator over the pixels which will yield ((x, y), value).

Methods from Deref<Target = Bitmap>

Gets the width.

Gets the height.

Gets a bit from the map.

Sets a bit of the map.

Trait Implementations

impl Debug for Glyph
[src]

Formats the value using the given formatter.

impl Default for Glyph
[src]

Returns the "default value" for a type. Read more

impl Deref for Glyph
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for Glyph
[src]

The method called to mutably dereference a value