title: Does Cocoa have something like WinAPI's DrawThemeBackground (a function that draws native controls)?
body: <p>Windows API has very powerful functions that allow to draw native controls in all states:</p>
  
  <p><code>DrawThemeBackground()</code>
  <code>DrawThemeText()</code></p>
  
  <p>Here's a really nice example of their usage:</p>
  
  <p><a href="https://stackoverflow.com/questions/4009701/windows-visual-themes-gallery-of-parts-and-states/4009712#4009712">Windows Visual Themes: Gallery of Parts and States?</a></p>
  
  <p>Does Cocoa have something similar?</p>