Skip to content
Snippets Groups Projects
FXDrawable.rb 611 B
Newer Older
  • Learn to ignore specific revisions
  • 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]
    
        # Height of drawable, in pixels [Integer]
    
        # 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