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"
|
|
Box2d | boxDoc |
| | The live drag rectangle.
|
|
Vector2d | baselineStartDoc |
| | First-baseline segment endpoints.
|
|
Vector2d | baselineEndDoc |
| | End of the text-box baseline guide in document coordinates.
|
|
Vector2d | ibeamTopDoc |
| | I-beam bar endpoints at the future caret position (top, bottom).
|
|
Vector2d | ibeamBottomDoc |
| | Bottom endpoint of the placement I-beam in document coordinates.
|
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.
◆ operator==()
| bool donner::editor::SelectionChromeSnapshot::TextBoxDragPreview::operator== |
( |
const TextBoxDragPreview & | other | ) |
const |
|
default |
Compare all members for value equality.
- Parameters
-
The documentation for this struct was generated from the following file: