DataContainer for communication between Rasterizer and PrinterBackend
We need to specify an interface for a data reprepsentation, that can be generated by the rasterizer and later in used by the printer backend for further processing.
In earlier meetings we agreed on two types:
- A (2D) matrix like representation where each elements corresponds to the state of one Braille Dot (set/not_set OR a float/byte for the strength if we want to enable the usage of tactile printers later on).
This can be used for normal Braille printing (ASCII) as well as the graphical printing mode.
- has constant size (Heigh and Width)
- can be queried for the state of a specific Braile dot at a certain position
- holds information about the gap between individual dots and Braille cells (maybe by a reference to a document properties object?)
- A list containing the positions of dots that should be printed.
This can be used for the floating point printing mode.
The classes and interfaces should be integrated in a separate java package.
This issue is a prerequisite for the implementation of the rasterizer and the finalization of the printer backend(#4 (closed)).