Skip to content
scriptum edited this page Mar 29, 2012 · 1 revision

Drawing

cheetah.init

cheetah.init(appName, width, height, bpp, attr)

Create window and init all OpenGL's syuff. You MUST call this before any graphics function, e.g. cheetah.newImage. You may call this function again to resize window, change application title, toggle fullscreen. Other optoins are ignored.

Parameters

  • appName application's title shown in titlebar

Return value


cheetah.init

cheetah.init(appName, width, height, bpp, attr)

Create window and init all OpenGL's stuff. You MUST call this before any graphics function, e.g. cheetah.newImage. You may call this function again to resize window, change application title, toggle fullscreen. Other optoins are ignored.

Parameters

  • appName application's title shown in titlebar

Return value

Clone this wiki locally