<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,7 +30,10 @@ class CustomView &lt; NSView
     # could itself be drawn with less than full opaqueness, but since we're already setting the alpha
     # on the entire window, we don't bother with that here.
     image_to_draw = (window.alphaValue &gt; 0.7) ? @circle_image : @penta_image
-    image_to_draw.compositeToPoint([0,0], operation:NSCompositeSourceOver)
+    # same as `image_to_draw.compositeToPoint([0,0], operation:NSCompositeSourceOver)`
+    # apart that compositeToPoint usage is now discouraged as the behavior it provides is not recommended 
+    # for general use
+    image_to_draw.drawAtPoint([0,0], fromRect:frame, operation:NSCompositeSourceOver, fraction:1.0)
     window.invalidateShadow
   end
   </diff>
      <filename>CustomView.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>af13e2f9ef196470a596965b2192425d03db9ab1</id>
    </parent>
  </parents>
  <author>
    <name>Matt Aimonetti</name>
    <email>mattaimonetti@gmail.com</email>
  </author>
  <url>http://github.com/mattetti/macruby-roundtransparentwindow/commit/2201b010818f37629ba4e015a6724993cece6499</url>
  <id>2201b010818f37629ba4e015a6724993cece6499</id>
  <committed-date>2009-02-15T02:02:43-08:00</committed-date>
  <authored-date>2009-02-15T02:02:43-08:00</authored-date>
  <message>replaced `compositeToPoint` by `drawAtPoint` as the former method usage isn't recommended.</message>
  <tree>79b956c88078c82c753efcf501b0d8417cc089f0</tree>
  <committer>
    <name>Matt Aimonetti</name>
    <email>mattaimonetti@gmail.com</email>
  </committer>
</commit>
