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-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:55:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.