#include <Charset.h>

Public Member Functions | |
| const GlyphMapping & | operator[] (const unsigned char &dots) const |
| Does Charset::operator[](const unsigned char&) with the dots mirrored. | |
| const unsigned char | operator[] (const GlyphMapping &letter) const |
| Does Charset::operator[](const std::wstring&) with the dots mirrored. | |
| DotsMirror (const Charset &my_charset) | |
| Constructor: sets our const reference to the current charset. | |
Static Public Member Functions | |
| static const unsigned char | mir (const unsigned char &dots) |
| Mirrors the positions of Braille dots around the vertical axis. | |
Public Attributes | |
| const Charset & | charset |
| Refers to the Charset object to which this mirror is applied. | |
This class shadows the []-based lookup operations in Charset and causes all instances of braille cell dots to be mirrored about the vertical axis. Useful for the Braille Tutor itself, where users must enter the mirror image of Braille dots into the slate cells.
| static const unsigned char BrailleTutorNS::DotsMirror::mir | ( | const unsigned char & | dots | ) | [inline, static] |
Mirrors the positions of Braille dots around the vertical axis.
Returns a new dot pattern with dots 1,2,3 swapped with dots 4,5,6 and dot 7 swapped with dot 8. Useful for the Braille Tutor itself, where users must enter the mirror image of Braille dots into the slate cells.
1.5.3