# generated by 'rake generate'
require 'cocoa/bindings/NSImageRep'
module Cocoa
  class NSBitmapImageRep < Cocoa::NSImageRep
    attach_method :CGImage, :args=>0, :names=>[], :types=>[], :retval=>"^{CGImage=}"
    attach_method :TIFFRepresentation, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :TIFFRepresentationOfImageRepsInArray, [{:args=>1, :names=>[], :types=>["@"], :retval=>"@"}, {:args=>3, :names=>[:usingCompression, :factor], :types=>["@", "Q", "f"], :retval=>"@"}]
    attach_method :TIFFRepresentationUsingCompression, :args=>2, :names=>[:factor], :types=>["Q", "f"], :retval=>"@"
    attach_method :bitmapData, :args=>0, :names=>[], :types=>[], :retval=>"*"
    attach_method :bitmapFormat, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :bitmapImageRepByConvertingToColorSpace, :args=>2, :names=>[:renderingIntent], :types=>["@", "q"], :retval=>"@"
    attach_method :bitmapImageRepByRetaggingWithColorSpace, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :bitsPerPixel, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :bytesPerPlane, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :bytesPerRow, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :canBeCompressedUsing, :args=>1, :names=>[], :types=>["Q"], :retval=>"B"
    attach_method :colorAtX, :args=>2, :names=>[:y], :types=>["q", "q"], :retval=>"@"
    attach_method :colorSpace, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :colorizeByMappingGray, :args=>4, :names=>[:toColor, :blackMapping, :whiteMapping], :types=>["d", "@", "@", "@"], :retval=>"v"
    attach_method :getBitmapDataPlanes, :args=>1, :names=>[], :types=>["^*"], :retval=>"v"
    attach_method :getCompression, :args=>2, :names=>[:factor], :types=>["^Q", "^f"], :retval=>"v"
    attach_method :getPixel, :args=>3, :names=>[:atX, :y], :types=>["^Q", "q", "q"], :retval=>"v"
    attach_singular_method :getTIFFCompressionTypes, :args=>2, :names=>[:count], :types=>["^^Q", "^q"], :retval=>"v"
    attach_singular_method :imageRepWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_singular_method :imageRepsWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :incrementalLoadFromData, :args=>2, :names=>[:complete], :types=>["@", "B"], :retval=>"q"
    attach_method :initForIncrementalLoad, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :initWithBitmapDataPlanes, [{:args=>11, :names=>[:pixelsWide, :pixelsHigh, :bitsPerSample, :samplesPerPixel, :hasAlpha, :isPlanar, :colorSpaceName, :bitmapFormat, :bytesPerRow, :bitsPerPixel], :types=>["^*", "q", "q", "q", "q", "B", "B", "@", "Q", "q", "q"], :retval=>"@"}, {:args=>10, :names=>[:pixelsWide, :pixelsHigh, :bitsPerSample, :samplesPerPixel, :hasAlpha, :isPlanar, :colorSpaceName, :bytesPerRow, :bitsPerPixel], :types=>["^*", "q", "q", "q", "q", "B", "B", "@", "q", "q"], :retval=>"@"}]
    attach_method :initWithCGImage, :args=>1, :names=>[], :types=>["^{CGImage=}"], :retval=>"@"
    attach_method :initWithCIImage, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :initWithData, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
    attach_method :initWithFocusedViewRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"@"
    attach_method :isPlanar, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_singular_method :localizedNameForTIFFCompressionType, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
    attach_method :numberOfPlanes, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_singular_method :representationOfImageRepsInArray, :args=>3, :names=>[:usingType, :properties], :types=>["@", "Q", "@"], :retval=>"@"
    attach_method :representationUsingType, :args=>2, :names=>[:properties], :types=>["Q", "@"], :retval=>"@"
    attach_method :samplesPerPixel, :args=>0, :names=>[], :types=>[], :retval=>"q"
    attach_method :setColor, :args=>3, :names=>[:atX, :y], :types=>["@", "q", "q"], :retval=>"v"
    attach_method :setCompression, :args=>2, :names=>[:factor], :types=>["Q", "f"], :retval=>"v"
    attach_method :setPixel, :args=>3, :names=>[:atX, :y], :types=>["^Q", "q", "q"], :retval=>"v"
    attach_method :setProperty, :args=>2, :names=>[:withValue], :types=>["@", "@"], :retval=>"v"
    attach_method :valueForProperty, :args=>1, :names=>[], :types=>["@"], :retval=>"@"
  end
end
