Added UI to change paragraph style

This commit is contained in:
Yousef Khadadeh 2025-11-10 16:49:02 +03:00
parent 435d9346a9
commit def4ccb984
12 changed files with 117 additions and 43 deletions

View file

@ -0,0 +1,8 @@
#include "ParagraphStyleData.hpp"
skia::textlayout::ParagraphStyle ParagraphStyleData::get_paragraph_style() const {
skia::textlayout::ParagraphStyle pStyle;
pStyle.setTextAlign(textAlignment);
pStyle.setTextDirection(textDirection);
return pStyle;
}