Update text rendering.
This commit is contained in:
parent
8536908eab
commit
8130308f7f
27 changed files with 503 additions and 77 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include "FontItem.h"
|
||||
#include "TextData.h"
|
||||
#include "Bounds.h"
|
||||
#include "SceneText.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
@ -47,7 +49,7 @@ private:
|
|||
double mWidth{1};
|
||||
double mHeight{1};
|
||||
|
||||
std::unique_ptr<SceneItem> mTextItem;
|
||||
std::unique_ptr<SceneText> mTextItem;
|
||||
};
|
||||
|
||||
using TextNodetr = std::unique_ptr<TextNode>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue