libqxp::Rect Struct Reference

#include <QXPTypes.h>

Public Member Functions

 Rect ()
 
 Rect (double t, double r, double b, double l)
 
double width () const
 
double height () const
 
Point center () const
 
Point topLeft () const
 
Point topRight () const
 
Point bottomRight () const
 
Point bottomLeft () const
 
Rect shrink (const double diff) const
 

Public Attributes

double top
 
double right
 
double bottom
 
double left
 

Constructor & Destructor Documentation

libqxp::Rect::Rect ( )

Referenced by shrink().

libqxp::Rect::Rect ( double  t,
double  r,
double  b,
double  l 
)

Member Function Documentation

Point libqxp::Rect::bottomLeft ( ) const
Point libqxp::Rect::bottomRight ( ) const
Point libqxp::Rect::center ( ) const
double libqxp::Rect::height ( ) const

Referenced by center().

Rect libqxp::Rect::shrink ( const double  diff) const
Point libqxp::Rect::topLeft ( ) const

Referenced by center().

Point libqxp::Rect::topRight ( ) const
double libqxp::Rect::width ( ) const

Referenced by center().

Member Data Documentation


The documentation for this struct was generated from the following files:

Generated for libqxp by doxygen 1.8.6