Flutter Engine
The Flutter Engine
Public Attributes | List of all members
skottie::Shaper::TextDesc Struct Reference

#include <TextShaper.h>

Public Attributes

const sk_sp< SkTypeface > & fTypeface
 
SkScalar fTextSize = 0
 
SkScalar fMinTextSize = 0
 
SkScalar fMaxTextSize = 0
 
SkScalar fLineHeight = 0
 
SkScalar fLineShift = 0
 
SkScalar fAscent = 0
 
SkTextUtils::Align fHAlign = SkTextUtils::kLeft_Align
 
VAlign fVAlign = Shaper::VAlign::kTop
 
ResizePolicy fResize = Shaper::ResizePolicy::kNone
 
LinebreakPolicy fLinebreak = Shaper::LinebreakPolicy::kExplicit
 
Direction fDirection = Shaper::Direction::kLTR
 
Capitalization fCapitalization = Shaper::Capitalization::kNone
 
size_t fMaxLines = 0
 
uint32_t fFlags = 0
 
const char * fLocale = nullptr
 
const char * fFontFamily = nullptr
 

Detailed Description

Definition at line 156 of file TextShaper.h.

Member Data Documentation

◆ fAscent

SkScalar skottie::Shaper::TextDesc::fAscent = 0

Definition at line 163 of file TextShaper.h.

◆ fCapitalization

Capitalization skottie::Shaper::TextDesc::fCapitalization = Shaper::Capitalization::kNone

Definition at line 169 of file TextShaper.h.

◆ fDirection

Direction skottie::Shaper::TextDesc::fDirection = Shaper::Direction::kLTR

Definition at line 168 of file TextShaper.h.

◆ fFlags

uint32_t skottie::Shaper::TextDesc::fFlags = 0

Definition at line 171 of file TextShaper.h.

◆ fFontFamily

const char* skottie::Shaper::TextDesc::fFontFamily = nullptr

Definition at line 173 of file TextShaper.h.

◆ fHAlign

SkTextUtils::Align skottie::Shaper::TextDesc::fHAlign = SkTextUtils::kLeft_Align

Definition at line 164 of file TextShaper.h.

◆ fLinebreak

LinebreakPolicy skottie::Shaper::TextDesc::fLinebreak = Shaper::LinebreakPolicy::kExplicit

Definition at line 167 of file TextShaper.h.

◆ fLineHeight

SkScalar skottie::Shaper::TextDesc::fLineHeight = 0

Definition at line 161 of file TextShaper.h.

◆ fLineShift

SkScalar skottie::Shaper::TextDesc::fLineShift = 0

Definition at line 162 of file TextShaper.h.

◆ fLocale

const char* skottie::Shaper::TextDesc::fLocale = nullptr

Definition at line 172 of file TextShaper.h.

◆ fMaxLines

size_t skottie::Shaper::TextDesc::fMaxLines = 0

Definition at line 170 of file TextShaper.h.

◆ fMaxTextSize

SkScalar skottie::Shaper::TextDesc::fMaxTextSize = 0

Definition at line 160 of file TextShaper.h.

◆ fMinTextSize

SkScalar skottie::Shaper::TextDesc::fMinTextSize = 0

Definition at line 159 of file TextShaper.h.

◆ fResize

ResizePolicy skottie::Shaper::TextDesc::fResize = Shaper::ResizePolicy::kNone

Definition at line 166 of file TextShaper.h.

◆ fTextSize

SkScalar skottie::Shaper::TextDesc::fTextSize = 0

Definition at line 158 of file TextShaper.h.

◆ fTypeface

const sk_sp<SkTypeface>& skottie::Shaper::TextDesc::fTypeface

Definition at line 157 of file TextShaper.h.

◆ fVAlign

VAlign skottie::Shaper::TextDesc::fVAlign = Shaper::VAlign::kTop

Definition at line 165 of file TextShaper.h.


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