Sha256: 223bcec4ca64c8f62327a061780ae3bd32660f54e042b56291c65831844474a8

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

module Fox
  #
  # Iris RGB Icon
  #
  class FXRGBIcon < FXIcon
    #
    # Return an initialized FXRGBIcon instance.
    #
    # ==== Parameters:
    #
    # +a+::	an application instance [FXApp]
    # +pix+::	a memory buffer formatted in IRIS RGB file format [String]
    # +clr+::	transparency color [FXColor]
    # +opts+::	options [Integer]
    # +w+::	width [Integer]
    # +h+::	height [Integer]
    #
    def initialize(a, pix=nil, clr=0, opts=0, w=1, h=1) # :yields: theRGBIcon
    end
  end
  
  #
  # Load a RGB 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 fxloadRGB(store); end

  #
  # Save a RGB image to a stream.
  # Returns +true+ on success, +false+ on failure.
  #
  # ==== Parameters:
  #
  # +store+::	stream to which to write the file data [FXStream]
  # +data+::	the image pixel data [String]
  # +transp+::	transparency color [FXColor]
  # +opts+::	options [Integer]
  # +width+::	width [Integer]
  # +height+::	height [Integer]
  #
  def fxsavePNG(store, data, transp, width, height); end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXRGBIcon.rb
fxruby-1.2.2 rdoc-sources/FXRGBIcon.rb
fxruby-1.2.4 rdoc-sources/FXRGBIcon.rb
fxruby-1.2.5 rdoc-sources/FXRGBIcon.rb
fxruby-1.2.6 rdoc-sources/FXRGBIcon.rb