SDL3 module

SDL_WriteSurfacePixel

procedureforeignextension6 overloadsSource
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool
SDL_WriteSurfacePixel :: (
    surface: *SDL_Surface,
    x: s32,
    y: s32,
    r: Uint8,
    g: Uint8,
    b: Uint8,
    a: Uint8
) -> bool #foreign

Parameters

surface: *SDL_Surface
x: s32
y: s32

Returns

bool

See also