sw_
composite
0.7.16
All Items
Modules
Structs
Enums
Constants
Traits
Functions
Type Aliases
Crate
sw_composite
Copy item path
source
·
[
−
]
Modules
§
blend
Structs
§
Color
A unpremultiplied color.
Gradient
Gradient
Source
Gradient
Stop
Image
Matrix
Fixed
Point
PadFetch
Point
Fixed
Point
Repeat
Fetch
Sweep
Gradient
Source
TwoCircle
Radial
Gradient
Source
Enums
§
Spread
Constants
§
A32_
SHIFT
🔒
B32_
SHIFT
🔒
BILINEA
R_
INTERPOLATIO
N_
BITS
🔒
FIXE
D_
FRACTIO
N_
BITS
🔒
FIXE
D_
HALF
🔒
FIXE
D_
ONE
G32_
SHIFT
🔒
R32_
SHIFT
🔒
Traits
§
Pixel
Fetch
Functions
§
alpha_
lerp
alpha_
mul
alpha_
mul_
256
🔒
alpha_
mul_
inv256
🔒
alpha_
to_
alpha256
apply_
spread
🔒
maps
x
to 0..255 according to
spread
bilinear_
interpolation
🔒
bilinear_
interpolation_
alpha
🔒
bilinear_
weight
🔒
div255
fetch_
bilinear
fetch_
bilinear_
alpha
fetch_
nearest
fetch_
nearest_
alpha
fixed_
to_
int
🔒
float_
to_
fixed
get_
packed_
a32
🔒
get_
packed_
b32
🔒
get_
packed_
g32
🔒
get_
packed_
r32
🔒
if_
then_
else
🔒
lerp
t is 0..256
muldiv255
over
over_
exact
over_in
over_
in_
in
over_
in_
legacy_
lerp
over_
in_
row
over_
in_
sse2
🔒
pack_
argb32
🔒
packed_
alpha
🔒
premultiply
🔒
Type Aliases
§
Alpha256
🔒
Fixed
🔒