Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
SkSVGFontFamily Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kFamily , kInherit }
 

Public Member Functions

 SkSVGFontFamily ()
 
 SkSVGFontFamily (const char family[])
 
bool operator== (const SkSVGFontFamily &other) const
 
bool operator!= (const SkSVGFontFamily &other) const
 
Type type () const
 
const SkStringfamily () const
 

Detailed Description

Definition at line 477 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGFontFamily::Type
strong
Enumerator
kFamily 
kInherit 

Definition at line 479 of file SkSVGTypes.h.

Constructor & Destructor Documentation

◆ SkSVGFontFamily() [1/2]

SkSVGFontFamily::SkSVGFontFamily ( )
inline

Definition at line 484 of file SkSVGTypes.h.

484: fType(Type::kInherit) {}

◆ SkSVGFontFamily() [2/2]

SkSVGFontFamily::SkSVGFontFamily ( const char  family[])
inlineexplicit

Definition at line 485 of file SkSVGTypes.h.

486 : fType(Type::kFamily)
487 , fFamily(family) {}
const SkString & family() const
Definition SkSVGTypes.h:496

Member Function Documentation

◆ family()

const SkString & SkSVGFontFamily::family ( ) const
inline

Definition at line 496 of file SkSVGTypes.h.

496{ return fFamily; }

◆ operator!=()

bool SkSVGFontFamily::operator!= ( const SkSVGFontFamily other) const
inline

Definition at line 492 of file SkSVGTypes.h.

492{ return !(*this == other); }

◆ operator==()

bool SkSVGFontFamily::operator== ( const SkSVGFontFamily other) const
inline

Definition at line 489 of file SkSVGTypes.h.

489 {
490 return fType == other.fType && fFamily == other.fFamily;
491 }

◆ type()

Type SkSVGFontFamily::type ( ) const
inline

Definition at line 494 of file SkSVGTypes.h.

494{ return fType; }

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