pixelperfectengine v0.10.0-beta.3 (2021-11-05T22:49:30Z)
Dub
Repo
Bitmap.window
pixelperfectengine
graphics
bitmap
Bitmap
Returns a 2D slice (window) of the bitmap.
class
Bitmap
(string S, T)
@
safe
pure
static if
(
S != "HB" && S != "QB" && S != "b"
)
Bitmap
!(
S
,
T
)
window
(
int
iX0
,
int
iY0
,
int
iX1
,
int
iY1
)
Meta
Source
See Implementation
pixelperfectengine
graphics
bitmap
Bitmap
constructors
this
functions
clear
generateStandardCollisionModel
getPtr
offsetIndexes
readPixel
resize
testLineCollision
window
writePixel
properties
wordLengthByString
variables
invertHoriz
invertVert
pitch
pixelAccess
pixels
Returns a 2D slice (window) of the bitmap.