arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
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.