Class SDL::Surface
In: lib/rubysdl_compatible_ver1.rb
lib/rubysdl_aliases.rb
lib/sdl.rb
Parent: Object

Methods

External Aliases

mapRGB -> map_rgb
mapRGBA -> map_rgba
getRGB -> get_rgb
getRGBA -> get_rgba
drawBezier -> draw_bezier
getPixel -> get_pixel
putPixel -> put_pixel
displayFormat -> display_format
displayFormatAlpha -> display_format_alpha
setColorKey -> set_color_key
fillRect -> fill_rect
setClipRect -> set_clip_rect
getClipRect -> get_clip_rect
setAlpha -> set_alpha
saveBMP -> save_bmp
setPalette -> set_palette
setColors -> set_colors
mustLock? -> must_lock?
copyRect -> copy_rect
drawLine -> draw_line
drawRect -> draw_rect
drawCircle -> draw_circle
drawEllipse -> draw_ellipse
transformSurface -> transform_surface
  alias rotate_scaled_surface rotateScaledSurface
makeCollisionMap -> make_collision_map
loadFromIO -> load_from_io
loadFromString -> load_from_string

Public Class methods

Public Instance methods

draw_aa_bezier(x1,y1,x2,y2,x3,y3,x4,y4,level,color)

Alias for drawAABezier

draw_aa_bezier_alpha(x1,y1,x2,y2,x3,y3,x4,y4,level,color,alpha)

Alias for drawAABezierAlpha

draw_aa_circle(x, y, r, color)

Alias for drawAACircle

draw_aa_circle_alpha(x, y, r, color, alpha)

Alias for drawAACircleAlpha

draw_aa_ellipse(x, y, rx, ry, color)

Alias for drawAAEllipse

draw_aa_ellipse_alpha(x, y, rx, ry, color, alpha)

Alias for drawAAEllipseAlpha

draw_aa_filled_circle(x, y, r, color)

Alias for drawAAFilledCircle

draw_aa_line(x1, y1, x2, y2, col)

Alias for drawAALine

draw_aa_line_alpha(x1, y1, x2, y2, col, alpha)

Alias for drawAALineAlpha

draw_bezier_alpha(x1,y1,x2,y2,x3,y3,x4,y4,level,color,alpha)

Alias for drawBezierAlpha

draw_circle_alpha(x, y, r, color, alpha)

Alias for drawCircleAlpha

draw_ellipse_alpha(x, y, rx, ry, color, alpha)

Alias for drawEllipseAlpha

draw_filled_circle(x, y, r, color)

Alias for drawFilledCircle

draw_filled_circle_alpha(x, y, r, color, alpha)
draw_filled_ellipse(x, y, rx, ry, color)

Alias for drawFilledEllipse

draw_filled_ellipse_alpha(x, y, rx, ry, color, alpha)
draw_filled_rect_alpha(x1, y1, x2, y2, color, alpha)
draw_line_alpha(x1, y1, x2, y2, col, alpha)

Alias for drawLineAlpha

draw_rect_alpha(x1, y1, x2, y2, color, alpha)

Alias for drawRectAlpha

get_palette()

Alias for getPalette

[Validate]