|
|
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.
|
Drag-to-create text-box preview: the live rectangle the text tool is dragging out, plus the first baseline it would create and an I-beam marker at the future caret position. Drawn as dedicated text-box chrome (crisp frame + guidance baseline + I-beam), visually distinct from the selection marquee's translucent fill + white outline. More...
#include "donner/editor/OverlayRenderer.h"
Public Member Functions | |
| bool | operator== (const TextBoxDragPreview &) const =default |
Public Attributes | |
| Box2d | boxDoc |
| The live drag rectangle. | |
| Vector2d | baselineStartDoc |
| First-baseline segment endpoints. | |
| Vector2d | baselineEndDoc |
| Vector2d | ibeamTopDoc |
| I-beam bar endpoints at the future caret position (top, bottom). | |
| Vector2d | ibeamBottomDoc |
Drag-to-create text-box preview: the live rectangle the text tool is dragging out, plus the first baseline it would create and an I-beam marker at the future caret position. Drawn as dedicated text-box chrome (crisp frame + guidance baseline + I-beam), visually distinct from the selection marquee's translucent fill + white outline.