Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
skottie::TextPropertyValue Struct Reference

#include <SkottieProperty.h>

Public Member Functions

bool operator== (const TextPropertyValue &other) const
 
bool operator!= (const TextPropertyValue &other) const
 

Public Attributes

sk_sp< SkTypefacefTypeface
 
SkString fText
 
float fTextSize = 0
 
float fMinTextSize = 0
 
float fMaxTextSize = std::numeric_limits<float>::max()
 
float fStrokeWidth = 0
 
float fLineHeight = 0
 
float fLineShift = 0
 
float fAscent = 0
 
size_t fMaxLines = 0
 
SkTextUtils::Align fHAlign = SkTextUtils::kLeft_Align
 
Shaper::VAlign fVAlign = Shaper::VAlign::kTop
 
Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone
 
Shaper::LinebreakPolicy fLineBreak = Shaper::LinebreakPolicy::kExplicit
 
Shaper::Direction fDirection = Shaper::Direction::kLTR
 
Shaper::Capitalization fCapitalization = Shaper::Capitalization::kNone
 
SkRect fBox = SkRect::MakeEmpty()
 
SkColor fFillColor = SK_ColorTRANSPARENT
 
SkColor fStrokeColor = SK_ColorTRANSPARENT
 
TextPaintOrder fPaintOrder = TextPaintOrder::kFillStroke
 
SkPaint::Join fStrokeJoin = SkPaint::Join::kMiter_Join
 
bool fHasFill = false
 
bool fHasStroke = false
 
sk_sp< GlyphDecoratorfDecorator
 
SkString fLocale
 
SkString fFontFamily
 

Detailed Description

Definition at line 70 of file SkottieProperty.h.

Member Function Documentation

◆ operator!=()

bool skottie::TextPropertyValue::operator!= ( const TextPropertyValue other) const

Definition at line 45 of file SkottieProperty.cpp.

45 {
46 return !(*this== other);
47}

◆ operator==()

bool skottie::TextPropertyValue::operator== ( const TextPropertyValue other) const

Definition at line 18 of file SkottieProperty.cpp.

18 {
19 return fTypeface == other.fTypeface
20 && fText == other.fText
21 && fTextSize == other.fTextSize
22 && fStrokeWidth == other.fStrokeWidth
23 && fLineHeight == other.fLineHeight
24 && fLineShift == other.fLineShift
25 && fAscent == other.fAscent
26 && fMaxLines == other.fMaxLines
27 && fHAlign == other.fHAlign
28 && fVAlign == other.fVAlign
29 && fResize == other.fResize
30 && fLineBreak == other.fLineBreak
31 && fDirection == other.fDirection
32 && fCapitalization == other.fCapitalization
33 && fBox == other.fBox
34 && fFillColor == other.fFillColor
35 && fStrokeColor == other.fStrokeColor
36 && fPaintOrder == other.fPaintOrder
37 && fStrokeJoin == other.fStrokeJoin
38 && fHasFill == other.fHasFill
39 && fHasStroke == other.fHasStroke
40 && fDecorator == other.fDecorator
41 && fLocale == other.fLocale
42 && fFontFamily == other.fFontFamily;
43}
sk_sp< SkTypeface > fTypeface
Shaper::Direction fDirection
Shaper::LinebreakPolicy fLineBreak
sk_sp< GlyphDecorator > fDecorator
Shaper::Capitalization fCapitalization
Shaper::ResizePolicy fResize
SkTextUtils::Align fHAlign

Member Data Documentation

◆ fAscent

float skottie::TextPropertyValue::fAscent = 0

Definition at line 79 of file SkottieProperty.h.

◆ fBox

SkRect skottie::TextPropertyValue::fBox = SkRect::MakeEmpty()

Definition at line 87 of file SkottieProperty.h.

◆ fCapitalization

Shaper::Capitalization skottie::TextPropertyValue::fCapitalization = Shaper::Capitalization::kNone

Definition at line 86 of file SkottieProperty.h.

◆ fDecorator

sk_sp<GlyphDecorator> skottie::TextPropertyValue::fDecorator

Definition at line 94 of file SkottieProperty.h.

◆ fDirection

Shaper::Direction skottie::TextPropertyValue::fDirection = Shaper::Direction::kLTR

Definition at line 85 of file SkottieProperty.h.

◆ fFillColor

SkColor skottie::TextPropertyValue::fFillColor = SK_ColorTRANSPARENT

Definition at line 88 of file SkottieProperty.h.

◆ fFontFamily

SkString skottie::TextPropertyValue::fFontFamily

Definition at line 102 of file SkottieProperty.h.

◆ fHAlign

SkTextUtils::Align skottie::TextPropertyValue::fHAlign = SkTextUtils::kLeft_Align

Definition at line 81 of file SkottieProperty.h.

◆ fHasFill

bool skottie::TextPropertyValue::fHasFill = false

Definition at line 92 of file SkottieProperty.h.

◆ fHasStroke

bool skottie::TextPropertyValue::fHasStroke = false

Definition at line 93 of file SkottieProperty.h.

◆ fLineBreak

Shaper::LinebreakPolicy skottie::TextPropertyValue::fLineBreak = Shaper::LinebreakPolicy::kExplicit

Definition at line 84 of file SkottieProperty.h.

◆ fLineHeight

float skottie::TextPropertyValue::fLineHeight = 0

Definition at line 77 of file SkottieProperty.h.

◆ fLineShift

float skottie::TextPropertyValue::fLineShift = 0

Definition at line 78 of file SkottieProperty.h.

◆ fLocale

SkString skottie::TextPropertyValue::fLocale

Definition at line 99 of file SkottieProperty.h.

◆ fMaxLines

size_t skottie::TextPropertyValue::fMaxLines = 0

Definition at line 80 of file SkottieProperty.h.

◆ fMaxTextSize

float skottie::TextPropertyValue::fMaxTextSize = std::numeric_limits<float>::max()

Definition at line 75 of file SkottieProperty.h.

◆ fMinTextSize

float skottie::TextPropertyValue::fMinTextSize = 0

Definition at line 74 of file SkottieProperty.h.

◆ fPaintOrder

TextPaintOrder skottie::TextPropertyValue::fPaintOrder = TextPaintOrder::kFillStroke

Definition at line 90 of file SkottieProperty.h.

◆ fResize

Shaper::ResizePolicy skottie::TextPropertyValue::fResize = Shaper::ResizePolicy::kNone

Definition at line 83 of file SkottieProperty.h.

◆ fStrokeColor

SkColor skottie::TextPropertyValue::fStrokeColor = SK_ColorTRANSPARENT

Definition at line 89 of file SkottieProperty.h.

◆ fStrokeJoin

SkPaint::Join skottie::TextPropertyValue::fStrokeJoin = SkPaint::Join::kMiter_Join

Definition at line 91 of file SkottieProperty.h.

◆ fStrokeWidth

float skottie::TextPropertyValue::fStrokeWidth = 0

Definition at line 76 of file SkottieProperty.h.

◆ fText

SkString skottie::TextPropertyValue::fText

Definition at line 72 of file SkottieProperty.h.

◆ fTextSize

float skottie::TextPropertyValue::fTextSize = 0

Definition at line 73 of file SkottieProperty.h.

◆ fTypeface

sk_sp<SkTypeface> skottie::TextPropertyValue::fTypeface

Definition at line 71 of file SkottieProperty.h.

◆ fVAlign

Shaper::VAlign skottie::TextPropertyValue::fVAlign = Shaper::VAlign::kTop

Definition at line 82 of file SkottieProperty.h.


The documentation for this struct was generated from the following files: