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

#include <SkSVGTypes.h>

Public Types

enum class  Type { kNormal , kItalic , kOblique , kInherit }
 

Public Member Functions

 SkSVGFontStyle ()
 
 SkSVGFontStyle (Type t)
 
bool operator== (const SkSVGFontStyle &other) const
 
bool operator!= (const SkSVGFontStyle &other) const
 
Type type () const
 

Detailed Description

Definition at line 503 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGFontStyle::Type
strong
Enumerator
kNormal 
kItalic 
kOblique 
kInherit 

Definition at line 505 of file SkSVGTypes.h.

Constructor & Destructor Documentation

◆ SkSVGFontStyle() [1/2]

SkSVGFontStyle::SkSVGFontStyle ( )
inline

Definition at line 512 of file SkSVGTypes.h.

512: fType(Type::kInherit) {}

◆ SkSVGFontStyle() [2/2]

SkSVGFontStyle::SkSVGFontStyle ( Type  t)
inlineexplicit

Definition at line 513 of file SkSVGTypes.h.

513: fType(t) {}

Member Function Documentation

◆ operator!=()

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

Definition at line 518 of file SkSVGTypes.h.

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

◆ operator==()

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

Definition at line 515 of file SkSVGTypes.h.

515 {
516 return fType == other.fType;
517 }

◆ type()

Type SkSVGFontStyle::type ( ) const
inline

Definition at line 520 of file SkSVGTypes.h.

520{ return fType; }

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