Flutter Engine
The Flutter Engine
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.

505 {
506 kNormal,
507 kItalic,
508 kOblique,
509 kInherit,
510 };
@ kItalic
@ kNormal
Default priority level.
Definition: embedder.h:262

Constructor & Destructor Documentation

◆ SkSVGFontStyle() [1/2]

SkSVGFontStyle::SkSVGFontStyle ( )
inline

Definition at line 512 of file SkSVGTypes.h.

◆ 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: