Registers.h File Reference
#include "../Types.h"
Include dependency graph for Registers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Graphics::Drawing::Registers
 

Namespaces

 Graphics
 
 Graphics::Drawing
 

Macros

#define GRAPHICS_DRAWING_REGISTER_LIST(XX)
 
#define XX(name, type, def)   type name{def};
 

Enumerations

enum  Graphics::Drawing::OpCode : uint8_t { Graphics::Drawing::OpCode::store, Graphics::Drawing::OpCode::add, Graphics::Drawing::OpCode::sub, Graphics::Drawing::OpCode::execute }
 

Functions

String Graphics::Drawing::toString (OpCode opcode)
 

Macro Definition Documentation

◆ GRAPHICS_DRAWING_REGISTER_LIST

#define GRAPHICS_DRAWING_REGISTER_LIST (   XX)
Value:
XX(x1, int16_t, 0) \
XX(y1, int16_t, 0) \
XX(x2, int16_t, 0) \
XX(y2, int16_t, 0) \
XX(penColor, Color, Color::White) \
XX(brushColor, Color, Color::Black) \
XX(penWidth, uint16_t, 1) \
XX(radius, uint16_t, 0) \
XX(startAngle, uint16_t, 0) \
XX(angle, int16_t, 0) \
XX(brushId, AssetID, 0) \
XX(penId, AssetID, 0) \
XX(textId, AssetID, 0) \
XX(id, AssetID, 0) \
XX(length, uint16_t, 0xffff) \
XX(offset, uint16_t, 0) \
XX(style, FontStyles, 0) \
XX(fontId, AssetID, 0)

◆ XX

#define XX (   name,
  type,
  def 
)    type name{def};
#define XX(name, type, def)
Definition: Registers.h:99
BitSet< uint16_t, FontStyle, 10 > FontStyles
Definition: Libraries/Graphics/src/include/Graphics/Types.h:852
uint16_t AssetID
Numeric identifiers for re-useable objects.
Definition: Libraries/Graphics/src/include/Graphics/Types.h:61
Color
Standard colour definitions.
Definition: Colors.h:227