10 {0xFF, 0xFF, 0xFF, 0xF9, 0x66},
11 {0xFF, 0xFF, 0xEB, 0x40, 0x9A},
12 {0xFF, 0xF2, 0x40, 0xBF, 0xFF},
13 {0xFF, 0x49, 0xB6, 0xFF, 0xFF},
14 {0xA9, 0x5A, 0xFF, 0xFF, 0xFF},
15 {0x45, 0xBE, 0xFF, 0xFF, 0xFF},
16 {0x11, 0xEE, 0xFF, 0xFF, 0xFF},
21 {0x11, 0xEE, 0xFF, 0xFF, 0xFF},
22 {0x45, 0xBE, 0xFF, 0xFF, 0xFF},
23 {0xA9, 0x5A, 0xFF, 0xFF, 0xFF},
24 {0xFF, 0x49, 0xB6, 0xFF, 0xFF},
25 {0xFF, 0xF2, 0x40, 0xBF, 0xFF},
26 {0xFF, 0xFF, 0xEB, 0x40, 0x9A},
27 {0xFF, 0xFF, 0xFF, 0xF9, 0x66},
32 {0x66, 0xF9, 0xFF, 0xFF, 0xFF},
33 {0x9A, 0x40, 0xEB, 0xFF, 0xFF},
34 {0xFF, 0xBF, 0x40, 0xF2, 0xFF},
35 {0xFF, 0xFF, 0xB6, 0x49, 0xFF},
36 {0xFF, 0xFF, 0xFF, 0x5A, 0xA9},
37 {0xFF, 0xFF, 0xFF, 0xBE, 0x45},
38 {0xFF, 0xFF, 0xFF, 0xEE, 0x11},
42 {0xFF, 0xFF, 0xFF, 0xEE, 0x11},
43 {0xFF, 0xFF, 0xFF, 0xBE, 0x45},
44 {0xFF, 0xFF, 0xFF, 0x5A, 0xA9},
45 {0xFF, 0xFF, 0xB6, 0x49, 0xFF},
46 {0xFF, 0xBF, 0x40, 0xF2, 0xFF},
47 {0x9A, 0x40, 0xEB, 0xFF, 0xFF},
48 {0x66, 0xF9, 0xFF, 0xFF, 0xFF},
54 m_operandLayout(operandLayout)
56 if (m_operandLayout) {
65 if (m_operandLayout) {
66 delete m_operandLayout;
90 return KDSize(operandSize().width() + 2*k_widthMargin + 2*k_lineThickness+2*k_externWidthMargin, operandSize().height());
95 return m_operandLayout;
101 return KDPoint(k_widthMargin+k_lineThickness+k_externWidthMargin, 0);
104 KDSize ParenthesisLayout::operandSize() {
KDColor s_parenthesisWorkingBuffer[ParenthesisLayout::k_parenthesisCurveHeight *ParenthesisLayout::k_parenthesisCurveWidth]
constexpr KDCoordinate width() const
static constexpr KDCoordinate k_parenthesisCurveHeight
void blendRectWithMask(KDRect rect, KDColor color, const uint8_t *mask, KDColor *workingBuffer)
void render(KDContext *ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override
ExpressionLayout * child(uint16_t index) override
const uint8_t bottomLeftCurve[ParenthesisLayout::k_parenthesisCurveHeight][ParenthesisLayout::k_parenthesisCurveWidth]
KDPoint positionOfChild(ExpressionLayout *child) override
static constexpr KDCoordinate k_parenthesisCurveWidth
const uint8_t topRightCurve[ParenthesisLayout::k_parenthesisCurveHeight][ParenthesisLayout::k_parenthesisCurveWidth]
void fillRect(KDRect rect, KDColor color)
static constexpr KDSize charSize(FontSize size=FontSize::Large)
void setParent(ExpressionLayout *parent)
const uint8_t topLeftCurve[ParenthesisLayout::k_parenthesisCurveHeight][ParenthesisLayout::k_parenthesisCurveWidth]
const uint8_t bottomRightCurve[ParenthesisLayout::k_parenthesisCurveHeight][ParenthesisLayout::k_parenthesisCurveWidth]
ParenthesisLayout(ExpressionLayout *operandLayout)
KDSize computeSize() override
constexpr KDCoordinate height() const