#include <SkM44.h>
|
float | x |
|
float | y |
|
float | z |
|
float | w |
|
Definition at line 98 of file SkM44.h.
◆ Dot()
◆ dot()
Definition at line 126 of file SkM44.h.
126{
return Dot(*
this, v); }
static SkScalar Dot(const SkV4 &a, const SkV4 &b)
◆ length()
◆ lengthSquared()
Definition at line 123 of file SkM44.h.
123{
return Dot(*
this, *
this); }
◆ normalize()
SkV4 SkV4::normalize |
( |
| ) |
const |
|
inline |
Definition at line 127 of file SkM44.h.
static SkV4 Normalize(const SkV4 &v)
◆ Normalize()
static SkV4 SkV4::Normalize |
( |
const SkV4 & |
v | ) |
|
|
inlinestatic |
◆ operator!=()
bool SkV4::operator!= |
( |
const SkV4 & |
v | ) |
const |
|
inline |
Definition at line 104 of file SkM44.h.
104{ return !(*this == v); }
◆ operator*()
SkV4 SkV4::operator* |
( |
const SkV4 & |
v | ) |
const |
|
inline |
Definition at line 115 of file SkM44.h.
115 {
116 return {
x*v.
x,
y*v.
y,
z*v.
z,
w*v.
w };
117 }
◆ operator+()
SkV4 SkV4::operator+ |
( |
const SkV4 & |
v | ) |
const |
|
inline |
Definition at line 112 of file SkM44.h.
112{
return {
x + v.
x,
y + v.
y,
z + v.
z,
w + v.
w }; }
◆ operator-() [1/2]
SkV4 SkV4::operator- |
( |
| ) |
const |
|
inline |
Definition at line 111 of file SkM44.h.
111{
return {-
x, -
y, -
z, -
w}; }
◆ operator-() [2/2]
SkV4 SkV4::operator- |
( |
const SkV4 & |
v | ) |
const |
|
inline |
Definition at line 113 of file SkM44.h.
113{
return {
x - v.
x,
y - v.
y,
z - v.
z,
w - v.
w }; }
◆ operator==()
bool SkV4::operator== |
( |
const SkV4 & |
v | ) |
const |
|
inline |
Definition at line 101 of file SkM44.h.
101 {
102 return x == v.
x &&
y == v.
y &&
z == v.
z &&
w == v.
w;
103 }
◆ operator[]() [1/2]
float & SkV4::operator[] |
( |
int |
i | ) |
|
|
inline |
Definition at line 136 of file SkM44.h.
136 {
138 return this->
ptr()[
i];
139 }
const float * ptr() const
◆ operator[]() [2/2]
float SkV4::operator[] |
( |
int |
i | ) |
const |
|
inline |
Definition at line 132 of file SkM44.h.
132 {
134 return this->
ptr()[
i];
135 }
◆ ptr() [1/2]
◆ ptr() [2/2]
const float * SkV4::ptr |
( |
| ) |
const |
|
inline |
◆ operator* [1/2]
Definition at line 118 of file SkM44.h.
118 {
119 return { v.
x*
s, v.
y*
s, v.
z*
s, v.
w*
s };
120 }
◆ operator* [2/2]
The documentation for this struct was generated from the following file:
- third_party/skia/include/core/SkM44.h