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

Method lineTo

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

* @brief Adds a straight line segment from the cursor to (x, y). */

Source from the content-addressed store, hash-verified

928 * @brief Adds a straight line segment from the cursor to (x, y).
929 */
930void Widgets::PainterContext::lineTo(qreal x, qreal y)
931{
932 m_path.lineTo(x, y);
933}
934
935/**
936 * @brief Adds a closed rectangle subpath at (x, y) with size (w, h).

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
trace_pathFunction · 0.80
paintFunction · 0.80
handFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected