Add helper to be compatible with Renderer.hpp
diff --git a/include/rive/math/raw_path.hpp b/include/rive/math/raw_path.hpp
index 0e06446..046f065 100644
--- a/include/rive/math/raw_path.hpp
+++ b/include/rive/math/raw_path.hpp
@@ -44,6 +44,11 @@
Span<const PathVerb> verbs() const { return toSpan(m_Verbs); }
Span<PathVerb> verbs() { return toSpan(m_Verbs); }
+ Span<const uint8_t> verbsU8() const {
+ const uint8_t* ptr = (const uint8_t*)m_Verbs.data();
+ return Span<const uint8_t>(ptr, m_Verbs.size());
+ }
+
// Syntactic sugar for x,y -vs- vec2d
void moveTo(float x, float y) { move({x, y}); }