Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::TextRun Struct Reference

A run of text with uniform style within a paragraph. More...

#include <text_layout.hpp>

Public Attributes

std::string text
FontSpec font
Color color
size_t start = 0
 Start index in the full text.
size_t length = 0
 Length in code units.

Detailed Description

A run of text with uniform style within a paragraph.

Member Data Documentation

◆ color

Color pulp::canvas::TextRun::color

◆ font

FontSpec pulp::canvas::TextRun::font

◆ length

size_t pulp::canvas::TextRun::length = 0

Length in code units.

◆ start

size_t pulp::canvas::TextRun::start = 0

Start index in the full text.

◆ text

std::string pulp::canvas::TextRun::text

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/text_layout.hpp