MCPcopy Create free account
hub / github.com/VCVRack/Rack / draw

Method draw

include/widget/TransformWidget.hpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void draw(const DrawArgs& args) override {
47 // No need to save the state because that is done in the parent
48 nvgTransform(args.vg, transform[0], transform[1], transform[2], transform[3], transform[4], transform[5]);
49 Widget::draw(args);
50 }
51
52 void drawLayer(const DrawArgs& args, int layer) override {
53 // No need to save the state because that is done in the parent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected