|
psychic-ui 0.0.0
|
#include <TextGeometry.hpp>
Public Member Functions | |
| TextGeometry (const TextGeometry &)=delete | |
| TextGeometry & | operator= (const TextGeometry &)=delete |
| TextGeometry (TextGeometry &&)=delete | |
| TextGeometry & | operator= (TextGeometry &&)=delete |
| virtual SkRect | caretRect (unsigned int index) const =0 |
| virtual unsigned int | indexAt (float x, float y) const =0 |
The two questions the editing model (TextEditing) asks what shows its text, in that view's own coordinates; Text answers them
|
nodiscardpure virtual |
The caret before the character at the index: a zero-width rectangle across its line
Implemented in psychic_ui::Text.
|
nodiscardpure virtual |
The caret index closest to a point
Implemented in psychic_ui::Text.