dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Surface.getPixelAt
Dgame
Graphic
Surface
Surface
Returns the pixel at the given coordinates.
int
getPixelAt
(
int
x
,
int
y
)
int
getPixelAt
(
const
Vector2i
pos
)
struct
Surface
@
nogc
int
getPixelAt
const nothrow
(
const
Vector2i
pos
)
Meta
Source
See Implementation
Dgame
Graphic
Surface
Surface
constructors
this
destructors
~this
enums
BlendMode
functions
adaptTo
blit
blitScaled
fill
getAlphaMod
getBlendMode
getClipRect
getColorAt
getColorkey
getMasks
getPixelAt
isLocked
isValid
loadFromFile
loadFromMemory
lock
mustLock
optimizeRLE
putPixelAt
saveToFile
setAlphaMod
setBlendMode
setClipRect
setColorkey
subSurface
unlock
postblits
this(this)
properties
bits
bytes
height
pitch
pixels
refCount
width
Returns the pixel at the given coordinates.