Sha256: d6bad34c3da6c97e4fc10dc486c74edc3804f72bf94f46fe9df135e2dd9971b7

Contents?: true

Size: 1.39 KB

Versions: 50

Compression:

Stored size: 1.39 KB

Contents

module Fox
  #
  # GIF Cursor class.
  #
  class FXGIFCursor < FXCursor
    #
    # Return the suggested file extension for this image type ("gif").
    #
    def FXGIFCursor.fileExt; end

    #
    # Return an initialized FXGIFCursor instance.
    #
    def initialize(a, pix, hx=-1, hy=-1) # :yields: theGIFCursor
    end
  end  
  
  #
  # Save a GIF (Graphics Interchange Format) image to a stream.
  # If _fast_ is +true+, the faster Floyd-Steinberg dither method will be used
  # instead of the slower Wu quantization algorithm.
  # Returns +true+ on success, +false+ on failure.
  #
  # ==== Parameters:
  #
  # +store+::	stream to which to write the image data [FXStream]
  # +data+::	the image pixel data [Array of FXColor]
  # +width+::	width [Integer]
  # +height+::	height [Integer]
  # +fast+::	if +true+, use faster Floyd-Steinberg algorithm [Boolean]
  #
  def Fox.fxsaveGIF(store, data, width, height, fast=true); end
  
  #
  # Load a GIF file from a stream.
  # If successful, returns an array containing the image pixel data (as a
  # String), the transparency color, the image width and the image height.
  # If it fails, the function returns +nil+.
  #
  # ==== Parameters:
  #
  # +store+::	stream from which to read the file data [FXStream]
  #
  def Fox.fxloadGIF(store); end

  #
  # Return +true+ if _store_ (an FXStream instance) contains a GIF image.
  #
  def Fox.fxcheckGIF(store); end
end

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.22.pre2 rdoc-sources/FXGIFCursor.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXGIFCursor.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXGIFCursor.rb
fxruby-1.6.20 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.0 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.2 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.1 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.3 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.4 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.5 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.6 rdoc-sources/FXGIFCursor.rb
fxruby-1.4.7 rdoc-sources/FXGIFCursor.rb
fxruby-1.6.0 rdoc-sources/FXGIFCursor.rb