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

#include <SkottiePriv.h>

Public Member Functions

bool matches (const char family[], const char style[]) const
 

Public Attributes

SkString fFamily
 
SkString fStyle
 
SkString fPath
 
SkScalar fAscentPct
 
sk_sp< SkTypefacefTypeface
 
CustomFont::Builder fCustomFontBuilder
 

Detailed Description

Definition at line 82 of file SkottiePriv.h.

Member Function Documentation

◆ matches()

bool skottie::internal::AnimationBuilder::FontInfo::matches ( const char  family[],
const char  style[] 
) const

Definition at line 110 of file TextLayer.cpp.

110 {
111 return 0 == strcmp(fFamily.c_str(), family)
112 && 0 == strcmp(fStyle.c_str(), style);
113}
const char * c_str() const
Definition SkString.h:133

Member Data Documentation

◆ fAscentPct

SkScalar skottie::internal::AnimationBuilder::FontInfo::fAscentPct

Definition at line 86 of file SkottiePriv.h.

◆ fCustomFontBuilder

CustomFont::Builder skottie::internal::AnimationBuilder::FontInfo::fCustomFontBuilder

Definition at line 88 of file SkottiePriv.h.

◆ fFamily

SkString skottie::internal::AnimationBuilder::FontInfo::fFamily

Definition at line 83 of file SkottiePriv.h.

◆ fPath

SkString skottie::internal::AnimationBuilder::FontInfo::fPath

Definition at line 85 of file SkottiePriv.h.

◆ fStyle

SkString skottie::internal::AnimationBuilder::FontInfo::fStyle

Definition at line 84 of file SkottiePriv.h.

◆ fTypeface

sk_sp<SkTypeface> skottie::internal::AnimationBuilder::FontInfo::fTypeface

Definition at line 87 of file SkottiePriv.h.


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