Added UI to change paragraph style
This commit is contained in:
parent
435d9346a9
commit
def4ccb984
12 changed files with 117 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue