ruby-****@sourc*****
ruby-****@sourc*****
2013年 3月 21日 (木) 14:59:24 JST
------------------------- REMOTE_ADDR = 184.145.81.215 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gdk%3A%3ADrawable ------------------------- @@ -1,6 +1,6 @@ = class Gdk::Drawable -Gdk::Drawable is the base class for all objects that can accept drawing commands. (In original 'C' GTK API documentation one can read: "An opaque structure representing an object that can be drawn onto. This can be a GdkPixmap, a GdkBitmap, or a GdkWindow".) +Gdk::Drawable is the base class for all objects that can accept drawing commands. (In original 'C' GTK API documentation one can read: "GdkDrawable - an opaque structure representing an object that can be drawn onto. This can be a GdkPixmap, a GdkBitmap, or a GdkWindow".) The Gdk::Drawable interface enables one to draw lines, points, elliptical arcs, rectangles, text, or images. In order to use a Gdk::Drawable, you must also have a ((<Gdk::GC>)) (graphics context) object to control the style of your drawing. The ((<Gdk::GC>)) can control the color, for example. In all of the methods that take a width or height parameter, -1 may be used to indicate that the largest possible meaningful value should be used instead of giving an explicit dimension.