TouchCPLib  1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
Rect Struct Reference

#include <Rect.h>

Public Member Functions

 operator SDL_Rect () const
 

Static Public Member Functions

static Rect fromCoords (Point p1, Point p2)
 

Public Attributes

int x
 
int y
 
int width
 
int height
 

Member Function Documentation

◆ fromCoords()

static Rect Rect::fromCoords ( Point  p1,
Point  p2 
)
inlinestatic

◆ operator SDL_Rect()

Rect::operator SDL_Rect ( ) const
inline

Member Data Documentation

◆ height

int Rect::height

◆ width

int Rect::width

◆ x

int Rect::x

◆ y

int Rect::y

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