モジュール・クラス一覧 - ライブラリ一覧

GdkImlib::Image

クラスの説明

ImlibのGdkImlibImageに対応するクラス。

長いメソッド名は require 'gtkcompat'したときのみ 利用できます。

参照: Ruby/Gtk Programming:イメージの扱い(Imlib)

スーパークラス

クラスメソッド

create_from_data(data, alpha, w, h)
create_image_from_data(data, alpha, w, h) [未定義]

GdkImlibImage *gdk_imlib_create_image_from_data(unsigned char *data, unsigned char *alpha, gint w, gint h);

create_from_drawable(gwin, gmask, x, y, w, h) [未定義]
create_image_from_drawable(gwin, gmask, x, y, w, h) [未定義]

GdkImlibImage *gdk_imlib_create_image_from_drawable(GdkWindow * gwin, GdkBitmap * gmask, int x, int y, int width, int height);

create_from_xpm_data(data) [未定義]
create_image_from_xpm_data(data) [未定義]

GdkImlibImage *gdk_imlib_create_image_from_xpm_data(char **data);

inlined_png_to_image(data) [未定義]

GdkImlibImage *gdk_imlib_inlined_png_to_image(unsigned char *data, int data_size);

new(filename)
load_image(filename) [未定義]

GdkImlibImage *gdk_imlib_load_image(char *file);

render_limit

GdkImlib::Image#renderは生成した Pixmapの量の累計がrender_limitを越えたらrubyインタプリタにガー ベッジコレクションを要求する。

render_limit = limit

新しい GdkImlib::Image.render_limitの値を設定する。

インスタンスメソッド

add_to_eim(filename)
add_image_to_eim(filename) [未定義]

gint gdk_imlib_add_image_to_eim(GdkImlibImage *image, char *file);

apply(window)
apply_image(window) [未定義]

void gdk_imlib_apply_image(GdkImlibImage * im, GdkWindow *p);

apply_modifiers_to_rgb

void gdk_imlib_apply_modifiers_to_rgb(GdkImlibImage *im);

blue_curve
image_blue_curve [未定義]

void gdk_imlib_get_image_blue_curve(GdkImlibImage *im, unsigned char *mod);

blue_curve = curve
image_blue_curve = curve [未定義]

void gdk_imlib_set_image_blue_curve(GdkImlibImage *im, unsigned char *mod);

blue_modifier
image_blue_modifier [未定義]

void gdk_imlib_get_image_blue_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

blue_modifier = modifier
image_blue_modifier = modifier [未定義]

void gdk_imlib_set_image_blue_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

border
image_border [未定義]

void gdk_imlib_get_image_border(GdkImlibImage *image, GdkImlibBorder *border);

border = border
image_border = border [未定義]

void gdk_imlib_set_image_border(GdkImlibImage *image, GdkImlibBorder *border);

changed
changed_image [未定義]

void gdk_imlib_changed_image(GdkImlibImage * im);

clone
clone_image [未定義]

GdkImlibImage *gdk_imlib_clone_image(GdkImlibImage *im);

clone_scaled(w, h)
clone_scaled_image(w, h) [未定義]

GdkImlibImage *gdk_imlib_clone_scaled_image(GdkImlibImage *im, int w, int h);

copy_image [未定義]

GdkPixmap *gdk_imlib_copy_image(GdkImlibImage *image);

copy_mask [未定義]

GdkBitmap *gdk_imlib_copy_mask(GdkImlibImage *image);

crop(x, y, w, h)
crop_image(x, y, w, h) [未定義]

void gdk_imlib_crop_image(GdkImlibImage * im, gint x, gint y, gint w, gint h);

crop_and_clone(x, y, w, h)
crop_and_clone_image(x, y, w, h) [未定義]

GdkImlibImage *gdk_imlib_crop_and_clone_image(GdkImlibImage *im, int x, int y, int w, int h);

filename [未定義]
[未記述]
flip_horizontal
flip_image_horizontal [未定義]

void gdk_imlib_flip_image_horizontal(GdkImlibImage *im);

flip_vertical
flip_image_vertical [未定義]

void gdk_imlib_flip_image_vertical(GdkImlibImage *im);

get_pixmap

renderメソッドにより作成した特定の大きさの 画像を [pixmap, mask]という形式で返す。 pixmapGdk::PixmapmakGdk::Bitmapのインスタン スである。

green_curve
image_green_curve [未定義]

void gdk_imlib_get_image_green_curve(GdkImlibImage *im, unsigned char *mod);

green_curve = curve
image_green_curve = curve [未定義]

void gdk_imlib_set_image_green_curve(GdkImlibImage *im, unsigned char *mod);

green_modifier
image_green_modifier [未定義]

void gdk_imlib_get_image_green_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

green_modifier = modifier
image_green_modifier = modifier [未定義]

void gdk_imlib_set_image_green_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

kill [未定義]
kill_image [未定義]

void gdk_imlib_kill_image(GdkImlibImage *image);

modifier
image_modifier [未定義]

void gdk_imlib_get_image_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

modifier = modifier
image_modifier = modifier [未定義]

void gdk_imlib_set_image_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

move_image [未定義]

GdkPixmap *gdk_imlib_move_image(GdkImlibImage *image);

move_mask [未定義]

GdkBitmap *gdk_imlib_move_mask(GdkImlibImage *image);

paste(window, x, y, w, h)
paste_image(window, x, y, w, h) [未定義]

void gdk_imlib_paste_image(GdkImlibImage *im, GdkWindow *p, gint x, gint y, gint w, gint h);

paste_border(window, x, y, w, h)
paste_image_border(window, x, y, w, h) [未定義]

void gdk_imlib_paste_image_border(GdkImlibImage *im, GdkWindow *p, gint x, gint y, gint w, gint h);

red_curve
image_red_curve [未定義]

void gdk_imlib_get_image_red_curve(GdkImlibImage *im, unsigned char *mod);

red_curve = curve
image_red_curve = curve [未定義]

void gdk_imlib_set_image_red_curve(GdkImlibImage *im, unsigned char *mod);

red_modifier
image_red_modifier [未定義]

void gdk_imlib_get_image_red_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

red_modifier = modifier
image_red_modifier = modifier [未定義]

void gdk_imlib_set_image_red_modifier(GdkImlibImage *im, GdkImlibColorModifier *mod);

render(width, height)

gint gdk_imlib_render(GdkImlibImage *image, gint width, gint height);

rgb_height

読み込み元の画像の高さ。

rgb_width

読み込み元の画像の幅。

rotate(degree)
rotate_image(degree) [未定義]

void gdk_imlib_rotate_image(GdkImlibImage *im, gint d);

save(filename, saveinfo)
save_image(filename, saveinfo) [未定義]

gint gdk_imlib_save_image(GdkImlibImage *im, char *file, GdkImlibSaveInfo *info);

save_to_eim(filename)
save_image_to_eim(filename) [未定義]

gint gdk_imlib_save_image_to_eim(GdkImlibImage *image, char *file);

save_to_ppm(filename)
save_image_to_ppm(filename) [未定義]

gint gdk_imlib_save_image_to_ppm(GdkImlibImage *image, char *file);

shape
image_shape [未定義]

void gdk_imlib_get_image_shape(GdkImlibImage *image, GdkImlibColor *color);

shape = shape
image_shape = shape [未定義]

void gdk_imlib_set_image_shape(GdkImlibImage *image, GdkImlibColor *color);


モジュール・クラス一覧 - ライブラリ一覧

Generated at Wed Oct 20 03:46:07 JST 1999 by rubyapi2