HOG2
Public Member Functions | Public Attributes | List of all members
Graphics::Display::data Struct Reference

#include <Graphics.h>

Collaboration diagram for Graphics::Display::data:
Collaboration graph
[legend]

Public Member Functions

 data (shapeInfo d, tDrawClass t, uint8_t view)
 
 data (drawInfo d, tDrawClass t, uint8_t view)
 
 data (lineInfo l, uint8_t view)
 
 data (triangleInfo t, tDrawClass d, uint8_t view)
 

Public Attributes

tDrawClass what
 
union {
   drawInfo   shape
 
   shapeInfo   polygon
 
   lineInfo   line
 
   triangleInfo   triangle
 
}; 
 
uint8_t viewport
 

Detailed Description

Definition at line 226 of file Graphics.h.

Constructor & Destructor Documentation

◆ data() [1/4]

Graphics::Display::data::data ( shapeInfo  d,
tDrawClass  t,
uint8_t  view 
)
inline

Definition at line 227 of file Graphics.h.

References d, polygon, and what.

◆ data() [2/4]

Graphics::Display::data::data ( drawInfo  d,
tDrawClass  t,
uint8_t  view 
)
inline

Definition at line 233 of file Graphics.h.

References d, shape, and what.

◆ data() [3/4]

Graphics::Display::data::data ( lineInfo  l,
uint8_t  view 
)
inline

Definition at line 239 of file Graphics.h.

References Graphics::Display::kLine, line, and what.

◆ data() [4/4]

Graphics::Display::data::data ( triangleInfo  t,
tDrawClass  d,
uint8_t  view 
)
inline

Definition at line 245 of file Graphics.h.

References d, triangle, and what.

Member Data Documentation

◆ @14

union { ... }

◆ line

lineInfo Graphics::Display::data::line

Definition at line 255 of file Graphics.h.

Referenced by data().

◆ polygon

shapeInfo Graphics::Display::data::polygon

Definition at line 254 of file Graphics.h.

Referenced by data().

◆ shape

drawInfo Graphics::Display::data::shape

Definition at line 253 of file Graphics.h.

Referenced by data().

◆ triangle

triangleInfo Graphics::Display::data::triangle

Definition at line 256 of file Graphics.h.

Referenced by data().

◆ viewport

uint8_t Graphics::Display::data::viewport

Definition at line 258 of file Graphics.h.

◆ what

tDrawClass Graphics::Display::data::what

Definition at line 251 of file Graphics.h.

Referenced by data().


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