This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun fastBlur(sentBitmap: Bitmap, radius: Int): Bitmap { | |
| // Stack Blur v1.0 from | |
| // http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html | |
| // | |
| // Java Author: Mario Klingemann <mario at quasimondo.com> | |
| // http://incubator.quasimondo.com | |
| // created Feburary 29, 2004 | |
| // Android port : Yahel Bouaziz <yahel at kayenko.com> | |
| // http://www.kayenko.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'swift' | |
| require 'swift/adapter/mysql' | |
| require 'swift/migrations' | |
| Swift.setup :default, Swift::Adapter::Mysql, db: "test", user: "", password: "", host: "localhost" | |
| # This record type is the same as the one below apart from the id column being renamed in the database | |
| class TestRecord < Swift::Record | |
| store :testrecord |