The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SpriteSheet
arsd
pixmappaint
struct
SpriteSheet {
this
(Pixmap pixmap, Size spriteSize);
inout
(
Pixmap
)
pixmap
();
Size
spriteSize
();
Size
layout
();
Point
getSpriteColumn
(int index);
Point
getSpritePixelOffset2D
(int index);
}
Constructors
this
this
(Pixmap pixmap, Size spriteSize)
Members
Functions
getSpriteColumn
Point
getSpriteColumn
(int index)
getSpritePixelOffset2D
Point
getSpritePixelOffset2D
(int index)
layout
Size
layout
()
pixmap
inout
(
Pixmap
)
pixmap
()
spriteSize
Size
spriteSize
()
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