Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Poincare::CondensedSumLayout Class Reference

#include <condensed_sum_layout.h>

Inheritance diagram for Poincare::CondensedSumLayout:
Poincare::ExpressionLayout

Public Member Functions

 CondensedSumLayout (ExpressionLayout *baseLayout, ExpressionLayout *subscriptLayout, ExpressionLayout *superscriptLayout=nullptr)
 
 ~CondensedSumLayout ()
 
 CondensedSumLayout (const CondensedSumLayout &other)=delete
 
 CondensedSumLayout (CondensedSumLayout &&other)=delete
 
CondensedSumLayoutoperator= (const CondensedSumLayout &other)=delete
 
CondensedSumLayoutoperator= (CondensedSumLayout &&other)=delete
 
- Public Member Functions inherited from Poincare::ExpressionLayout
 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
 
ExpressionLayoutchild (uint16_t index) override
 
KDPoint positionOfChild (ExpressionLayout *child) override
 

Additional Inherited Members

- Protected Attributes inherited from Poincare::ExpressionLayout
KDCoordinate m_baseline
 

Detailed Description

Definition at line 9 of file condensed_sum_layout.h.

Constructor & Destructor Documentation

◆ CondensedSumLayout() [1/3]

Poincare::CondensedSumLayout::CondensedSumLayout ( ExpressionLayout baseLayout,
ExpressionLayout subscriptLayout,
ExpressionLayout superscriptLayout = nullptr 
)

Definition at line 7 of file condensed_sum_layout.cpp.

◆ ~CondensedSumLayout()

Poincare::CondensedSumLayout::~CondensedSumLayout ( )

Definition at line 22 of file condensed_sum_layout.cpp.

◆ CondensedSumLayout() [2/3]

Poincare::CondensedSumLayout::CondensedSumLayout ( const CondensedSumLayout other)
delete

◆ CondensedSumLayout() [3/3]

Poincare::CondensedSumLayout::CondensedSumLayout ( CondensedSumLayout &&  other)
delete

Member Function Documentation

◆ child()

ExpressionLayout * Poincare::CondensedSumLayout::child ( uint16_t  index)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 41 of file condensed_sum_layout.cpp.

◆ computeSize()

KDSize Poincare::CondensedSumLayout::computeSize ( )
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 34 of file condensed_sum_layout.cpp.

◆ operator=() [1/2]

CondensedSumLayout& Poincare::CondensedSumLayout::operator= ( const CondensedSumLayout other)
delete

◆ operator=() [2/2]

CondensedSumLayout& Poincare::CondensedSumLayout::operator= ( CondensedSumLayout &&  other)
delete

◆ positionOfChild()

KDPoint Poincare::CondensedSumLayout::positionOfChild ( ExpressionLayout child)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 54 of file condensed_sum_layout.cpp.

◆ render()

void Poincare::CondensedSumLayout::render ( KDContext ctx,
KDPoint  p,
KDColor  expressionColor,
KDColor  backgroundColor 
)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 30 of file condensed_sum_layout.cpp.


The documentation for this class was generated from the following files: