pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
Bitmap.this
PixelPerfectEngine
graphics
bitmap
Bitmap
Creates a bitmap from an array.
this
(int w, int h)
this
(T[] src, int w, int h)
this
(int x, int y, Color* palettePtr)
this
(ubyte[] p, int x, int y, Color* palettePtr)
this
(int x, int y)
this
(ubyte[] p, int x, int y)
class
Bitmap
(string S, T)
@
safe
pure
static if
(!(
S != "HB" && S != "QB" && S != "b"
))
static if
(
S == "HB"
)
this
(
ubyte
[]
p
,
int
x
,
int
y
)
this
(int w, int h)
this
(ubyte[] src, int w, int h)
this
(size_t[] src, int w, int h)
Meta
Source
See Implementation
PixelPerfectEngine
graphics
bitmap
Bitmap
constructors
this
functions
clear
getBasicCollisionShape
getPtr
offsetIndexes
readPixel
resize
window
writePixel
properties
wordLengthByString
variables
invertHoriz
invertVert
pitch
pixelAccess
pixels
Creates a bitmap from an array.