SavvyUI C++ UI Library
Loading...
Searching...
No Matches
Bounds Class Reference

#include <Common.h>

Public Member Functions

 Bounds ()
 Bounds (long x, long y, long x2, long y2)
void setWidth (long w)
void setHeight (long h)
void deflateRect (long numPixels)
void inflateRect (long numPixels)
long width () const
long height () const

Public Attributes

long left
long top
long right
long bottom

Constructor & Destructor Documentation

◆ Bounds() [1/2]

Bounds::Bounds ( )
inline

◆ Bounds() [2/2]

Bounds::Bounds ( long x,
long y,
long x2,
long y2 )
inline

Member Function Documentation

◆ deflateRect()

void Bounds::deflateRect ( long numPixels)
inline

◆ height()

long Bounds::height ( ) const
inline

◆ inflateRect()

void Bounds::inflateRect ( long numPixels)
inline

◆ setHeight()

void Bounds::setHeight ( long h)
inline

◆ setWidth()

void Bounds::setWidth ( long w)
inline

◆ width()

long Bounds::width ( ) const
inline

Member Data Documentation

◆ bottom

long Bounds::bottom

◆ left

long Bounds::left

◆ right

long Bounds::right

◆ top

long Bounds::top

The documentation for this class was generated from the following file: