SDL3 module

SDL_ReadSurfacePixel

procedureforeignextension6 overloadsSource
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool
SDL_ReadSurfacePixel :: (
    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
r: *Uint8
g: *Uint8
b: *Uint8
a: *Uint8

Returns

bool

See also