KDecoration3
scalehelpers.h
61 return QRectF(snapToPixelGrid(value.topLeft(), scale), snapToPixelGrid(value.bottomRight(), scale));
qreal snapToPixelGrid(qreal value, qreal scale)
snaps the logical geometry value to a fractional logical geometry value that aligns to the pixel grid...
Definition scalehelpers.h:29
qreal x() const const
qreal y() const const
QPointF bottomRight() const const
QPointF topLeft() const const
qreal height() const const
qreal width() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:48 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.