dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Surface.this
Dgame
Graphic
Surface
Surface
Make an new Surface of the given memory, width, height and depth.
this
(
SDL_Surface
*
srfc
)
this
(
string
filename
)
this
(
uint
width
,
uint
height
,
ubyte
depth
=
32
,
const
Masks
masks
=
Masks
.
init
)
this
(
void
*
memory
,
uint
width
,
uint
height
,
ubyte
depth
=
32
,
const
Masks
masks
=
Masks
.
init
)
struct
Surface
@
nogc
this
nothrow
(
void
*
memory
,
uint
width
,
uint
height
,
ubyte
depth
= 32
,
const
Masks
masks
=
Masks.init
)
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
Make an new Surface of the given memory, width, height and depth.