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

456 {
457 kUserSpaceOnUse,
458 kObjectBoundingBox,
459 };

Constructor & Destructor Documentation

◆ SkSVGObjectBoundingBoxUnits() [1/2]

SkSVGObjectBoundingBoxUnits::SkSVGObjectBoundingBoxUnits ( )
inline

Definition at line 461 of file SkSVGTypes.h.

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