infinipaint/src/RichText/ParagraphStyleData.cpp

13 lines
293 B
C++
Raw Normal View History

2025-11-10 16:49:02 +03:00
#include "ParagraphStyleData.hpp"
namespace RichText {
2025-11-10 16:49:02 +03:00
skia::textlayout::ParagraphStyle ParagraphStyleData::get_paragraph_style() const {
skia::textlayout::ParagraphStyle pStyle;
pStyle.setTextAlign(textAlignment);
pStyle.setTextDirection(textDirection);
return pStyle;
}
}