Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="brailleInterpreter">The braille interpreter. Interprets characters and turn them into dott patterns.</param>
 /// <param name="renderingProperties">The rendering properties to indiviualize the rendering result.</param>
 public MatrixBrailleRenderer(IBrailleInterpreter brailleInterpreter, RenderingProperties renderingProperties = RenderingProperties.NONE)
 {
     BrailleInterpreter  = brailleInterpreter;
     RenderingProperties = renderingProperties;
 }
Ejemplo n.º 2
0
 public BrailleConverter()
 {
     brailleInterpreter = new BrailleIO.Renderer.BrailleInterpreter.SimpleBrailleInterpreter();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="renderingProperties">The rendering properties.</param>
 public MatrixBrailleRenderer(RenderingProperties renderingProperties = RenderingProperties.NONE, IBrailleInterpreter _brailleInterpreter = null)
     : this(_brailleInterpreter == null ? stdBrlIntrprtr : _brailleInterpreter, renderingProperties)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatrixBrailleRenderer"/> class.
 /// </summary>
 /// <param name="brailleInterpreter">The braille interpreter. Interprets characters and turn them into dott patterns.</param>
 /// <param name="renderingProperties">The rendering properties to indiviualize the rendering result.</param>
 public MatrixBrailleRenderer(IBrailleInterpreter brailleInterpreter, RenderingProperties renderingProperties = RenderingProperties.NONE)
 {
     BrailleInterpreter  = brailleInterpreter;
     RenderingProperties = renderingProperties;
     loadConfiguration();
 }