Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
skif::Vector Struct Reference

#include <SkImageFilterTypes.h>

Public Member Functions

 Vector ()=default
 
 Vector (SkScalar x, SkScalar y)
 
 Vector (const SkVector &v)
 
bool isFinite () const
 

Public Attributes

SkScalar fX
 
SkScalar fY
 

Detailed Description

Definition at line 71 of file SkImageFilterTypes.h.

Constructor & Destructor Documentation

◆ Vector() [1/3]

skif::Vector::Vector ( )
default

◆ Vector() [2/3]

skif::Vector::Vector ( SkScalar  x,
SkScalar  y 
)
inline

Definition at line 76 of file SkImageFilterTypes.h.

76: fX(x), fY(y) {}
double y
double x

◆ Vector() [3/3]

skif::Vector::Vector ( const SkVector v)
inlineexplicit

Definition at line 77 of file SkImageFilterTypes.h.

77: fX(v.fX), fY(v.fY) {}
float fX
x-axis value
Definition: SkPoint_impl.h:164
float fY
y-axis value
Definition: SkPoint_impl.h:165

Member Function Documentation

◆ isFinite()

bool skif::Vector::isFinite ( ) const
inline

Definition at line 79 of file SkImageFilterTypes.h.

79{ return SkIsFinite(fX, fY); }
static bool SkIsFinite(T x, Pack... values)

Member Data Documentation

◆ fX

SkScalar skif::Vector::fX

Definition at line 72 of file SkImageFilterTypes.h.

◆ fY

SkScalar skif::Vector::fY

Definition at line 73 of file SkImageFilterTypes.h.


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