Example #1
0
 unsigned num_characters() const
 {
     return characters_.size();
 }
Example #2
0
 void add_info(char_info const& info)
 {
     characters_.push_back(info);
 }
Example #3
0
 /** Resets object to initial state. */
 void clear(void)
 {
     text_ = "";
     characters_.clear();
 }
Example #4
0
 std::size_t num_characters() const
 {
     return characters_.size();
 }
Example #5
0
 // Resets object to initial state.
 void clear()
 {
     text_.remove();
     characters_.clear();
 }
 void add_info(int c, double width, double height)
 {
   characters_.push_back(new character_info(c, width, height));
 }