Codebase list ruby-fxruby / run/8a909198-7fff-4596-a78d-571f487fdb51/upstream rdoc-sources / FXPPMIcon.rb
run/8a909198-7fff-4596-a78d-571f487fdb51/upstream

Tree @run/8a909198-7fff-4596-a78d-571f487fdb51/upstream (Download .tar.gz)

FXPPMIcon.rb @run/8a909198-7fff-4596-a78d-571f487fdb51/upstreamraw · history · blame

module Fox
  #
  # Portable Pixmap (PPM) icon class.
  #
  class FXPPMIcon < FXIcon
    #
    # Return the suggested file extension for this image type ("ppm").
    #
    def FXPPMIcon.fileExt; end

    #
    # Return the MIME type for this image type
    #
    def FXPPMIcon.mimeType; end

    #
    # Return an initialized FXPPMIcon instance.
    #
    # ==== Parameters:
    #
    # +a+:: an application instance {FXApp}
    # +pix+:: a memory buffer formatted in PPM file format [String]
    # +clr+:: transparency color {FXColor}
    # +opts+:: options [Integer]
    # +width+:: width [Integer]
    # +height+:: height [Integer]
    #
    def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: thePPMIcon
    end
  end

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