Place ParagraphStyleData in RichText namespace

This commit is contained in:
Yousef Khadadeh 2025-11-27 10:54:56 +03:00
parent 557df9bd50
commit 700238ffee
3 changed files with 8 additions and 1 deletions

View file

@ -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;
}
}