Esempio n. 1
0
        protected Glyph One()
        {
            Glyph glyph = new Glyph();

            glyph.Add(HalfWidth, 0, false);
            glyph.Add(HalfWidth, Height, true);

            glyph.Add(Width + Unit, 0, false);
            return(glyph);
        }
Esempio n. 2
0
        protected Glyph Dash()
        {
            Glyph glyph = new Glyph();

            glyph.Add(0, HalfHeight, false);
            glyph.Add(Width, HalfHeight, true);

            glyph.Add(Width + Unit, 0, false);
            return(glyph);
        }
Esempio n. 3
0
        protected Glyph Colon()
        {
            Glyph glyph = new Glyph();

            glyph.Add(HalfWidth, Unit, false);
            glyph.Add(HalfWidth, Unit * 3, true);

            glyph.Add(HalfWidth, Unit * 5, false);
            glyph.Add(HalfWidth, Unit * 7, true);

            glyph.Add(Width + Unit, 0, false);
            return(glyph);
        }
Esempio n. 4
0
        protected Glyph Tab()
        {
            Glyph glyph = new Glyph();

            glyph.Add((Width + Unit) * 2, 0, false);
            return(glyph);
        }
Esempio n. 5
0
        protected Glyph Space()
        {
            Glyph glyph = new Glyph();

            glyph.Add(Width, 0, false);
            return(glyph);
        }
Esempio n. 6
0
        protected Glyph Zero()
        {
            Glyph glyph = new Glyph();

            glyph.Add(Unit, 0, false);
            glyph.Add(0, Unit, true);
            glyph.Add(0, Height - Unit, true);
            glyph.Add(Unit, Height, true);
            glyph.Add(Width - Unit, 1, true);
            glyph.Add(Width, Height - Unit, true);
            glyph.Add(Width, Unit, true);
            glyph.Add(Width - Unit, 0, true);
            glyph.Add(Unit, 0, true);
            glyph.Add(Width - Unit, Height, true);

            glyph.Add(Width + Unit, 0, false);
            return(glyph);
        }