dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Surface.adaptTo
Dgame
Graphic
Surface
Surface
Use this function to adapt the format of another Surface to this surface.
bool
adaptTo
(
ref
Surface
srfc
)
struct
Surface
@
nogc
bool
adaptTo
nothrow
(
ref
Surface
srfc
)
bool
adaptTo
(
ubyte
depth
)
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
Use this function to adapt the format of another Surface to this surface.