# generated by 'rake generate'
require 'cocoa/bindings/NSObject'
module Cocoa
  class NSFont < Cocoa::NSObject
    attach_method :advancementForGlyph, :args=>1, :names=>[], :types=>["I"], :retval=>"{CGSize=dd}"
    attach_method :ascender, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :boldSystemFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :boundingRectForFont, :args=>0, :names=>[], :types=>[], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
    attach_method :boundingRectForGlyph, :args=>1, :names=>[], :types=>["I"], :retval=>"{CGRect={CGPoint=dd}{CGSize=dd}}"
    attach_method :capHeight, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :controlContentFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :coveredCharacterSet, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :descender, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :displayName, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :familyName, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :fontDescriptor, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :fontName, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :fontWithDescriptor, [{:args=>2, :names=>[:size], :types=>["@", "d"], :retval=>"@"}, {:args=>2, :names=>[:textTransform], :types=>["@", "@"], :retval=>"@"}]
    attach_singular_method :fontWithName, [{:args=>2, :names=>[:matrix], :types=>["@", "^d"], :retval=>"@"}, {:args=>2, :names=>[:size], :types=>["@", "d"], :retval=>"@"}]
    attach_method :getAdvancements, [{:args=>3, :names=>[:forGlyphs, :count], :types=>["^{CGSize=dd}", "^I", "Q"], :retval=>"v"}, {:args=>3, :names=>[:forPackedGlyphs, :length], :types=>["^{CGSize=dd}", "^v", "Q"], :retval=>"v"}]
    attach_method :getBoundingRects, :args=>3, :names=>[:forGlyphs, :count], :types=>["^{CGRect={CGPoint=dd}{CGSize=dd}}", "^I", "Q"], :retval=>"v"
    attach_method :glyphWithName, :args=>1, :names=>[], :types=>["@"], :retval=>"I"
    attach_method :isFixedPitch, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :isVertical, :args=>0, :names=>[], :types=>[], :retval=>"B"
    attach_method :italicAngle, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :labelFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :labelFontSize, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :leading, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :matrix, :args=>0, :names=>[], :types=>[], :retval=>"^d"
    attach_method :maximumAdvancement, :args=>0, :names=>[], :types=>[], :retval=>"{CGSize=dd}"
    attach_singular_method :menuBarFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :menuFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :messageFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :mostCompatibleStringEncoding, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :numberOfGlyphs, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_singular_method :paletteFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :pointSize, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :printerFont, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :renderingMode, :args=>0, :names=>[], :types=>[], :retval=>"Q"
    attach_method :screenFont, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :screenFontWithRenderingMode, :args=>1, :names=>[], :types=>["Q"], :retval=>"@"
    attach_method :set, :args=>0, :names=>[], :types=>[], :retval=>"v"
    attach_method :setInContext, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :setUserFixedPitchFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :setUserFont, :args=>1, :names=>[], :types=>["@"], :retval=>"v"
    attach_singular_method :smallSystemFontSize, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :systemFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :systemFontSize, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :systemFontSizeForControlSize, :args=>1, :names=>[], :types=>["Q"], :retval=>"d"
    attach_method :textTransform, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_singular_method :titleBarFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :toolTipsFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :underlinePosition, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_method :underlineThickness, :args=>0, :names=>[], :types=>[], :retval=>"d"
    attach_singular_method :userFixedPitchFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_singular_method :userFontOfSize, :args=>1, :names=>[], :types=>["d"], :retval=>"@"
    attach_method :verticalFont, :args=>0, :names=>[], :types=>[], :retval=>"@"
    attach_method :xHeight, :args=>0, :names=>[], :types=>[], :retval=>"d"
  end
end
