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

Method drawTo

test/drawing_context_test.cpp:278–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276
277 private:
278 void drawTo(const Surface& s) const override {
279 DrawingContext dc(s);
280 dc.draw(MyLine());
281 dc.draw(MyLine(), 3, 2);
282 dc.setTransformation(Transformation().scale(1, 3));
283 dc.draw(MyLine(), 3, 4);
284 }
285 };
286
287 FakeOffscreen<Argb4444> test_screen(10, 11, color::Black);

Callers

nothing calls this directly

Calls 5

MyLineClass · 0.85
TransformationClass · 0.85
setTransformationMethod · 0.80
drawMethod · 0.45
scaleMethod · 0.45

Tested by

no test coverage detected