#include <SkM44.h>
Definition at line 19 of file SkM44.h.
◆ Cross()
◆ cross()
Definition at line 49 of file SkM44.h.
49{
return Cross(*
this, v); }
static SkScalar Cross(SkV2 a, SkV2 b)
◆ Dot()
◆ dot()
Definition at line 48 of file SkM44.h.
48{
return Dot(*
this, v); }
static SkScalar Dot(SkV2 a, SkV2 b)
◆ length()
Definition at line 46 of file SkM44.h.
SkScalar lengthSquared() const
◆ lengthSquared()
Definition at line 45 of file SkM44.h.
45{
return Dot(*
this, *
this); }
◆ normalize()
SkV2 SkV2::normalize |
( |
| ) |
const |
|
inline |
Definition at line 50 of file SkM44.h.
static SkV2 Normalize(SkV2 v)
◆ Normalize()
Definition at line 27 of file SkM44.h.
27{
return v * (1.0f / v.
length()); }
◆ operator!=()
bool SkV2::operator!= |
( |
const SkV2 |
v | ) |
const |
|
inline |
Definition at line 23 of file SkM44.h.
23{ return !(*this == v); }
◆ operator*()
Definition at line 33 of file SkM44.h.
33{
return {
x*v.
x,
y*v.
y}; }
◆ operator*=() [1/2]
◆ operator*=() [2/2]
void SkV2::operator*= |
( |
SkV2 |
v | ) |
|
|
inline |
◆ operator+()
Definition at line 30 of file SkM44.h.
30{
return {
x+v.
x,
y+v.
y}; }
◆ operator+=()
void SkV2::operator+= |
( |
SkV2 |
v | ) |
|
|
inline |
◆ operator-() [1/2]
SkV2 SkV2::operator- |
( |
| ) |
const |
|
inline |
◆ operator-() [2/2]
Definition at line 31 of file SkM44.h.
31{
return {
x-v.
x,
y-v.
y}; }
◆ operator-=()
void SkV2::operator-= |
( |
SkV2 |
v | ) |
|
|
inline |
◆ operator/=()
◆ operator==()
bool SkV2::operator== |
( |
const SkV2 |
v | ) |
const |
|
inline |
Definition at line 22 of file SkM44.h.
22{
return x == v.
x &&
y == v.
y; }
◆ ptr() [1/2]
◆ ptr() [2/2]
const float * SkV2::ptr |
( |
| ) |
const |
|
inline |
◆ operator* [1/2]
Definition at line 35 of file SkM44.h.
35{
return {v.
x*
s, v.
y*
s}; }
◆ operator* [2/2]
Definition at line 34 of file SkM44.h.
34{
return {v.
x*
s, v.
y*
s}; }
◆ operator/ [1/2]
Definition at line 37 of file SkM44.h.
37{
return {
s/v.
x,
s/v.
y}; }
◆ operator/ [2/2]
Definition at line 36 of file SkM44.h.
36{
return {v.
x/
s, v.
y/
s}; }
The documentation for this struct was generated from the following file:
- third_party/skia/include/core/SkM44.h