The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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