love.graphics.setPointSize

love.graphics.setPointSize Sets the point size. The sizes of points are not affected by love.graphics.scale – they're always in pixels. Function Synopsis love.graphics.setPointSize( size ) Arguments number size The new point size. Returns Nothing. Examples Increase the point size by 1, by using love.graphics.getPointSize. function love.draw() local s = love.graphics.getPointSize() + 1 love.graphics.setPointSize(s) love.graphics.point(100, 100) end See Also love.graphics lo

love.graphics.setPointStyle

love.graphics.setPointStyle Removed in LÖVE 0.10.0 This function is not supported in that and later versions. Sets the point style. Smooth points are notoriously buggy on a lot of graphics drivers. Use "rough" point style for increased consistency between different drivers. Function Synopsis love.graphics.setPointStyle( style ) Arguments PointStyle style The new point style. Returns Nothing. Examples Toggle between point styles with the help of love.graphics.getPointStyle. if love.g

love.graphics.setRenderTarget

love.graphics.setRenderTarget Available since LÖVE 0.7.0 and removed in LÖVE 0.8.0 It has been renamed to love.graphics.setCanvas. Sets or resets a Framebuffer as render target. All drawing operations until the next love.graphics.setRenderTarget will be directed to the Framebuffer object specified. Function Synopsis love.graphics.setRenderTarget( framebuffer ) Arguments Framebuffer framebuffer The new render target. Returns Nothing. Notes Sets the render target to a specified Framebuff

love.graphics.setScissor

love.graphics.setScissor Sets or disables scissor. 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 transformations (translate, scale, ...). Function Limits the drawing area to a specified rectangle. Synopsis love.graphics.setScissor( x, y, width, height ) Arguments number x x coordinate of upper left corner. number y y coordinate of upper left corner. numb

love.graphics.setShader

love.graphics.setShader Available since LÖVE 0.9.0 It has been renamed from love.graphics.setPixelEffect. Sets or resets a Shader as the current pixel effect or vertex shaders. All drawing operations until the next love.graphics.setShader will be drawn using the Shader object specified. Function Synopsis love.graphics.setShader( shader ) Arguments Shader shader The new shader. Returns Nothing. Notes Sets the current shader to a specified Shader. All drawing operations until the next l

love.graphics.setStencil

love.graphics.setStencil Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.stencil and love.graphics.setStencilTest. Defines or releases a stencil for the drawing operations. The passed function draws to the stencil instead of the screen, creating an image with transparent and opaque pixels. While active, it is used to test where pixels will be drawn or discarded. Image contents do not directly affect the stencil, but see below for a workaround. C

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

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.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.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