Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

Renderer

The renderer object.

Object

Methods

Method Description
Renderer:createTexture Create a texture
Renderer:createTextureFromSurface Create a texture
Renderer:clear Clear the renderer
Renderer:copy Copy to the renderer
Renderer:copyEx Copy to the renderer
Renderer:drawLine Draw a line
Renderer:drawLines Draw lines
Renderer:drawPoint Draw a point
Renderer:drawPoints Draw points
Renderer:drawRect Draw a rectangle
Renderer:drawRects Draw rectangles
Renderer:fillRect Fill rectangle
Renderer:fillRects Fill rectangles
Renderer:getClipRect Get the clipping rectangle
Renderer:getDrawBlendMode Get the drawing blend mode
Renderer:getDrawColor Get the drawing color
Renderer:getRendererInfo Get the info
Renderer:getViewport Get the viewport
Renderer:getLogicalSize Get device independent resolution for rendering
Renderer:present Present the renderer
Renderer:setClipRect Set the clipping rectangle
Renderer:setDrawBlendMode Set the drawing blend mode
Renderer:setDrawColor Set the drawing color
Renderer:setTarget Set the target
Renderer:setViewport Set the viewport
Renderer:setLogicalSize Set a device independent resolution for rendering

Clone this wiki locally