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

#include <integral_layout.h>

Inheritance diagram for Poincare::IntegralLayout:
Poincare::ExpressionLayout

Public Member Functions

 IntegralLayout (ExpressionLayout *lowerBoundLayout, ExpressionLayout *upperBoundLayout, ExpressionLayout *integrandLayout)
 
 ~IntegralLayout ()
 
 IntegralLayout (const IntegralLayout &other)=delete
 
 IntegralLayout (IntegralLayout &&other)=delete
 
IntegralLayoutoperator= (const IntegralLayout &other)=delete
 
IntegralLayoutoperator= (IntegralLayout &&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)
 

Static Public Attributes

static constexpr KDCoordinate k_symbolHeight = 4
 
static constexpr KDCoordinate k_symbolWidth = 4
 

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 integral_layout.h.

Constructor & Destructor Documentation

◆ IntegralLayout() [1/3]

Poincare::IntegralLayout::IntegralLayout ( ExpressionLayout lowerBoundLayout,
ExpressionLayout upperBoundLayout,
ExpressionLayout integrandLayout 
)

Definition at line 21 of file integral_layout.cpp.

◆ ~IntegralLayout()

Poincare::IntegralLayout::~IntegralLayout ( )

Definition at line 33 of file integral_layout.cpp.

◆ IntegralLayout() [2/3]

Poincare::IntegralLayout::IntegralLayout ( const IntegralLayout other)
delete

◆ IntegralLayout() [3/3]

Poincare::IntegralLayout::IntegralLayout ( IntegralLayout &&  other)
delete

Member Function Documentation

◆ child()

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

Implements Poincare::ExpressionLayout.

Definition at line 63 of file integral_layout.cpp.

◆ computeSize()

KDSize Poincare::IntegralLayout::computeSize ( )
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 54 of file integral_layout.cpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ positionOfChild()

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

Implements Poincare::ExpressionLayout.

Definition at line 76 of file integral_layout.cpp.

◆ render()

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

Implements Poincare::ExpressionLayout.

Definition at line 39 of file integral_layout.cpp.

Member Data Documentation

◆ k_symbolHeight

constexpr KDCoordinate Poincare::IntegralLayout::k_symbolHeight = 4
static

Definition at line 17 of file integral_layout.h.

◆ k_symbolWidth

constexpr KDCoordinate Poincare::IntegralLayout::k_symbolWidth = 4
static

Definition at line 18 of file integral_layout.h.


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