blob: 89144a0125cf8151858e8f7928d9a46a356afc80 [file] [log] [blame]
#include "rive/text/text_input_cursor.hpp"
#include "rive/math/mat2d.hpp"
#include "rive/text/text_input.hpp"
using namespace rive;
Core* TextInputCursor::hitTest(HitInfo*, const Mat2D&) { return nullptr; }
ShapePaintPath* TextInputCursor::localClockwisePath()
{
#ifdef WITH_RIVE_TEXT
return textInput()->rawTextInput()->cursorPath();
#else
return nullptr;
#endif
}