Sha256: 9137a91efc36daf3cfbef8d449c63545ffd012bfeb125a426695e0a1113fad35

Contents?: true

Size: 611 Bytes

Versions: 6

Compression:

Stored size: 611 Bytes

Contents

module Fox
  #
  # FXDrawable is an abstract base class for any surface that can be
  # drawn upon, such as an FXWindow or an FXImage.
  #
  class FXDrawable < FXId

    # Width of drawable, in pixels [Integer]
    attr_reader	:width

    # Height of drawable, in pixels [Integer]
    attr_reader	:height

    # Visual [FXVisual]
    attr_accessor :visual

    #
    # Resize drawable to the specified width and height.
    #
    # ==== Parameters:
    #
    # +width+::	new drawable width, in pixels [Integer]
    # +height+::	new drawable height, in pixels [Integer]
    #
    def resize(w, h); end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fxruby-1.6.22-x86-mingw32 rdoc-sources/FXDrawable.rb
fxruby-1.6.22 rdoc-sources/FXDrawable.rb
fxruby-1.6.22.pre4-x86-mingw32 rdoc-sources/FXDrawable.rb
fxruby-1.6.22.pre4 rdoc-sources/FXDrawable.rb
fxruby-1.6.22.pre3-x86-mingw32 rdoc-sources/FXDrawable.rb
fxruby-1.6.22.pre3 rdoc-sources/FXDrawable.rb