Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
Loading...
Searching...
No Matches
TFTPoint Struct Reference

The position of a pixel on a TFT display, given in Cartesian coordinates. More...

#include <TFT.h>

Public Member Functions

bool operator== (const TFTPoint &other) const

Public Attributes

unsigned x
unsigned y

Detailed Description

The position of a pixel on a TFT display, given in Cartesian coordinates.

The coordinates are non-negative integers. The top-left of the screen is the origin, and the bottom-right is (W,H) where W and H are the width and height of the screen given by TFTDriver::getScreenWidth and TFTDriver::getScreenHeight, respectively.

Member Function Documentation

◆ operator==()

bool TFTPoint::operator== ( const TFTPoint & other) const
inline

Member Data Documentation

◆ x

unsigned TFTPoint::x

◆ y

unsigned TFTPoint::y

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