| 860 | |
| 861 | private: |
| 862 | void drawTo(const Surface& s) const override { |
| 863 | DisplayOutput& out = s.out(); |
| 864 | out.setAddress(window_.xMin(), window_.yMin(), window_.xMax(), |
| 865 | window_.yMax(), BlendingMode::kSource); |
| 866 | out.fill(first_, first_count_); |
| 867 | out.fill(second_, second_count_); |
| 868 | } |
| 869 | |
| 870 | Box window_; |
| 871 | Color first_; |