Packages
sdl2
SDL
Video
Surface
convert_pixels
Surface.from_bmp
Surface.from_bmp_rw
Surface.from_rgb
Surface.from_rgb_with_format
Surface.legacy_rgb
Surface.legacy_rgb_with_format
Surface.rgb
Surface.rgb_with_format
@unlock
blit
blit_scaled
convert
convert_format
do_lock
fill_rect
fill_rects
get_alphamod
get_blend_mode
get_cliprect
get_colorkey
get_colormod
lowerblit
lowerblit_scaled
must_lock
save_bmp
save_bmp_rw
set_alphamod
set_blend_mode
set_cliprect
set_colorkey
set_colormod
set_palette
set_rle
softstretch
up
clip_rect
flags
format
h
list_blitmap
locked
map
pitch
pixels
refcount
userdata
w
Surface.from_rgb
Description:
[
CCode
( cname =
"SDL_CreateRGBSurfaceFrom"
) ]
public
Surface.from_rgb
(
void
* pixels,
int
width,
int
height,
int
depth,
int
pitch,
uint32
rmask,
uint32
gmask,
uint32
bmask,
uint32
amask)