MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / draw

Method draw

src/GUIHolder.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void GUIHolder::draw(SkCanvas* canvas, bool skiaAA) {
132 if(!gui.io.surface) {
133 gui.io.surface = main.create_native_surface(main.window.size, true);
134 gui.io.redrawSurface = true;
135 }
136
137 gui.draw(canvas, skiaAA);
138}
139
140void GUIHolder::input_paste_callback(const CustomEvents::PasteEvent& paste) {
141 gui.input_paste_callback(paste);

Callers

nothing calls this directly

Calls 1

create_native_surfaceMethod · 0.80

Tested by

no test coverage detected