arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
drawSprite
arsd
pixmappaint
Draws a sprite from a spritesheet
@
safe
pure nothrow @
nogc
void
drawSprite
(
Pixmap
target
,
const
SpriteSheet
sheet
,
int
spriteIndex
,
Point
pos
,
Blend
blend
=
blendNormal
)
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
Draws a sprite from a spritesheet