Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
Sk4px::Wide Class Reference

#include <Sk4px.h>

Public Member Functions

 Wide (const skvx::Vec< 16, uint16_t > &v)
 
Sk4px div255 () const
 
Wide operator* (const Wide &o) const
 
Wide operator+ (const Wide &o) const
 
Wide operator- (const Wide &o) const
 
Wide operator>> (int bits) const
 
Wide operator<< (int bits) const
 

Detailed Description

Definition at line 70 of file Sk4px.h.

Constructor & Destructor Documentation

◆ Wide()

Sk4px::Wide::Wide ( const skvx::Vec< 16, uint16_t > &  v)
inline

Definition at line 72 of file Sk4px.h.

72: fV(v) {}

Member Function Documentation

◆ div255()

Sk4px Sk4px::Wide::div255 ( ) const
inline

Definition at line 75 of file Sk4px.h.

75{ return Sk4px(skvx::div255(fV)); }
Definition: Sk4px.h:16
SIN Vec< N, uint8_t > div255(const Vec< N, uint16_t > &x)
Definition: SkVx.h:818

◆ operator*()

Wide Sk4px::Wide::operator* ( const Wide o) const
inline

Definition at line 77 of file Sk4px.h.

77{ return Wide(fV * o.fV); }
Wide(const skvx::Vec< 16, uint16_t > &v)
Definition: Sk4px.h:72

◆ operator+()

Wide Sk4px::Wide::operator+ ( const Wide o) const
inline

Definition at line 78 of file Sk4px.h.

78{ return Wide(fV + o.fV); }

◆ operator-()

Wide Sk4px::Wide::operator- ( const Wide o) const
inline

Definition at line 79 of file Sk4px.h.

79{ return Wide(fV - o.fV); }

◆ operator<<()

Wide Sk4px::Wide::operator<< ( int  bits) const
inline

Definition at line 81 of file Sk4px.h.

81{ return Wide(fV << bits); }

◆ operator>>()

Wide Sk4px::Wide::operator>> ( int  bits) const
inline

Definition at line 80 of file Sk4px.h.

80{ return Wide(fV >> bits); }

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