GuitarPrometheus::Render::LaidOutScore
GuitarPrometheus::Render::LaidOutScore
Result of laying out a single part as a horizontally-running system. More…
#include <LayoutEngine.h>
Public Attributes
| Name | |
|---|---|
| float | widthPx |
| float | heightPx |
| std::vector< LaidOutMeasure > | measures |
| std::vector< LaidOutTie > | ties |
| std::vector< LaidOutSlur > | slurs |
| std::vector< LaidOutLedgerLine > | ledgerLines |
| std::vector< LaidOutKeySigAccidental > | keySigAccidentals |
Detailed Description
struct GuitarPrometheus::Render::LaidOutScore;Result of laying out a single part as a horizontally-running system.
widthPx and heightPx give the panel its required content size; the renderer wraps this in a juce::Viewport for horizontal scrolling. Phase 11 F11.5 will introduce a multi-part [LaidOutSystem](/api-reference/classes/structguitarprometheus_1_1render_1_1laidoutsystem/) type that vertically stacks [LaidOutScore](/api-reference/classes/structguitarprometheus_1_1render_1_1laidoutscore/) instances; v1 keeps the single-part flat shape.
Public Attributes Documentation
variable widthPx
float widthPx = 0.f;variable heightPx
float heightPx = 0.f;variable measures
std::vector< LaidOutMeasure > measures;variable ties
std::vector< LaidOutTie > ties;variable slurs
std::vector< LaidOutSlur > slurs;variable ledgerLines
std::vector< LaidOutLedgerLine > ledgerLines;variable keySigAccidentals
std::vector< LaidOutKeySigAccidental > keySigAccidentals;Updated on 2026-05-29 at 07:39:52 +0000