#include <WangsFormula.h>
Definition at line 105 of file WangsFormula.h.
◆ VectorXform() [1/3]
AI skgpu::wangs_formula::VectorXform::VectorXform |
( |
| ) |
|
|
inline |
◆ VectorXform() [2/3]
AI skgpu::wangs_formula::VectorXform::VectorXform |
( |
const SkMatrix & |
m | ) |
|
|
inlineexplicit |
◆ VectorXform() [3/3]
AI skgpu::wangs_formula::VectorXform::VectorXform |
( |
const SkM44 & |
m | ) |
|
|
inlineexplicit |
◆ operator()() [1/2]
Definition at line 123 of file WangsFormula.h.
123 {
124 return fC0 * vector.x() + fC1 * vector.y();
125 }
◆ operator()() [2/2]
Definition at line 126 of file WangsFormula.h.
126 {
127 return join(fC0 * vectors.x() + fC1 * vectors.y(),
128 fC0 * vectors.z() + fC1 * vectors.w());
129 }
static SkString join(const CommandLineFlags::StringArray &)
◆ operator=() [1/2]
Definition at line 117 of file WangsFormula.h.
117 {
118 SkASSERT(
m.rc(3,0) == 0.f &&
m.rc(3,1) == 0.f &&
m.rc(3,2) == 0.f &&
m.rc(3,3) == 1.f);
119 fC0 = {
m.rc(0,0),
m.rc(1,0)};
120 fC1 = {
m.rc(0,1),
m.rc(1,1)};
121 return *this;
122 }
◆ operator=() [2/2]
Definition at line 111 of file WangsFormula.h.
111 {
113 fC0 = {
m.rc(0,0),
m.rc(1,0)};
114 fC1 = {
m.rc(0,1),
m.rc(1,1)};
115 return *this;
116 }
The documentation for this class was generated from the following file: