Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/creationix/node-sdl
/ functions
Functions
82 in github.com/creationix/node-sdl
⨍
Functions
82
◇
Types & classes
0
↓ 18 callers
Function
UnwrapSurface
src/helpers.cc:101
↓ 9 callers
Function
ThrowSDLException
Helper for formatting error exceptions
src/helpers.cc:12
↓ 8 callers
Function
UnwrapPixelFormat
src/helpers.cc:245
↓ 8 callers
Function
UnwrapRect
src/helpers.cc:173
↓ 6 callers
Function
WrapSurface
src/helpers.cc:72
↓ 5 callers
Function
UnwrapJoystick
src/helpers.cc:329
↓ 2 callers
Function
MakeSDLException
src/helpers.cc:16
↓ 1 callers
Function
MakeFontTemplate
src/helpers.cc:366
↓ 1 callers
Function
MakeJoystickTemplate
src/helpers.cc:282
↓ 1 callers
Function
MakePixelFormatTemplate
src/helpers.cc:200
↓ 1 callers
Function
MakeRectTemplate
src/helpers.cc:128
↓ 1 callers
Function
MakeSurfaceTemplate
src/helpers.cc:54
↓ 1 callers
Function
UnwrapFont
src/helpers.cc:413
↓ 1 callers
Function
WrapFont
src/helpers.cc:384
↓ 1 callers
Function
WrapJoystick
src/helpers.cc:300
↓ 1 callers
Function
WrapPixelFormat
src/helpers.cc:216
↓ 1 callers
Function
WrapRect
src/helpers.cc:144
↓ 1 callers
Function
draw
(surface, name, x, y)
examples/img.js:41
↓ 1 callers
Function
shuffle
(array)
examples/Chaser.js:22
Method
BlitSurface
src/sdl.cc:582
Function
BufferData
src/helpers.cc:420
Function
BufferLength
src/helpers.cc:424
Method
ClearError
src/sdl.cc:159
Method
CreateRGBSurface
src/sdl.cc:549
Method
DisplayFormat
src/sdl.cc:666
Method
DisplayFormatAlpha
src/sdl.cc:678
Method
EIO_OnEvent
src/sdl.cc:201
Method
EIO_WaitEvent
src/sdl.cc:195
Method
FillRect
src/sdl.cc:484
Method
Flip
src/sdl.cc:472
Method
FreeSurface
src/sdl.cc:635
Method
GetError
src/sdl.cc:171
Function
GetFormatAlpha
src/helpers.cc:195
Function
GetFormatBits
src/helpers.cc:183
Function
GetFormatBytes
src/helpers.cc:187
Function
GetFormatColorkey
src/helpers.cc:191
Method
GetRGB
src/sdl.cc:737
Method
GetRGBA
src/sdl.cc:758
Function
GetRectH
src/helpers.cc:123
Function
GetRectW
src/helpers.cc:119
Function
GetRectX
src/helpers.cc:111
Function
GetRectY
src/helpers.cc:115
Function
GetSurfaceFlags
src/helpers.cc:27
Function
GetSurfaceFormat
src/helpers.cc:31
Function
GetSurfaceHeight
src/helpers.cc:40
Function
GetSurfacePitch
src/helpers.cc:44
Function
GetSurfaceRect
src/helpers.cc:48
Function
GetSurfaceWidth
src/helpers.cc:36
Method
Init
src/sdl.cc:101
Method
InitSubSystem
src/sdl.cc:113
Method
JoystickClose
src/sdl.cc:433
Method
JoystickEventState
src/sdl.cc:456
Method
JoystickName
src/sdl.cc:383
Method
JoystickNumAxes
src/sdl.cc:393
Method
JoystickNumBalls
src/sdl.cc:413
Method
JoystickNumButtons
src/sdl.cc:403
Method
JoystickNumHats
src/sdl.cc:423
Method
JoystickOpen
src/sdl.cc:360
Method
JoystickOpened
src/sdl.cc:372
Method
JoystickUpdate
src/sdl.cc:445
Method
Load
TODO: make an async version so this can be used in loops or parallel load images
src/sdl.cc:882
Method
MapRGB
src/sdl.cc:706
Method
MapRGBA
src/sdl.cc:721
Method
NumJoysticks
src/sdl.cc:350
Method
OpenFont
src/sdl.cc:798
Function
Player
(joystickIndex)
examples/Chaser.js:34
Method
PollEvent
src/sdl.cc:237
Method
Quit
src/sdl.cc:125
Method
QuitSubSystem
src/sdl.cc:137
Method
RenderTextBlended
src/sdl.cc:818
Method
SetAlpha
src/sdl.cc:690
Method
SetCaption
src/sdl.cc:903
Method
SetColorKey
src/sdl.cc:649
Method
SetError
src/sdl.cc:181
Method
SetIcon
src/sdl.cc:918
Method
SetVideoMode
src/sdl.cc:318
Function
Spark
(player)
examples/Chaser.js:62
Method
UpdateRect
src/sdl.cc:517
Method
VideoModeOK
src/sdl.cc:335
Method
WaitEvent
src/sdl.cc:221
Method
WasInit
src/sdl.cc:149
Function
init
src/sdl.cc:5