Skip to content

GuitarPrometheus::Render::SvgScoreRenderer

GuitarPrometheus::Render::SvgScoreRenderer

Emits an SVG string from a laid-out score, compatible with juce::Drawable::createFromSVG(). More…

#include <SvgScoreRenderer.h>

Public Functions

Name
std::stringrender(const LaidOutScore & score, const LayoutSettings & settings)
std::stringrender(const LaidOutSystem & system, const LayoutSettings & settings)

Detailed Description

class GuitarPrometheus::Render::SvgScoreRenderer;

Emits an SVG string from a laid-out score, compatible with juce::Drawable::createFromSVG().

Uses Bravura (SMuFL) font references for music glyphs. The font must be registered with JUCE before parsing the SVG.

Public Functions Documentation

function render

std::string render(
const LaidOutScore & score,
const LayoutSettings & settings
)

function render

std::string render(
const LaidOutSystem & system,
const LayoutSettings & settings
)

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