kig
rect.h
Go to the documentation of this file.
void moveBy(const Coordinate p)
moves the rect while keeping the size constant...
Definition: rect.cc:144
Rect operator|(const Rect &lhs, const Rect &rhs)
this operator returns a Rect that contains both the given rects.
Definition: rect.cc:267
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
Rect matchShape(const Rect &rhs, bool shrink=false) const
return a rect which is a copy of this rect, but has an aspect ratio equal to rhs's one...
Definition: rect.cc:282
void setContains(Coordinate p)
this makes sure p is in the rect, extending it if necessary...
Definition: rect.cc:240
void scale(const double r)
scale: only the size changes, topLeft is kept where it is...
Definition: rect.cc:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.