Skip to content

GuitarPrometheus::Render::LaidOutSystem

GuitarPrometheus::Render::LaidOutSystem

A multi-part system: every part of score laid out and stacked vertically with bracket grouping. More…

#include <LayoutEngine.h>

Public Attributes

Name
floatwidthPx
floatheightPx
std::vector< LaidOutScore >parts
std::vector< float >partYOffsetsPx
std::vector< std::pair< std::size_t, std::size_t > >bracketGroups

Detailed Description

struct GuitarPrometheus::Render::LaidOutSystem;

A multi-part system: every part of score laid out and stacked vertically with bracket grouping.

parts[i] is the [LaidOutScore](/api-reference/classes/structguitarprometheus_1_1render_1_1laidoutscore/) for score.getParts()[i] with that part’s measure positions translated by partYOffsetsPx[i]. bracketGroups lists [firstPartIndex, lastPartIndex] ranges spanned by the brace / bracket drawn at the left of the system; v1 uses a simple heuristic (contiguous parts that share a name prefix or MIDI channel are grouped).

Public Attributes Documentation

variable widthPx

float widthPx = 0.f;

variable heightPx

float heightPx = 0.f;

variable parts

std::vector< LaidOutScore > parts;

variable partYOffsetsPx

std::vector< float > partYOffsetsPx;

variable bracketGroups

std::vector< std::pair< std::size_t, std::size_t > > bracketGroups;

Updated on 2026-05-29 at 07:39:52 +0000