toSurface

Creates surface from input range of pixels

toSurface
(
Range
)
(
Range r
,
size_t width
,
size_t height
)
if ()

Parameters

r Range

input range

width size_t

width of new surface

height size_t

height of new surface

Return Value

Type: Surface

Created surface

Meta