24 #ifndef __BULLETGLYPH_H__ 25 #define __BULLETGLYPH_H__ 29 #include "IPMStream.h" 30 #include "ITextAttrBulletCharacter.h" 40 int32 f_BulletCharacterValue;
47 std::vector<Fixed> f_Axes;
51 , f_BulletCharacterValue(0)
52 , f_FontUID(kInvalidUID)
57 const int32 bulletChar,
58 const UID fontUID = kInvalidUID,
60 const std::vector<Fixed> *axes = 0)
61 : f_BulletCharacterType(bulletType)
62 , f_BulletCharacterValue(bulletChar)
64 , f_FontFace(fontFace)
72 if (f_BulletCharacterType != other.f_BulletCharacterType ||
73 f_BulletCharacterValue != other.f_BulletCharacterValue)
79 if (f_FontUID != other.f_FontUID ||
80 !f_FontFace.
IsEqual(other.f_FontFace) ||
81 f_Axes != other.f_Axes)
90 XFER_ENUM(s, f_BulletCharacterType);
94 uchar na = uchar((int8)f_Axes.size());
95 int32 numAxes = (int8)s->
XferByte(na);
98 f_Axes.resize(numAxes);
102 for (int32 i = 0; i < numAxes; ++i)
108 typedef std::vector<BulletGlyph> BulletGlyphSet;
110 #endif // __BULLETGLYPH_H__