Skip to content

GuitarPrometheus::Render::LaidOutMeasure

GuitarPrometheus::Render::LaidOutMeasure

One laid-out measure. More…

#include <LayoutEngine.h>

Public Attributes

Name
intmeasureNumber
floatxPx
floatwidthPx
std::vector< LaidOutNote >notes
std::vector< LaidOutArticulation >articulations
std::vector< LaidOutDynamic >dynamics

Detailed Description

struct GuitarPrometheus::Render::LaidOutMeasure;

One laid-out measure.

xPx is the position of the leading barline; widthPx is the distance to the next measure’s barline. Notes inside the measure have absolute coordinates within the [LaidOutScore](/api-reference/classes/structguitarprometheus_1_1render_1_1laidoutscore/), not measure-relative.

Per-note articulations and dynamic markings live here. Cross-measure constructs (ties, slurs) live on the parent [LaidOutScore](/api-reference/classes/structguitarprometheus_1_1render_1_1laidoutscore/) so the renderer doesn’t have to stitch fragments together.

Public Attributes Documentation

variable measureNumber

int measureNumber = 0;

variable xPx

float xPx = 0.f;

variable widthPx

float widthPx = 0.f;

variable notes

std::vector< LaidOutNote > notes;

variable articulations

std::vector< LaidOutArticulation > articulations;

variable dynamics

std::vector< LaidOutDynamic > dynamics;

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