7 * A character in a font is represented by this special block class.
9 * @author Andrew Mustun
11 class FontChar: public Block
15 * @param parent The font this block belongs to.
16 * @param name The name of the letter (a unicode char) used as
18 * @param basePoint Base point (offset) of the letter (usually 0/0).
20 FontChar(EntityContainer * parent, const QString & name, Vector basePoint):
21 Block(parent, BlockData(name, basePoint, false)) {}
23 virtual ~FontChar() {}
25 /** @return RS2::EntityFontChar */
26 virtual RS2::EntityType rtti() const
28 return RS2::EntityFontChar;
31 /*friend std::ostream& operator << (std::ostream& os, const FontChar& b) {
32 os << " name: " << b.getName().latin1() << "\n";
33 os << " entities: " << (EntityContainer&)b << "\n";