Codebase list ruby-fxruby / run/f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream rdoc-sources / FXTGAImage.rb
run/f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream

Tree @run/f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstream (Download .tar.gz)

FXTGAImage.rb @run/f762db3d-88aa-4cf6-acc2-33e3fa65a958/upstreamraw · history · blame

module Fox
  #
  # Targa Image
  #
  class FXTGAImage < FXImage
    #
    # Return the suggested file extension for this image type ("tga").
    #
    def FXTGAImage.fileExt; end

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

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