Sha256: 0cc642a7dab5f752595de3ac8c57029d7c79ff4d3ffbfec7afffa3ba36afb027

Contents?: true

Size: 668 Bytes

Versions: 4

Compression:

Stored size: 668 Bytes

Contents

module Fox
  # This class is deprecated. Use FXImage methods instead.
  class FXMemoryBuffer

    #
    # Return a new FXMemoryBuffer instance, initialized with the
    # provided array of FXColor values.
    #
    # ==== Parameters:
    #
    # +data+::	the initial array of FXColor values.
    #
    def initialize(data); end

    # Return a copy of the pixel buffer, as an array of FXColor values [Array]
    def data; end
    alias to_a data

    # Return the size of the pixel buffer
    def size; end

    # Return the specified element (an FXColor value)
    def [](index); end

    # Set the specified element to _clr_.
    def []=(index, clr); end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fxruby-1.6.22-x86-mingw32 rdoc-sources/FXMemoryBuffer.rb
fxruby-1.6.22 rdoc-sources/FXMemoryBuffer.rb
fxruby-1.6.22.pre4-x86-mingw32 rdoc-sources/FXMemoryBuffer.rb
fxruby-1.6.22.pre4 rdoc-sources/FXMemoryBuffer.rb