Class: Bitmap

Inherits:
Object
  • Object
show all
Defined in:
lib/bitmap.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arg1, height) ⇒ Bitmap

Returns a new instance of Bitmap.



3
4
5
# File 'lib/bitmap.rb', line 3

def initialize(arg1, height)
  fail NotImplementedError
end

Instance Attribute Details

#fontObject

Returns the value of attribute font.



79
80
81
# File 'lib/bitmap.rb', line 79

def font
  @font
end

Instance Method Details

#blt(x, y, src_bitmap, src_rect, opacity = 255) ⇒ Object



27
28
29
# File 'lib/bitmap.rb', line 27

def blt(x, y, src_bitmap, src_rect, opacity = 255)
  fail NotImplementedError
end

#blurObject



63
64
65
# File 'lib/bitmap.rb', line 63

def blur
  fail NotImplementedError
end

#clearObject



43
44
45
# File 'lib/bitmap.rb', line 43

def clear
  fail NotImplementedError
end

#clear_rect(arg1, y = 0, width = nil, height = nil) ⇒ Object



47
48
49
# File 'lib/bitmap.rb', line 47

def clear_rect(arg1, y = 0, width = nil, height = nil)
  fail NotImplementedError
end

#disposeObject



7
8
9
# File 'lib/bitmap.rb', line 7

def dispose
  fail NotImplementedError
end

#disposed?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'lib/bitmap.rb', line 11

def disposed?
  fail NotImplementedError
end

#draw_text(arg1, arg2, arg3, height = nil, arg5 = nil, arg6 = nil) ⇒ Object



71
72
73
# File 'lib/bitmap.rb', line 71

def draw_text(arg1, arg2, arg3, height = nil, arg5 = nil, arg6 = nil)
  fail NotImplementedError
end

#fill_rect(arg1, arg2, width = nil, height = nil, color = nil) ⇒ Object



35
36
37
# File 'lib/bitmap.rb', line 35

def fill_rect(arg1, arg2,width = nil, height = nil, color = nil)
  fail NotImplementedError
end

#get_pixel(x, y) ⇒ Object



51
52
53
# File 'lib/bitmap.rb', line 51

def get_pixel(x, y)
  fail NotImplementedError
end

#gradient_fill_rect(arg1, arg2, arg3, arg4 = nil, arg5 = nil, arg6 = nil) ⇒ Object



39
40
41
# File 'lib/bitmap.rb', line 39

def gradient_fill_rect(arg1, arg2, arg3, arg4 = nil, arg5 = nil, arg6 = nil)
  fail NotImplementedError
end

#heightObject



19
20
21
# File 'lib/bitmap.rb', line 19

def height
  fail NotImplementedError
end

#hue_change(hue) ⇒ Object



59
60
61
# File 'lib/bitmap.rb', line 59

def hue_change(hue)
  fail NotImplementedError
end

#radial_blur(angle, division) ⇒ Object



67
68
69
# File 'lib/bitmap.rb', line 67

def radial_blur(angle, division)
  fail NotImplementedError
end

#rectObject



23
24
25
# File 'lib/bitmap.rb', line 23

def rect
  fail NotImplementedError
end

#set_pixel(x, y, color) ⇒ Object



55
56
57
# File 'lib/bitmap.rb', line 55

def set_pixel(x, y, color)
  fail NotImplementedError
end

#stretch_blt(dest_rect, src_bitmap, src_rect, opacity = 255) ⇒ Object



31
32
33
# File 'lib/bitmap.rb', line 31

def stretch_blt(dest_rect, src_bitmap, src_rect, opacity = 255)
  fail NotImplementedError
end

#text_size(str) ⇒ Object



75
76
77
# File 'lib/bitmap.rb', line 75

def text_size(str)
  fail NotImplementedError
end

#widthObject



15
16
17
# File 'lib/bitmap.rb', line 15

def width
  fail NotImplementedError
end