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

Method width

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

* @brief Returns the current canvas width in logical pixels. */

Source from the content-addressed store, hash-verified

1514 * @brief Returns the current canvas width in logical pixels.
1515 */
1516qreal Widgets::PainterContext::width() const noexcept
1517{
1518 return m_width;
1519}
1520
1521/**
1522 * @brief Returns the current canvas height in logical pixels.

Callers 15

collapseExpandFunction · 0.80
jquery.jsFile · 0.80
getViewportDimensionsFunction · 0.80
trackResizeFunction · 0.80
updateLineGeometryMethod · 0.80
updateLineNumberAreaMethod · 0.80
proceedCompleterEndMethod · 0.80
sizeHintMethod · 0.80
paintEventMethod · 0.80
drawButtonMethod · 0.80
mouseMoveEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected