Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::svg::text_engine_detail::RunPenExtent Struct Reference

Per-run pen start/end position for textLength calculation. More...

#include "donner/svg/text/TextEngineHelpers.h"

Public Attributes

double startX = 0.0
 Pen X position at the start of the run.
double startY = 0.0
 Pen Y position at the start of the run.
double endX = 0.0
 Pen X position at the end of the run.
double endY = 0.0
 Pen Y position at the end of the run.

Detailed Description

Per-run pen start/end position for textLength calculation.

Member Data Documentation

◆ endX

double donner::svg::text_engine_detail::RunPenExtent::endX = 0.0

Pen X position at the end of the run.

◆ endY

double donner::svg::text_engine_detail::RunPenExtent::endY = 0.0

Pen Y position at the end of the run.

◆ startX

double donner::svg::text_engine_detail::RunPenExtent::startX = 0.0

Pen X position at the start of the run.

◆ startY

double donner::svg::text_engine_detail::RunPenExtent::startY = 0.0

Pen Y position at the start of the run.


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