MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / beginPath

Method beginPath

app/src/UI/Widgets/PainterContext.cpp:906–909  ·  view source on GitHub ↗

* @brief Starts a new path, discarding any previous subpaths. */

Source from the content-addressed store, hash-verified

904 * @brief Starts a new path, discarding any previous subpaths.
905 */
906void Widgets::PainterContext::beginPath()
907{
908 m_path = QPainterPath();
909}
910
911/**
912 * @brief Closes the current subpath with a line to its starting point.

Callers 15

drawLineFunction · 0.80
drawMinorFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
paintFunction · 0.80
trace_pathFunction · 0.80
paintFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected