Lumiera  0.pre.03
»edit your freedom«
TrackGroundingRenderer Class Reference

Description

Definition at line 204 of file body-canvas-widget.cpp.

Private Member Functions

void close (uint n) override
 paint closing slope to finish nested sub tracks More...
 
void coda (uint pad) override
 finish painting the track body area More...
 
void content (uint contentHeight) override
 fill background of track content area with the given vertical extension
 
void gap (uint h) override
 insert additional padding/gap (typically below a ruler)
 
void open () override
 paint opening slope to enter nested sub tracks More...
 
void prelude () override
 create spacing at the top of the track body area
 
void ruler (uint contentHeight) override
 draw grounding of an overview/ruler track with the given height
 

Additional Inherited Members

- Public Member Functions inherited from AbstractTrackRenderer
 AbstractTrackRenderer (CairoC currentDrawContext, DisplayManager &layout)
 
- Public Member Functions inherited from ProfileInterpreter
virtual ~ProfileInterpreter ()
 this is an interface
 
- Static Public Attributes inherited from ProfileInterpreter
static const size_t MAX_ARG_SIZE = sizeof(size_t)
 
- Protected Member Functions inherited from AbstractTrackRenderer
void fillBackground (StyleC style, int height)
 
- Protected Attributes inherited from AbstractTrackRenderer
CairoC cox_
 
int line_ = 0
 the current painting "water level". More...
 
StyleC style_
 
StyleC styleR_
 
PixSpan visible_
 

Member Function Documentation

◆ coda()

void coda ( uint  pad)
inlineoverrideprivatevirtual

finish painting the track body area

Parameters
padadditional padding (in px) to add at bottom

Implements ProfileInterpreter.

Definition at line 219 of file body-canvas-widget.cpp.

◆ open()

void open ( )
inlineoverrideprivatevirtual

paint opening slope to enter nested sub tracks

Note
we only ever open one level deep a time

Implements ProfileInterpreter.

Definition at line 278 of file body-canvas-widget.cpp.

◆ close()

void close ( uint  n)
inlineoverrideprivatevirtual

paint closing slope to finish nested sub tracks

Parameters
nnumber of nested levels to close
Note
to get drawing of the border corners right, we "set back" by the border width and draw some spurious vertical part, hidden outside of the visible canvas area.

Implements ProfileInterpreter.

Definition at line 305 of file body-canvas-widget.cpp.

+ Inheritance diagram for TrackGroundingRenderer:
+ Collaboration diagram for TrackGroundingRenderer:

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