Image

イメージを表すクラス。 Xlib.h で定義されている XImage 構造体のラッパーである。



class methods

new(display, width, height[, visual]) : Image



methods

get_pixel(point)

point : 1 Point or 2 Fixnum

put_pixel(point, pixel)

point : 1 Point or 2 Fixnum

pixel : Fixnum

copy([area])

area : Rect

add_pixel(pixel)

pixel : Fixnum

fill(pixel)

pixel : Fixnum
author: Kazuhiro Yoshida