MCPcopy Create free account
hub / github.com/DISTRHO/DPF / draw

Method draw

dgl/src/OpenGL2.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87template<typename T>
88void Line<T>::draw(const GraphicsContext&, const T width)
89{
90 DISTRHO_SAFE_ASSERT_RETURN(width != 0,);
91
92 glLineWidth(static_cast<GLfloat>(width));
93 drawLine<T>(posStart, posEnd);
94}
95
96#ifdef DGL_ALLOW_DEPRECATED_METHODS
97template<typename T>

Callers 1

onDisplayMethod · 0.45

Calls 1

drawOpenGLImageFunction · 0.85

Tested by

no test coverage detected