pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
Bitmap.writePixel
PixelPerfectEngine
graphics
bitmap
Bitmap
Writes the pixel at the given position.
void
writePixel
(int x, int y, T color)
void
writePixel
(int x, int y, ubyte color)
class
Bitmap
(string S, T)
@
nogc
@
safe
pure
static if
(!(
S != "HB" && S != "QB" && S != "b"
))
static if
(
S == "HB"
)
void
writePixel
(
int
x
,
int
y
,
ubyte
color
)
bool
writePixel
(int x, int y, bool val)
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
Writes the pixel at the given position.