Class: Gosu::ImageData

Inherits:
Object
  • Object
show all
Defined in:
lib/gosu_android/graphics/imageData.rb

Overview

The ImageData class is an abstract base class for drawable images. Instances of classes derived by ImageData are usually returned by Graphics::createImage and usually only used to implement drawing primitives like Image, which then provide a more specialized and intuitive drawing interface.

Direct Known Subclasses

LargeImageData, TexChunk

Instance Method Summary collapse

Instance Method Details

#draw(x1, y1, c1, x2, y2, c2, x3, y3, c3, x4, y4, c4, z, mode) ⇒ Object



16
17
# File 'lib/gosu_android/graphics/imageData.rb', line 16

def draw( x1,  y1,  c1, x2,  y2,  c2, x3,  y3,  c3, x4,  y4,  c4, z, mode);
end

#gl_tex_infoObject



19
# File 'lib/gosu_android/graphics/imageData.rb', line 19

def gl_tex_info; end

#heightObject



14
# File 'lib/gosu_android/graphics/imageData.rb', line 14

def height; end

#to_bitmapObject



20
# File 'lib/gosu_android/graphics/imageData.rb', line 20

def to_bitmap; end

#widthObject



13
# File 'lib/gosu_android/graphics/imageData.rb', line 13

def width; end