+ FontInfo(
+ FontFamily family,
+ FontSeries series,
+ FontShape shape,
+ FontSize size,
+ ColorCode color,
+ ColorCode background,
+ FontState emph,
+ FontState underbar,
+ FontState strikeout,
+ FontState uuline,
+ FontState uwave,
+ FontState noun,
+ FontState number)
+ : family_(family), series_(series), shape_(shape), size_(size),
+ color_(color), background_(background), paint_color_(), emph_(emph),
+ underbar_(underbar), strikeout_(strikeout), uuline_(uuline),
+ uwave_(uwave), noun_(noun), number_(number)
+ {}
+
+ /// Decreases font size by one
+ FontInfo & decSize();
+ /// Increases font size by one
+ FontInfo & incSize();
+
+ /// Accessor methods.
+ ///@{
+ FontFamily family() const { return family_; }
+ void setFamily(FontFamily f) { family_ = f; }
+ FontSeries series() const { return series_; }
+ void setSeries(FontSeries s) { series_ = s; }
+ FontShape shape() const { return shape_; }
+ void setShape(FontShape s) { shape_ = s; }
+ FontSize size() const { return size_; }
+ void setSize(FontSize s) { size_ = s; }
+ FontState emph() const { return emph_; }
+ void setEmph(FontState e) { emph_ = e; }
+ FontState underbar() const { return underbar_; }
+ void setUnderbar(FontState u) { underbar_ = u; }
+ FontState strikeout() const { return strikeout_; }
+ void setStrikeout(FontState s) { strikeout_ = s; }
+ FontState uuline() const { return uuline_; }
+ void setUuline(FontState s) { uuline_ = s; }
+ FontState uwave() const { return uwave_; }
+ void setUwave(FontState s) { uwave_ = s; }
+ FontState noun() const { return noun_; }
+ void setNoun(FontState n) { noun_ = n; }
+ FontState number() const { return number_; }
+ void setNumber(FontState n) { number_ = n; }
+ ColorCode color() const { return color_; }
+ void setColor(ColorCode c) { color_ = c; }
+ ColorCode background() const { return background_; }
+ void setBackground(ColorCode b) { background_ = b; }
+ ///@}