[macruby-changes] [841] MacRuby/trunk/sample-macruby/HotCocoa/graphics/README
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 6 18:23:25 PST 2009
Revision: 841
http://trac.macosforge.org/projects/ruby/changeset/841
Author: lsansonetti at apple.com
Date: 2009-03-06 18:23:25 -0800 (Fri, 06 Mar 2009)
Log Message:
-----------
added README
Added Paths:
-----------
MacRuby/trunk/sample-macruby/HotCocoa/graphics/README
Added: MacRuby/trunk/sample-macruby/HotCocoa/graphics/README
===================================================================
--- MacRuby/trunk/sample-macruby/HotCocoa/graphics/README (rev 0)
+++ MacRuby/trunk/sample-macruby/HotCocoa/graphics/README 2009-03-07 02:23:25 UTC (rev 841)
@@ -0,0 +1,17 @@
+=== HotCocoa::Graphics Examples ===
+
+You will find in this directory several examples that illustrate the
+graphics layer of HotCocoa.
+
+You can run them from the command line using macruby.
+
+ $ macruby particle.rb
+
+You should then see an image opening in your default image viewer.
+
+These examples are drawing into PNG images, but it is possible to draw on
+any CoreGraphics context, for example within an NSView's drawRect: method.
+
+== TODO ==
+
+Write a demo HotCocoa app that embeds all the samples and draw in an NSView.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090306/b3a7f03c/attachment-0001.html>
More information about the macruby-changes
mailing list