The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Pixmap.size
arsd
pixmappaint
Pixmap
Changes the size of the buffer
Reallocates the underlying pixel array.
void
size
(Size value)
void
size
(int totalPixels, int width)
struct
Pixmap
@
safe
pure nothrow
void
size
(
int
totalPixels
,
int
width
)
Size
size
()
Meta
Source
See Implementation
arsd
pixmappaint
Pixmap
constructors
this
functions
clear
clone
height
length
pitch
size
sliceAt
static functions
fromMemoryImage
fromTrueColorImage
variables
data
width
Changes the size of the buffer
Reallocates the underlying pixel array.