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

Method drawOutline

dgl/src/Cairo.cpp:162–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160
161template<typename T>
162void Circle<T>::drawOutline(const GraphicsContext& context, const T lineWidth)
163{
164 DISTRHO_SAFE_ASSERT_RETURN(lineWidth != 0,);
165
166 cairo_t* const handle = static_cast<const CairoGraphicsContext&>(context).handle;
167
168 cairo_set_line_width(handle, lineWidth);
169 drawCircle<T>(handle, fPos, fNumSegments, fSize, fSin, fCos, true);
170}
171
172#ifdef DGL_ALLOW_DEPRECATED_METHODS
173template<typename T>

Callers

nothing calls this directly

Calls 2

notImplementedFunction · 0.70
drawRectangleFunction · 0.70

Tested by

no test coverage detected