QGIS API Documentation 3.41.0Master (fda2aa46e9a)

Go to the source code of this file.
Classes  
class  QgsMargins 
The QgsMargins class defines the four margins of a rectangle. More...  
Functions  
bool  operator!= (const QgsMargins &lhs, const QgsMargins &rhs) 
Returns lhs and rhs are different; otherwise returns  
QgsMargins  operator* (const QgsMargins &margins, double factor) 
Returns a QgsMargins object that is formed by multiplying each component of the given margins by factor.  
QgsMargins  operator* (double factor, const QgsMargins &margins) 
Returns a QgsMargins object that is formed by multiplying each component of the given margins by factor.  
QgsMargins  operator+ (const QgsMargins &lhs, double rhs) 
Returns a QgsMargins object that is formed by adding rhs to lhs.  
QgsMargins  operator+ (const QgsMargins &m1, const QgsMargins &m2) 
Returns a QgsMargins object that is the sum of the given margins, m1 and m2; each component is added separately.  
QgsMargins  operator+ (const QgsMargins &margins) 
Returns a QgsMargins object that is formed from all components of margins.  
QgsMargins  operator+ (double lhs, const QgsMargins &rhs) 
Returns a QgsMargins object that is formed by adding lhs to rhs.  
QgsMargins  operator (const QgsMargins &lhs, double rhs) 
Returns a QgsMargins object that is formed by subtracting rhs from lhs.  
QgsMargins  operator (const QgsMargins &m1, const QgsMargins &m2) 
Returns a QgsMargins object that is formed by subtracting m2 from m1; each component is subtracted separately.  
QgsMargins  operator (const QgsMargins &margins) 
Returns a QgsMargins object that is formed by negating all components of margins.  
QgsMargins  operator/ (const QgsMargins &margins, double divisor) 
Returns a QgsMargins object that is formed by dividing the components of the given margins by the given divisor.  
bool  operator== (const QgsMargins &lhs, const QgsMargins &rhs) 
Returns lhs and rhs are equal; otherwise returns  
Q_DECLARE_TYPEINFO (QgsMargins, Q_MOVABLE_TYPE)  

inline 
Returns
lhs and rhs are different; otherwise returns true
iffalse
.
Definition at line 193 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by multiplying each component of the given margins by factor.
Definition at line 249 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by multiplying each component of the given margins by factor.
Definition at line 259 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by adding rhs to lhs.
Definition at line 221 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is the sum of the given margins, m1 and m2; each component is added separately.
Definition at line 202 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed from all components of margins.
Definition at line 316 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by adding lhs to rhs.
Definition at line 230 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by subtracting rhs from lhs.
Definition at line 239 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by subtracting m2 from m1; each component is subtracted separately.
Definition at line 212 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by negating all components of margins.
Definition at line 324 of file qgsmargins.h.

inline 
Returns a QgsMargins object that is formed by dividing the components of the given margins by the given divisor.
Definition at line 269 of file qgsmargins.h.

inline 
Returns
lhs and rhs are equal; otherwise returns true
iffalse
.
Definition at line 182 of file qgsmargins.h.
Q_DECLARE_TYPEINFO  (  QgsMargins  , 
Q_MOVABLE_TYPE  
) 