Struct svgbob::Grid[][src]

pub struct Grid {
    pub settings: Settings,
    // some fields omitted
}

Fields

Methods

impl Grid
[src]

instantiate a grid from input ascii text Issues:

  1. 2-width, 5 bytes, single character i.e. 统
  2. 1-width, 2 bytes, single character i.e. ö
  3. 1-width, 3 bytes, single character i.e. o͡͡͡

get the maximum row len

get a character at this location widths are computed since there are characters that spans 2 columns and characters that has 0 width

get the focus char at this location

get the generated svg according to the settings specified

Trait Implementations

impl Debug for Grid
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Grid

impl Sync for Grid