Sizer
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
SizerRect Struct Reference

Rectangle defined by a point and size. More...

#include <Sizer.h>

Public Member Functions

 SizerRect (int x=0, int y=0, int width=0, int height=0)
 
 SizerRect (const SizerPoint &topLeft, const SizerSize &size)
 
void Set (int x, int y, int w, int h)
 

Public Attributes

SizerPoint p
 
SizerSize s
 

Detailed Description

Rectangle defined by a point and size.

Constructor & Destructor Documentation

SizerRect::SizerRect ( int  x = 0,
int  y = 0,
int  width = 0,
int  height = 0 
)
inline

...

SizerRect::SizerRect ( const SizerPoint topLeft,
const SizerSize size 
)
inline

...

Member Function Documentation

void SizerRect::Set ( int  x,
int  y,
int  w,
int  h 
)
inline

Change after construction.

Member Data Documentation

SizerPoint SizerRect::p

top-left position of the rectangle

SizerSize SizerRect::s

size of the rectangle


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