Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::SelectionChromeSnapshot::TextBaseline Struct Reference

One baseline segment of a selected text run, in document space. More...

#include "donner/editor/OverlayRenderer.h"

Public Member Functions

bool operator== (const TextBaseline &other) const =default
 Compare all members for value equality.

Public Attributes

Vector2d startDoc
 Baseline start (pen position of the line's first glyph).
Vector2d endDoc
 Baseline end (advance end of the line's last glyph).

Detailed Description

One baseline segment of a selected text run, in document space.

Member Function Documentation

◆ operator==()

bool donner::editor::SelectionChromeSnapshot::TextBaseline::operator== ( const TextBaseline & other) const
default

Compare all members for value equality.

Parameters
otherValue to compare.

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