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

#include <SkSVGTypes.h>

Public Types

enum class  Type { kUserSpaceOnUse , kObjectBoundingBox }
 

Public Member Functions

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

Detailed Description

Definition at line 454 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

Enumerator
kUserSpaceOnUse 
kObjectBoundingBox 

Definition at line 456 of file SkSVGTypes.h.

Constructor & Destructor Documentation

◆ SkSVGObjectBoundingBoxUnits() [1/2]

SkSVGObjectBoundingBoxUnits::SkSVGObjectBoundingBoxUnits ( )
inline

Definition at line 461 of file SkSVGTypes.h.

461: fType(Type::kUserSpaceOnUse) {}

◆ SkSVGObjectBoundingBoxUnits() [2/2]

SkSVGObjectBoundingBoxUnits::SkSVGObjectBoundingBoxUnits ( Type  t)
inlineexplicit

Definition at line 462 of file SkSVGTypes.h.

462: fType(t) {}

Member Function Documentation

◆ operator!=()

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

Definition at line 467 of file SkSVGTypes.h.

467 {
468 return !(*this == other);
469 }

◆ operator==()

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

Definition at line 464 of file SkSVGTypes.h.

464 {
465 return fType == other.fType;
466 }

◆ type()

Type SkSVGObjectBoundingBoxUnits::type ( ) const
inline

Definition at line 471 of file SkSVGTypes.h.

471{ return fType; }

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