https://github.com/youpy/pimento
Draw graphics using Mac OS X GUI Components
https://github.com/youpy/pimento
Last synced: 10 months ago
JSON representation
Draw graphics using Mac OS X GUI Components
- Host: GitHub
- URL: https://github.com/youpy/pimento
- Owner: youpy
- License: mit
- Created: 2010-05-11T10:47:25.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2012-04-26T10:41:49.000Z (about 14 years ago)
- Last Synced: 2023-04-10T11:22:14.490Z (about 3 years ago)
- Language: Ruby
- Homepage:
- Size: 137 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pimento
Draw graphics using Mac OS X GUI Components

## Synopsis
require 'ubygems'
require 'pimento'
c = Pimento::Canvas.new(0, 0, 620, 200)
c.point(20, 20, 20, 180)
c.line(20, 100, 100, 100)
c.line_with_dots(100, 20, 100, 180)
c.to_xml.save('foo.xib')
# open foo.xib with Interface Builder
## Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don’t break it in a future version unintentionally.
* Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
## Copyright
Copyright © 2010 youpy. See LICENSE for details.