|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
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.