Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
sksg::TransformPriv Class Referencefinal

#include <SkSGTransformPriv.h>

Static Public Member Functions

static bool Is44 (const sk_sp< Transform > &t)
 
template<typename T , typename = std::enable_if<std::is_same<T, SkMatrix>::value || std::is_same<T, SkM44 >::value >>
static T As (const sk_sp< Transform > &)
 
template<>
SkMatrix As (const sk_sp< Transform > &t)
 
template<>
SkM44 As (const sk_sp< Transform > &t)
 

Detailed Description

Definition at line 18 of file SkSGTransformPriv.h.

Member Function Documentation

◆ As() [1/3]

template<typename T , typename = std::enable_if<std::is_same<T, SkMatrix>::value || std::is_same<T, SkM44 >::value >>
static T sksg::TransformPriv::As ( const sk_sp< Transform > &  )
static

◆ As() [2/3]

template<>
SkMatrix sksg::TransformPriv::As ( const sk_sp< Transform > &  t)
inlinestatic

Definition at line 32 of file SkSGTransformPriv.h.

32 {
33 return t->asMatrix();
34}

◆ As() [3/3]

template<>
SkM44 sksg::TransformPriv::As ( const sk_sp< Transform > &  t)
inlinestatic

Definition at line 37 of file SkSGTransformPriv.h.

37 {
38 return t->asM44();
39}

◆ Is44()

static bool sksg::TransformPriv::Is44 ( const sk_sp< Transform > &  t)
inlinestatic

Definition at line 21 of file SkSGTransformPriv.h.

21{ return t->is44(); }

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