# generated by 'rake generate'
require 'cocoa/bindings/NSView'
module Cocoa
  class NSRulerView < Cocoa::NSView
    attach_method :accessoryView, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :addMarker, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :baselineLocation, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :clientView, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :drawHashMarksAndLabelsInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
    attach_method :drawMarkersInRect, :args=>1, :names=>[], :types=>["{CGRect={CGPoint=dd}{CGSize=dd}}"], :retval=>"v"
    attach_method :initWithScrollView, :args=>2, :names=>[:orientation], :types=>["@", "Q"], :retval=>"@"
    attach_method :invalidateHashMarks, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :isFlipped, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :markers, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :measurementUnits, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :moveRulerlineFromLocation, :args=>2, :names=>[:toLocation], :types=>["d", "d"], :retval=>"v"
    attach_method :orientation, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :originOffset, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :registerUnitWithName, :args=>5, :names=>[:abbreviation, :unitToPointsConversionFactor, :stepUpCycle, :stepDownCycle], :types=>["@", "@", "d", "@", "@"], :retval=>"v"
    attach_method :removeMarker, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :requiredThickness, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :reservedThicknessForAccessoryView, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :reservedThicknessForMarkers, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :ruleThickness, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :scrollView, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :setAccessoryView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setClientView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setMarkers, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setMeasurementUnits, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :setOrientation, :args=>1, :names=>[], :types=>["Q"], :retval=>"v"
    attach_method :setOriginOffset, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
    attach_method :setReservedThicknessForAccessoryView, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
    attach_method :setReservedThicknessForMarkers, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
    attach_method :setRuleThickness, :args=>1, :names=>[], :types=>["d"], :retval=>"v"
    attach_method :setScrollView, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_method :trackMarker, :args=>2, :names=>[:withMouseEvent], :types=>["@", "@"], :retval=>"B"
  end
end
