MCPcopy Create free account
hub / github.com/dejwk/roo_display / drawTo

Method drawTo

test/background_fill_optimizer_test.cpp:862–868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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_;

Callers

nothing calls this directly

Calls 6

xMinMethod · 0.80
yMinMethod · 0.80
xMaxMethod · 0.80
yMaxMethod · 0.80
setAddressMethod · 0.45
fillMethod · 0.45

Tested by

no test coverage detected