tiny_
skia
0.11.4
In tiny_
skia::
color
Function
tiny_skia
::
color
::
premultiply_u8
Copy item path
source
ยท
[
−
]
pub fn premultiply_u8(c:
u8
, a:
u8
) ->
u8
Expand description
Return a*b/255, rounding any fractional bits.