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

Font style specification for text layout. More...

#include <text_layout.hpp>

Public Attributes

std::string family = "Inter"
float size = 14.0f
int weight = 400
 100-900, 400=normal, 700=bold
bool italic = false
float letter_spacing = 0.0f

Detailed Description

Font style specification for text layout.

Member Data Documentation

◆ family

std::string pulp::canvas::FontSpec::family = "Inter"

◆ italic

bool pulp::canvas::FontSpec::italic = false

◆ letter_spacing

float pulp::canvas::FontSpec::letter_spacing = 0.0f

◆ size

float pulp::canvas::FontSpec::size = 14.0f

◆ weight

int pulp::canvas::FontSpec::weight = 400

100-900, 400=normal, 700=bold


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