Sharpie
Search Results for

    Show / Hide Table of Contents
    • Sharpie
      • Canvas
      • Canvas.CheckGlyphStyle
      • Canvas.FillStyle
      • Canvas.GlyphSize
      • Canvas.GradientGlyphStyle
      • Canvas.LineStyle
      • Canvas.Orientation
      • Canvas.ShadeGlyphStyle
      • Canvas.TriangleGlyphStyle
      • CaretMode
      • ClearStrategy
      • ColorManager
      • ColorMixture
      • ColorMode
      • ControlCharacter
      • CursesException
      • CursesInitializationException
      • CursesOperationException
      • CursesSynchronizationException
      • DelegateEvent
      • Event
      • EventPump
      • EventType
      • Key
      • KeyEvent
      • KeySequenceResolver
      • ModifierKey
      • MouseActionEvent
      • MouseButton
      • MouseButtonState
      • MouseMoveEvent
      • Pad
      • ReplaceStrategy
      • ResolveEscapeSequenceFunc
      • Screen
      • SoftLabelKeyAlignment
      • SoftLabelKeyManager
      • SoftLabelKeyMode
      • StandardColor
      • StartEvent
      • StopEvent
      • Style
      • StyledText
      • SubPad
      • SubWindow
      • Surface
      • Terminal
      • TerminalOptions
      • TerminalResizeEvent
      • TerminalSurface
      • VideoAttribute
      • Window
    • Sharpie.Abstractions
      • IAsciiFont
      • IColorManager
      • ICursesBackend
      • ICursesBackend.ripoffline_callback
      • IDrawSurface
      • IDrawable
      • IEventPump
      • IInterval
      • IPad
      • IScreen
      • ISoftLabelKeyManager
      • ISubPad
      • ISubWindow
      • ISurface
      • ITerminal
      • ITerminalSurface
      • IWindow
    • Sharpie.Backend
      • ComplexChar
      • CursesBackend
      • CursesBackendFlavor
      • CursesBackendType
      • CursesCharEvent
      • CursesEvent
      • CursesKeyEvent
      • CursesMouseEvent
      • CursesMouseState
      • CursesResizeEvent
      • NCursesKeyCode
      • PdCursesKeyCode
    • Sharpie.Font
      • AsciiFont
      • AsciiFontLayout
      • DosCp866AsciiFont
      • FigletFont

    Class DosCp866AsciiFont

    DOS CodePage 866 font. Uncovered in the depths of Alexandru's prehistoric archives. Original source unknown.

    Inheritance
    object
    AsciiFont
    DosCp866AsciiFont
    Implements
    IAsciiFont
    Inherited Members
    AsciiFont.Baseline
    AsciiFont.Height
    AsciiFont.Name
    AsciiFont.Layout
    AsciiFont.GetGlyph(Rune, Style)
    AsciiFont.GetGlyphs(string, Style)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Sharpie.Font
    Assembly: sharpie.dll
    Syntax
    [PublicAPI]
    public sealed class DosCp866AsciiFont : AsciiFont, IAsciiFont

    Properties

    FullWidth

    Gets the DOS CodePage 866 font.

    Declaration
    public static IAsciiFont FullWidth { get; }
    Property Value
    Type Description
    IAsciiFont

    Methods

    GetGlyphs(ReadOnlySpan<Rune>, Style)

    Tries to get a drawing for a given list of chars.

    Declaration
    public override IDrawable GetGlyphs(ReadOnlySpan<Rune> chars, Style style)
    Parameters
    Type Name Description
    ReadOnlySpan<Rune> chars

    The characters.

    Style style

    The style to apply to the glyphs.

    Returns
    Type Description
    IDrawable

    The output glyphs.

    Overrides
    AsciiFont.GetGlyphs(ReadOnlySpan<Rune>, Style)
    Exceptions
    Type Condition
    ArgumentException

    Thrown if chars is empty.

    HasGlyph(Rune)

    Checks if the font contains a given glyph.

    Declaration
    public override bool HasGlyph(Rune @char)
    Parameters
    Type Name Description
    Rune char

    The character.

    Returns
    Type Description
    bool

    true if the font contains the given glyph; false otherwise.

    Overrides
    AsciiFont.HasGlyph(Rune)

    Implements

    IAsciiFont
    In this article
    Back to top Generated by DocFX