6 #ifndef STRUCTURAL_FLYWEIGHT_FONT_H_
7 #define STRUCTURAL_FLYWEIGHT_FONT_H_
18 explicit Font(
const std::string&
name);
20 std::string
name()
const;;
30 auto left_font_name = left_font.
name();
31 auto right_font_name = right_font.
name();
32 return left_font_name.compare(right_font_name) == 0;
Definition: shape_interface.h:11
bool operator==(const Font &left_font, const Font &right_font)
Definition: font.h:28
Font(const std::string &name)
Definition: font.cc:12
friend bool operator==(const Font &left_font, const Font &right_font)
Definition: font.h:28
std::string name() const
Definition: font.cc:14