#include <ParagraphStyle.h>
Definition at line 78 of file ParagraphStyle.h.
◆ ParagraphStyle()
skia::textlayout::ParagraphStyle::ParagraphStyle |
( |
| ) |
|
Definition at line 22 of file ParagraphStyle.cpp.
22 {
26 fHeight = 1;
27 fTextHeightBehavior = TextHeightBehavior::kAll;
28 fHintingIsOn = true;
29 fReplaceTabCharacters = false;
30}
static float max(float r, float g, float b)
◆ effective_align()
TextAlign skia::textlayout::ParagraphStyle::effective_align |
( |
| ) |
const |
◆ ellipsized()
bool skia::textlayout::ParagraphStyle::ellipsized |
( |
| ) |
const |
|
inline |
◆ getApplyRoundingHack()
bool skia::textlayout::ParagraphStyle::getApplyRoundingHack |
( |
| ) |
const |
|
inline |
◆ getEllipsis()
SkString skia::textlayout::ParagraphStyle::getEllipsis |
( |
| ) |
const |
|
inline |
◆ getEllipsisUtf16()
std::u16string skia::textlayout::ParagraphStyle::getEllipsisUtf16 |
( |
| ) |
const |
|
inline |
◆ getHeight()
SkScalar skia::textlayout::ParagraphStyle::getHeight |
( |
| ) |
const |
|
inline |
◆ getMaxLines()
size_t skia::textlayout::ParagraphStyle::getMaxLines |
( |
| ) |
const |
|
inline |
◆ getReplaceTabCharacters()
bool skia::textlayout::ParagraphStyle::getReplaceTabCharacters |
( |
| ) |
const |
|
inline |
◆ getStrutStyle()
const StrutStyle & skia::textlayout::ParagraphStyle::getStrutStyle |
( |
| ) |
const |
|
inline |
◆ getTextAlign()
TextAlign skia::textlayout::ParagraphStyle::getTextAlign |
( |
| ) |
const |
|
inline |
◆ getTextDirection()
TextDirection skia::textlayout::ParagraphStyle::getTextDirection |
( |
| ) |
const |
|
inline |
◆ getTextHeightBehavior()
◆ getTextStyle()
const TextStyle & skia::textlayout::ParagraphStyle::getTextStyle |
( |
| ) |
const |
|
inline |
◆ hintingIsOn()
bool skia::textlayout::ParagraphStyle::hintingIsOn |
( |
| ) |
const |
|
inline |
◆ operator==()
bool skia::textlayout::ParagraphStyle::operator== |
( |
const ParagraphStyle & |
rhs | ) |
const |
|
inline |
Definition at line 81 of file ParagraphStyle.h.
81 {
82 return this->fHeight == rhs.fHeight &&
83 this->fEllipsis == rhs.fEllipsis &&
84 this->fEllipsisUtf16 == rhs.fEllipsisUtf16 &&
85 this->fTextDirection == rhs.fTextDirection && this->fTextAlign == rhs.fTextAlign &&
86 this->fDefaultTextStyle == rhs.fDefaultTextStyle &&
87 this->fReplaceTabCharacters == rhs.fReplaceTabCharacters;
88 }
◆ setApplyRoundingHack()
void skia::textlayout::ParagraphStyle::setApplyRoundingHack |
( |
bool |
value | ) |
|
|
inline |
◆ setEllipsis() [1/2]
void skia::textlayout::ParagraphStyle::setEllipsis |
( |
const SkString & |
ellipsis | ) |
|
|
inline |
◆ setEllipsis() [2/2]
void skia::textlayout::ParagraphStyle::setEllipsis |
( |
const std::u16string & |
ellipsis | ) |
|
|
inline |
◆ setHeight()
void skia::textlayout::ParagraphStyle::setHeight |
( |
SkScalar |
height | ) |
|
|
inline |
◆ setMaxLines()
void skia::textlayout::ParagraphStyle::setMaxLines |
( |
size_t |
maxLines | ) |
|
|
inline |
◆ setReplaceTabCharacters()
void skia::textlayout::ParagraphStyle::setReplaceTabCharacters |
( |
bool |
value | ) |
|
|
inline |
◆ setStrutStyle()
void skia::textlayout::ParagraphStyle::setStrutStyle |
( |
StrutStyle |
strutStyle | ) |
|
|
inline |
Definition at line 91 of file ParagraphStyle.h.
91{ fStrutStyle = std::move(strutStyle); }
◆ setTextAlign()
void skia::textlayout::ParagraphStyle::setTextAlign |
( |
TextAlign |
align | ) |
|
|
inline |
◆ setTextDirection()
void skia::textlayout::ParagraphStyle::setTextDirection |
( |
TextDirection |
direction | ) |
|
|
inline |
◆ setTextHeightBehavior()
◆ setTextStyle()
void skia::textlayout::ParagraphStyle::setTextStyle |
( |
const TextStyle & |
textStyle | ) |
|
|
inline |
◆ turnHintingOff()
void skia::textlayout::ParagraphStyle::turnHintingOff |
( |
| ) |
|
|
inline |
◆ unlimited_lines()
bool skia::textlayout::ParagraphStyle::unlimited_lines |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following files: