Module blend
sw_
composite
0.7.16
Module blend
Module Items
Structs
Traits
Functions
Type Aliases
In crate sw_
composite
Modules
blend
Structs
Color
Gradient
GradientSource
GradientStop
Image
MatrixFixedPoint
PadFetch
PointFixedPoint
RepeatFetch
SweepGradientSource
TwoCircleRadialGradientSource
Enums
Spread
Constants
A32_SHIFT
B32_SHIFT
BILINEAR_INTERPOLATION_BITS
FIXED_FRACTION_BITS
FIXED_HALF
FIXED_ONE
G32_SHIFT
R32_SHIFT
Traits
PixelFetch
Functions
alpha_lerp
alpha_mul
alpha_mul_256
alpha_mul_inv256
alpha_to_alpha256
apply_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
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
sw_composite
Module
blend
Copy item path
Settings
Help
Summary
Source
Structs
§
Add
Clear
Color
Color
Burn
Color
Dodge
Darken
Difference
Dst
DstAtop
DstIn
DstOut
DstOver
Exclusion
Hard
Light
Hue
Lighten
Luminosity
Multiply
Overlay
Saturation
Screen
Soft
Light
Src
SrcAtop
SrcIn
SrcOut
SrcOver
Xor
Traits
§
Blend
Functions
§
blendfunc_
multiply_
byte
🔒
blendfunc_
nonsep_
byte
🔒
clamp_
div255round
🔒
clamp_
signed_
byte
🔒
clip_
color
🔒
colorburn_
byte
🔒
colordodge_
byte
🔒
darken_
byte
🔒
difference_
byte
🔒
exclusion_
byte
🔒
hardlight_
byte
🔒
lighten_
byte
🔒
lum
🔒
maximum
🔒
minimum
🔒
mul_div
🔒
overlay_
byte
🔒
sat
🔒
saturated_
add
🔒
set_lum
🔒
set_sat
🔒
set_
saturation_
components
🔒
softlight_
byte
🔒
sqrt_
bits
🔒
sqrt_
unit_
byte
🔒
srcover_
byte
🔒
Type Aliases
§
U8Cpu
🔒