love.graphics.getSystemLimits

love.graphics.getSystemLimits Available since LÖVE 0.10.0 It has replaced love.graphics.getSystemLimit. Gets the system-dependent maximum values for love.graphics features. Function Synopsis limits = love.graphics.getSystemLimits( ) Arguments None. Returns table limits A table containing GraphicsLimit keys, and number values. See Also love.graphics GraphicsLimit

love.graphics.getWidth

love.graphics.getWidth Available since LÖVE 0.2.1 This function is not supported in earlier versions. Gets the width in pixels of the window. Function Synopsis width = love.graphics.getWidth( ) Arguments None. Returns number width The width of the window. See Also love.graphics love.graphics.getHeight love.graphics.getDimensions

love.graphics.hasFocus

love.graphics.hasFocus Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.hasFocus. Checks if the game window has keyboard focus. Function Synopsis focus = love.graphics.hasFocus( ) Arguments None. Returns boolean focus True if the window has the focus or false if not. See Also love.graphics

love.graphics.intersectScissor

love.graphics.intersectScissor Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor. If no scissor is active yet, it behaves like love.graphics.setScissor. The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear. The dimensions of the scissor is unaffected by graphical transformati

love.graphics.isActive

love.graphics.isActive Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets whether the graphics module is able to be used. If it is not active, love.graphics function and method calls will not work correctly and may cause the program to crash. The graphics module is inactive if a window is not open, or if the app is in the background on iOS. Typically the app's execution will be automatically paused by the system, in the latter case. Function Synopsis acti

love.graphics.isCreated

love.graphics.isCreated Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.isCreated. Checks if the window has been created. Function Synopsis created = love.graphics.isCreated( ) Arguments None. Returns boolean created True if the window has been created, false otherwise. See Also love.graphics

love.graphics.isGammaCorrect

love.graphics.isGammaCorrect Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets whether gamma-correct rendering is supported and enabled. It can be enabled by setting t.gammacorrect = true in love.conf. Not all devices support gamma-correct rendering, in which case it will be automatically disabled and this function will return false. It is supported on desktop systems which have graphics cards that are capable of using OpenGL 3 / DirectX 10, and iOS devic

love.graphics.isSupported

love.graphics.isSupported Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.getSupported. Checks if certain graphics functions can be used. Older and low-end systems do not always support all graphics extensions. Function Synopsis isSupported = love.graphics.isSupported( support1, support2, support3, ... ) Arguments GraphicsFeature supportN The graphics feature to check for. Returns boolean isSupported True if everything is supported, false ot

love.graphics.isWireframe

love.graphics.isWireframe Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets whether wireframe mode is used when drawing. Function Synopsis wireframe = love.graphics.isWireframe( ) Arguments None. Returns boolean wireframe True if wireframe lines are used when drawing, false if it's not. See Also love.graphics love.graphics.setWireframe

love.graphics.line

love.graphics.line Draws lines between points. Function Synopsis love.graphics.line( x1, y1, x2, y2, ... ) Arguments number x1 The position of first point on the x-axis. number y1 The position of first point on the y-axis. number x2 The position of second point on the x-axis. number y2 The position of second point on the y-axis. number ... You can continue passing point positions to draw a polyline. Returns Nothing. Function Synopsis love.graphics.line( points ) Arguments table points