dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Surface.make
Dgame
Graphics
Surface
Surface
Make a new Surface of the given width, height and depth.
Surface
make
(ushort width, ushort height, ubyte depth)
struct
Surface
static
Surface
make
(
ushort
width
,
ushort
height
,
ubyte
depth
= 32
)
Surface
make
(void* memory, ushort width, ushort height, ubyte depth)
Meta
Source
See Implementation
Dgame
Graphics
Surface
Surface
constructors
this
destructors
~this
enums
BlendMode
Flip
Mask
functions
adaptTo
blit
blitScaled
fill
fillAreas
flip
free
getAlphaMod
getBlendMode
getClipRect
getColorAt
getColorkey
getPixelAt
isLocked
isMask
isValid
loadFromFile
loadFromMemory
lock
lowerBlit
mustLock
optimizeRLE
putPixelAt
saveToFile
setAlphaMod
setBlendMode
setClipRect
setColorkey
subSurface
unlock
useCount
manifest constants
AMask
BMask
GMask
RMask
postblits
this(this)
properties
bits
bytes
filename
height
pitch
pixelFormat
pixels
ptr
width
static functions
make
Make a new Surface of the given width, height and depth.