love.image.newEncodedImageData

love.image.newEncodedImageData Removed in LÖVE 0.8.0 This function is not supported in that and later versions. Encodes ImageData. Function Synopsis data = love.image.newEncodedImageData( imageData, format ) Arguments ImageData imageData The raw ImageData to encode. ImageFormat format The format to encode the image in. Returns Data data The encoded image data. See Also love.image

love.image.newCompressedData

love.image.newCompressedData Available since LÖVE 0.9.0 This function is not supported in earlier versions. Create a new CompressedImageData object from a compressed image file. LÖVE supports several compressed texture formats, enumerated in the CompressedImageFormat page. This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused! Function Synopsis compre

love.image.isCompressed

love.image.isCompressed Available since LÖVE 0.9.0 This function is not supported in earlier versions. Determines whether a file can be loaded as CompressedImageData. Function Synopsis compressed = love.image.isCompressed( filename ) Arguments string filename The filename of the potentially compressed image file. Returns boolean compressed Whether the file can be loaded as CompressedImageData or not. Function Synopsis compressed = love.image.isCompressed( fileData ) Arguments FileDat

love.graphics.triangle

love.graphics.triangle Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Use love.graphics.polygon instead.. Draws a triangle. Function Synopsis love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 ) Arguments DrawMode mode How to draw the triangle. 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-

love.graphics.translate

love.graphics.translate Translates the coordinate system in two dimensions. When this function is called with two numbers, dx, and dy, all the following drawing operations take effect as if their x and y coordinates were x+dx and y+dy. Scale and translate are not commutative operations, therefore, calling them in different orders will change the outcome. This change lasts until love.draw() exits or else a love.graphics.pop reverts to a previous love.graphics.push. Translating using whole nu

love.graphics.toggleFullscreen

love.graphics.toggleFullscreen Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.toggleFullscreen. Toggles fullscreen. Function Synopsis success = love.graphics.toggleFullscreen( ) Arguments None. Returns boolean success True if successful, false otherwise. See Also love.graphics

love.graphics.stencil

love.graphics.stencil Available since LÖVE 0.10.0 Together with love.graphics.setStencilTest, it has replaced love.graphics.setStencil. Draws geometry as a stencil. The geometry drawn by the supplied function sets invisible stencil values of pixels, instead of setting pixel colors. The stencil values of pixels can act like a mask / stencil - love.graphics.setStencilTest can be used afterward to determine how further rendering is affected by the stencil values in each pixel. Each Canvas ha

love.graphics.shear

love.graphics.shear Available since LÖVE 0.8.0 This function is not supported in earlier versions. Shears the coordinate system. In version 0.9.2, a bug caused this function to reset all transformations. It was fixed in 0.10.0. A workaround for 0.9.2 would be to use a combination of rotating and scaling to imitate shearing. Function Synopsis love.graphics.shear( kx, ky ) Arguments number kx The shear factor on the x-axis. number ky The shear factor on the y-axis. Returns Nothing. Exa

love.graphics.setWireframe

love.graphics.setWireframe Available since LÖVE 0.9.1 This function is not supported in earlier versions. Sets whether wireframe lines will be used when drawing. This function does nothing on mobile devices and other systems which use OpenGL ES 2. Wireframe mode should only be used for debugging. The lines drawn with it enabled do not behave like regular love.graphics lines: their widths don't scale with the coordinate transformations or with love.graphics.setLineWidth, and they don't use

love.graphics.setStencilTest

love.graphics.setStencilTest Available since LÖVE 0.10.0 Together with love.graphics.stencil, it has replaced love.graphics.setStencil. Configures or disables stencil testing. When stencil testing is enabled, the geometry of everything that is drawn afterward will be clipped / stencilled out based on a comparison between the arguments of this function and the stencil value of each pixel that the geometry touches. The stencil values of pixels are affected via love.graphics.stencil. Each Ca