arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
BlendMode
arsd
pixmappaint
Blend modes
As blending operations are implemented as integer calculations, results may be slightly less precise than those from image manipulation programs using floating-point math.
Values
Value
Meaning
none
0
replace
none
normal
1
alpha
normal
multiply
screen
overlay
hardLight
softLight
darken
lighten
colorDodge
colorBurn
difference
exclusion
subtract
divide
See Also
<
https://www.w3.org/TR/compositing/#blending
>
Meta
Source
See Implementation
arsd
pixmappaint
aliases
Blend
BlendFn
Color
ColorF
Pixel
Point
Rectangle
Size
enums
BlendAccuracy
BlendMode
functions
alphaBlendRGB
alphaBlendRGBA
blendPixels
clamp255
drawLine
drawPixel
drawPixmap
drawRectangle
drawSprite
intNormalizedSqrt
intSqrt
invert
n255thsOf
opacity
opacityF
rgb
rgba
structs
Pixmap
SpriteSheet
templates
alphaBlend
blendPixel
Blend modes