Skia
2D Graphics Library
SkSVGWrapperValue< T, ValueType > Class Template Referencefinal

#include <SkSVGValue.h>

Inheritance diagram for SkSVGWrapperValue< T, ValueType >:

Public Types

enum class  Type {
  kColor , kFilter , kLength , kNumber ,
  kObjectBoundingBoxUnits , kPreserveAspectRatio , kStopColor , kString ,
  kTransform , kViewBox
}
 

Public Member Functions

 SkSVGWrapperValue (const T &v)
 
 operator const T & () const
 
const T * operator-> () const
 
Type type () const
 
template<typename T >
const T * as () const
 

Static Public Attributes

static constexpr Type TYPE = ValueType
 

Member Enumeration Documentation

◆ Type

enum SkSVGValue::Type
stronginherited
Enumerator
kColor 
kFilter 
kLength 
kNumber 
kObjectBoundingBoxUnits 
kPreserveAspectRatio 
kStopColor 
kString 
kTransform 
kViewBox 

Constructor & Destructor Documentation

◆ SkSVGWrapperValue()

template<typename T , SkSVGValue::Type ValueType>
SkSVGWrapperValue< T, ValueType >::SkSVGWrapperValue ( const T &  v)
inlineexplicit

Member Function Documentation

◆ as()

template<typename T >
const T* SkSVGValue::as ( ) const
inlineinherited

◆ operator const T &()

template<typename T , SkSVGValue::Type ValueType>
SkSVGWrapperValue< T, ValueType >::operator const T & ( ) const
inline

◆ operator->()

template<typename T , SkSVGValue::Type ValueType>
const T* SkSVGWrapperValue< T, ValueType >::operator-> ( ) const
inline

◆ type()

Type SkSVGValue::type ( ) const
inlineinherited

Member Data Documentation

◆ TYPE

template<typename T , SkSVGValue::Type ValueType>
constexpr Type SkSVGWrapperValue< T, ValueType >::TYPE = ValueType
staticconstexpr

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