Tc Unicode Helper
Public Member Functions | Public Attributes | List of all members
tcgfx::Coord Struct Reference

#include <tcUnicodeHelper.h>

Public Member Functions

 Coord ()
 
 Coord (int x, int y)
 
 Coord (const Coord &other)=default
 
Coordoperator= (const Coord &other)=default
 

Public Attributes

int16_t x
 
int16_t y
 

Detailed Description

A structure that holds both X and Y direction in a single 32 bit integer. Both x and y are public

Constructor & Destructor Documentation

◆ Coord() [1/2]

tcgfx::Coord::Coord ( )

default construction sets values to 0

◆ Coord() [2/2]

tcgfx::Coord::Coord ( int  x,
int  y 
)

Create a coord based on an X and Y location

Parameters
xthe x location
ythe y location

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