Basic cut implementation

SelectionManager implmentaiton
Rectangular seleciton impl
Utils refacoring
Event manager refactoring
basic cut implmentation
This commit is contained in:
Vince
2012-09-12 12:01:47 +02:00
parent efbeaf3d50
commit 991b66b67c
15 changed files with 352 additions and 156 deletions

View File

@ -0,0 +1,9 @@
(function () {
var ns = $.namespace("pskl.selection");
ns.RectangularSelection = function (x0, y0, x1, y1) {
this.pixels = pskl.PixelUtils.getRectanglePixels(x0, y0, x1, y1);
};
pskl.utils.inherit(ns.RectangularSelection, ns.BaseSelection);
})();