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

One shaped paragraph line's own vertical metrics, as SkParagraph's LineMetrics reports them. More...

#include <text_shaper.hpp>

Public Attributes

float ascent = 0.0f
float descent = 0.0f
float height = 0.0f

Detailed Description

One shaped paragraph line's own vertical metrics, as SkParagraph's LineMetrics reports them.

height is that line's height (its advance), not a running total over the lines above it.

Member Data Documentation

◆ ascent

float pulp::canvas::ParagraphLineExtent::ascent = 0.0f

◆ descent

float pulp::canvas::ParagraphLineExtent::descent = 0.0f

◆ height

float pulp::canvas::ParagraphLineExtent::height = 0.0f

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