class SDL::Renderer

Renderer is the workhorse of the graphics gem. Everything graphical gets done through the renderer.

Attributes

format[R]

The PixelFormat for the current renderer.

surface[R]

The surface used by this renderer.

window[R]

The window for this renderer

Public Instance Methods

title() click to toggle source

The title of the window.

# File lib/graphics/simulation.rb, line 32
def title
  @window.title
end
title=(s) click to toggle source

Sets the title of the window.

# File lib/graphics/simulation.rb, line 39
def title= s
  @window.title = s
end