Some simple svg output.
This commit is contained in:
parent
1fc730d413
commit
b101a5f87c
11 changed files with 87 additions and 6 deletions
|
@ -23,9 +23,21 @@ public:
|
|||
|
||||
bool isEmpty() const;
|
||||
|
||||
bool shouldShowMeshOutline() const
|
||||
{
|
||||
return mShowMeshOutline;
|
||||
}
|
||||
|
||||
void setShowMeshOutline(bool shouldShow)
|
||||
{
|
||||
mShowMeshOutline = shouldShow;
|
||||
}
|
||||
|
||||
void update(FontsManager* fontsManager = nullptr);
|
||||
private:
|
||||
void updateNode(AbstractVisualNode* node, FontsManager* fontsManager);
|
||||
std::unique_ptr<RootNode> mRootNode;
|
||||
std::vector<SceneItem*> mSceneItems;
|
||||
|
||||
bool mShowMeshOutline{false};
|
||||
};
|
||||
|
|
|
@ -61,6 +61,7 @@ void CircleNode::update(FontsManager* fontsManager)
|
|||
{
|
||||
mBackgroundItem = std::make_unique<SceneModel>(std::move(mesh));
|
||||
mBackgroundItem->setName(mName + "_Model");
|
||||
mBackgroundItem->updateUniformColor(mFillColor);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue