SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scv::Scissor::Info Class Reference

#include <Scissor.h>

Public Member Functions

 Info (void)
 
 Info (GLint x, GLint y, GLsizei width, GLsizei height)
 
 Info (const std::string &str)
 
bool isInside (const Point &p) const
 
bool isValid (void) const
 
Point getPosition (void)
 
void operator+= (const Point &p)
 

Public Attributes

GLint x
 
GLint y
 
GLsizei width
 
GLsizei height
 

Friends

std::ostream & operator<< (std::ostream &stream, const Info &rhs)
 

Constructor & Destructor Documentation

scv::Scissor::Info::Info ( void  )
scv::Scissor::Info::Info ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)
scv::Scissor::Info::Info ( const std::string &  str)

Member Function Documentation

Point scv::Scissor::Info::getPosition ( void  )
inline
bool scv::Scissor::Info::isInside ( const Point p) const
bool scv::Scissor::Info::isValid ( void  ) const
inline
void scv::Scissor::Info::operator+= ( const Point p)
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Info rhs 
)
friend

Member Data Documentation

GLsizei scv::Scissor::Info::height
GLsizei scv::Scissor::Info::width
GLint scv::Scissor::Info::x
GLint scv::Scissor::Info::y

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