Skia
2D Graphics Library
SkV4 Struct Reference

#include <SkM44.h>

Public Member Functions

bool operator== (const SkV4 &v) const
 
bool operator!= (const SkV4 &v) const
 
SkV4 operator- () const
 
SkV4 operator+ (const SkV4 &v) const
 
SkV4 operator- (const SkV4 &v) const
 
SkV4 operator* (const SkV4 &v) const
 
const float * ptr () const
 
float * ptr ()
 
float operator[] (int i) const
 
float & operator[] (int i)
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Friends

SkV4 operator* (const SkV4 &v, SkScalar s)
 
SkV4 operator* (SkScalar s, const SkV4 &v)
 

Member Function Documentation

◆ operator!=()

bool SkV4::operator!= ( const SkV4 v) const
inline

◆ operator*()

SkV4 SkV4::operator* ( const SkV4 v) const
inline

◆ operator+()

SkV4 SkV4::operator+ ( const SkV4 v) const
inline

◆ operator-() [1/2]

SkV4 SkV4::operator- ( ) const
inline

◆ operator-() [2/2]

SkV4 SkV4::operator- ( const SkV4 v) const
inline

◆ operator==()

bool SkV4::operator== ( const SkV4 v) const
inline

◆ operator[]() [1/2]

float& SkV4::operator[] ( int  i)
inline

◆ operator[]() [2/2]

float SkV4::operator[] ( int  i) const
inline

◆ ptr() [1/2]

float* SkV4::ptr ( )
inline

◆ ptr() [2/2]

const float* SkV4::ptr ( ) const
inline

Friends And Related Function Documentation

◆ operator* [1/2]

SkV4 operator* ( const SkV4 v,
SkScalar  s 
)
friend

◆ operator* [2/2]

SkV4 operator* ( SkScalar  s,
const SkV4 v 
)
friend

Member Data Documentation

◆ w

float SkV4::w

◆ x

float SkV4::x

◆ y

float SkV4::y

◆ z

float SkV4::z

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