arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
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