pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
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
getBasicCollisionShape
getPtr
offsetIndexes
readPixel
resize
window
writePixel
properties
wordLengthByString
variables
invertHoriz
invertVert
pitch
pixelAccess
pixels
Returns a 2D slice (window) of the bitmap.