SAKAI Masahiro - Gimp::Image Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

= Gimp::Image

== Superclass:

((<Gimp::ObjectID>))

== Class Methods:

--- Gimp::Image.new(width, height, type)

    Creates a new image, undisplayed with the specified extents and type.
    A layer should be created and added before this image is displayed, or
    subsequent calls to 'gimp_display_new' with this image as an argument will
    fail. Layers can be created using the Layer::new. They can be added to an
    image using the 'add_layer' method.

== Methods

PDBの関数のうち、gimp_image_で始まり、かつ第一引数の型がIMAGEであるもの全てを
メソッドとして呼び出すことが出来る。

--- Gimp::Image.undo_push_group{|self| ... }
--- Gimp::Image.undo_group{|self| ... }

     This method is used to make a group undo--necessary for logically
     combining two or more undo operations into a single operation.

     ブロック内で実行した操作をグループ化して、アンドゥ一回で戻るようにする。