projects
/
platform
/
core
/
uifw
/
rive-tizen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renderer: code refactoring. (#29)
[platform/core/uifw/rive-tizen.git]
/
src
/
renderer
/
tvg_renderer.hpp
diff --git
a/src/renderer/tvg_renderer.hpp
b/src/renderer/tvg_renderer.hpp
index
a877b16
..
9b01fac
100644
(file)
--- a/
src/renderer/tvg_renderer.hpp
+++ b/
src/renderer/tvg_renderer.hpp
@@
-29,16
+29,11
@@
namespace rive
Shape *m_Shape;
vector<PathCommand> m_PathType;
vector<Vec2D> m_PathPoints;
Shape *m_Shape;
vector<PathCommand> m_PathType;
vector<Vec2D> m_PathPoints;
- bool active = false;
- bool shapeAdded = false;
public:
TvgRenderPath();
~TvgRenderPath();
Shape* shape() { return m_Shape; }
public:
TvgRenderPath();
~TvgRenderPath();
Shape* shape() { return m_Shape; }
- bool onCanvas() { return active; }
- void onCanvas(bool active) { this->active = active; }
- bool isShapeAdded() { return this->shapeAdded; }
void buildShape();
void reset() override;
void addRenderPath(RenderPath* path, const Mat2D& transform) override;
void buildShape();
void reset() override;
void addRenderPath(RenderPath* path, const Mat2D& transform) override;