| 1 |
#include <stdarg.h> |
| 2 |
#include <stdbool.h> |
| 3 |
#include <stdint.h> |
| 4 |
#include <stdlib.h> |
| 5 |
|
| 6 |
#define FONT_WEIGHT_FRACTION_BITS 6 |
| 7 |
|
| 8 |
typedef struct FixedPoint_FONT_WEIGHT_FRACTION_BITS { |
| 9 |
uint16_t value; |
| 10 |
} FixedPoint_FONT_WEIGHT_FRACTION_BITS; |
| 11 |
|
| 12 |
typedef struct FixedPoint_FONT_WEIGHT_FRACTION_BITS FontWeightFixedPoint; |
| 13 |
|
| 14 |
typedef struct FontWeight { |
| 15 |
FontWeightFixedPoint _0; |
| 16 |
} FontWeight; |
| 17 |
#define FontWeight_NORMAL (FontWeight){ ._0 = (FontWeightFixedPoint){ .value = (400 << FONT_WEIGHT_FRACTION_BITS) } } |
| 18 |
|
| 19 |
void root(struct FontWeight w); |