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 class | Graphics::Drawing::OpCode : uint8_t { Graphics::Drawing::store , Graphics::Drawing::add , Graphics::Drawing::sub , Graphics::Drawing::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)
BitSet< uint16_t, FontStyle, 10 > FontStyles
Definition: Libraries/Graphics/src/include/Graphics/Types.h:833
uint16_t AssetID
Numeric identifiers for re-useable objects.
Definition: Libraries/Graphics/src/include/Graphics/Types.h:42
◆ XX
#define XX | ( | name, | |
type, | |||
def | |||
) | type name{def}; |