Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <string_layout.h>
Public Member Functions | |
StringLayout (const char *string, size_t length, KDText::FontSize fontSize=KDText::FontSize::Large) | |
~StringLayout () | |
StringLayout (const StringLayout &other)=delete | |
StringLayout (StringLayout &&other)=delete | |
StringLayout & | operator= (const StringLayout &other)=delete |
StringLayout & | operator= (StringLayout &&other)=delete |
char * | text () |
![]() | |
ExpressionLayout () | |
virtual | ~ExpressionLayout ()=default |
void | draw (KDContext *ctx, KDPoint p, KDColor expressionColor=KDColorBlack, KDColor backgroundColor=KDColorWhite) |
KDPoint | origin () |
KDSize | size () |
KDCoordinate | baseline () |
void | setParent (ExpressionLayout *parent) |
Protected Member Functions | |
void | render (KDContext *ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override |
KDSize | computeSize () override |
ExpressionLayout * | child (uint16_t index) override |
KDPoint | positionOfChild (ExpressionLayout *child) override |
Additional Inherited Members | |
![]() | |
KDCoordinate | m_baseline |
Definition at line 9 of file string_layout.h.
Poincare::StringLayout::StringLayout | ( | const char * | string, |
size_t | length, | ||
KDText::FontSize | fontSize = KDText::FontSize::Large |
||
) |
Definition at line 7 of file string_layout.cpp.
Poincare::StringLayout::~StringLayout | ( | ) |
Definition at line 18 of file string_layout.cpp.
|
delete |
|
delete |
|
overrideprotectedvirtual |
Implements Poincare::ExpressionLayout.
Definition at line 26 of file string_layout.cpp.
|
overrideprotectedvirtual |
Implements Poincare::ExpressionLayout.
Definition at line 39 of file string_layout.cpp.
|
delete |
|
delete |
|
overrideprotectedvirtual |
Implements Poincare::ExpressionLayout.
Definition at line 34 of file string_layout.cpp.
|
overrideprotectedvirtual |
Implements Poincare::ExpressionLayout.
Definition at line 30 of file string_layout.cpp.
char * Poincare::StringLayout::text | ( | ) |
Definition at line 22 of file string_layout.cpp.