Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BespokeSynth/BespokeSynth
/ ofLine
Function
ofLine
Source/OpenFrameworksPort.cpp:335–341 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
333
}
334
335
void ofLine(float x1, float y1, float x2, float y2)
336
{
337
nvgBeginPath(gNanoVG);
338
nvgMoveTo(gNanoVG, x1, y1);
339
nvgLineTo(gNanoVG, x2, y2);
340
nvgStroke(gNanoVG);
341
}
342
343
void ofLine(ofVec2f v1, ofVec2f v2)
344
{
Callers
15
DrawModule
Method · 0.85
DrawRoutingDisplay
Method · 0.85
DrawModule
Method · 0.85
DrawToPush2Screen
Method · 0.85
DrawModule
Method · 0.85
DrawModule
Method · 0.85
DrawModule
Method · 0.85
DrawBeatwheel
Method · 0.85
DrawModule
Method · 0.85
DrawModule
Method · 0.85
DrawModule
Method · 0.85
Draw
Method · 0.85
Calls
4
nvgBeginPath
Function · 0.85
nvgMoveTo
Function · 0.85
nvgLineTo
Function · 0.85
nvgStroke
Function · 0.85
Tested by
1
DrawModule
Method · 0.68