| 257 | } |
| 258 | |
| 259 | size_t FontStyle::hash() const { |
| 260 | return static_cast<size_t>(_width) | static_cast<size_t>(_weight) << 8 | static_cast<size_t>(_slant) << 16; |
| 261 | } |
| 262 | |
| 263 | bool FontStyle::operator==(const FontStyle& other) const { |
| 264 | return _width == other._width && _weight == other._weight && _slant == other._slant; |
no outgoing calls
no test coverage detected