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