libqxp::Rect Struct Reference

#include <QXPTypes.h>

List of all members.

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

Referenced by shrink().

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

Member Function Documentation

double libqxp::Rect::height ( ) const

Referenced by center().

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

Referenced by center().

double libqxp::Rect::width ( ) const

Referenced by center().


Member Data Documentation


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