Sha256: 223e1f47649c7dafe92f8449d1d6edafd24536147778e8d715c14149de435857

Contents?: true

Size: 612 Bytes

Versions: 18

Compression:

Stored size: 612 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:
    #
    # +w+::	new drawable width, in pixels [Integer]
    # +h+::	new drawable height, in pixels [Integer]
    #
    def resize(w, h); end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXDrawable.rb
fxruby-1.2.2 rdoc-sources/FXDrawable.rb
fxruby-1.2.4 rdoc-sources/FXDrawable.rb
fxruby-1.2.5 rdoc-sources/FXDrawable.rb
fxruby-1.4.0 rdoc-sources/FXDrawable.rb
fxruby-1.2.6 rdoc-sources/FXDrawable.rb
fxruby-1.4.1 rdoc-sources/FXDrawable.rb
fxruby-1.4.2 rdoc-sources/FXDrawable.rb
fxruby-1.4.3 rdoc-sources/FXDrawable.rb
fxruby-1.4.4 rdoc-sources/FXDrawable.rb
fxruby-1.4.5 rdoc-sources/FXDrawable.rb
fxruby-1.4.6 rdoc-sources/FXDrawable.rb
fxruby-1.4.7 rdoc-sources/FXDrawable.rb
fxruby-1.6.0 rdoc-sources/FXDrawable.rb
fxruby-1.6.1 rdoc-sources/FXDrawable.rb
fxruby-1.6.2 rdoc-sources/FXDrawable.rb
fxruby-1.6.3 rdoc-sources/FXDrawable.rb
fxruby-1.6.4 rdoc-sources/FXDrawable.rb