MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ofClipWindow

Function ofClipWindow

Source/OpenFrameworksPort.cpp:200–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void ofClipWindow(float x, float y, float width, float height, bool intersectWithExisting)
201{
202 if (intersectWithExisting)
203 nvgIntersectScissor(gNanoVG, x, y, width, height);
204 else
205 nvgScissor(gNanoVG, x, y, width, height);
206}
207
208void ofResetClipWindow()
209{

Callers 15

RenderMethod · 0.85
DrawToFramebufferMethod · 0.85
DrawRoutingDisplayMethod · 0.85
DrawControlsMethod · 0.85
RenderMethod · 0.85
DrawModuleMethod · 0.85
DrawMethod · 0.85
DrawModuleMethod · 0.85
RenderMethod · 0.85
DrawModuleMethod · 0.85
RenderMethod · 0.85

Calls 2

nvgIntersectScissorFunction · 0.85
nvgScissorFunction · 0.85

Tested by

no test coverage detected