Place ParagraphStyleData in RichText namespace
This commit is contained in:
parent
557df9bd50
commit
700238ffee
3 changed files with 8 additions and 1 deletions
|
|
@ -1,8 +1,12 @@
|
|||
#include "ParagraphStyleData.hpp"
|
||||
|
||||
namespace RichText {
|
||||
|
||||
skia::textlayout::ParagraphStyle ParagraphStyleData::get_paragraph_style() const {
|
||||
skia::textlayout::ParagraphStyle pStyle;
|
||||
pStyle.setTextAlign(textAlignment);
|
||||
pStyle.setTextDirection(textDirection);
|
||||
return pStyle;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue