Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::plotters::Glyph Struct Reference

Represents a single vector character glyph. More...

#include <PathFont.hpp>

Public Attributes

real_t left {static_cast<real_t>(0.0)}
 Left side bearing.
real_t right {static_cast<real_t>(0.0)}
 Right side bearing.
std::span< const Point2D > points
 Contiguous point coordinates.
std::span< const size_t > stroke_lengths
 Number of points per stroke.

Detailed Description

Represents a single vector character glyph.

Contains the spacing information (left/right bounds) and non-owning views over contiguous point coordinates and stroke slice lengths.

Member Data Documentation

◆ left

real_t correlation::plotters::Glyph::left {static_cast<real_t>(0.0)}

Left side bearing.

◆ points

std::span<const Point2D> correlation::plotters::Glyph::points

Contiguous point coordinates.

◆ right

real_t correlation::plotters::Glyph::right {static_cast<real_t>(0.0)}

Right side bearing.

◆ stroke_lengths

std::span<const size_t> correlation::plotters::Glyph::stroke_lengths

Number of points per stroke.


The documentation for this struct was generated from the following file: