Skia
2D Graphics Library
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
 

Member Data Documentation

◆ fAscent

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

◆ fCapitalization

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

◆ fDirection

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

◆ fFlags

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

◆ fHAlign

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

◆ fLinebreak

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

◆ fLineHeight

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

◆ fLineShift

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

◆ fLocale

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

◆ fMaxLines

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

◆ fMaxTextSize

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

◆ fMinTextSize

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

◆ fResize

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

◆ fTextSize

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

◆ fTypeface

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

◆ fVAlign

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

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