diff options
Diffstat (limited to 'webcam/webcam/effects/NormalEffect.as')
| -rw-r--r-- | webcam/webcam/effects/NormalEffect.as | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/webcam/webcam/effects/NormalEffect.as b/webcam/webcam/effects/NormalEffect.as deleted file mode 100644 index 584629a..0000000 --- a/webcam/webcam/effects/NormalEffect.as +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Neave Webcam // Normal Effect - * - * Copyright (C) 2008 Paul Neave - * http://www.neave.com/ - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation at http://www.gnu.org/licenses/gpl.html - */ - -package com.neave.webcam.effects -{ - import flash.display.*; - - public class NormalEffect extends AbstractEffect - { - /** - * Creates a normal effect for copying the source object into the target bitmap data without modification - * - * @param source The source object to use for the effect - * @param targetBitmap The target bitmap data to draw the resulting effect into - */ - public function NormalEffect(source:IBitmapDrawable, targetBitmap:BitmapData) - { - super(source, targetBitmap, "Normal"); - } - - /** - * Draws the normal effect - */ - override public function draw():void - { - super.draw(); - targetBitmap.copyPixels(sourceBitmap, rect, point); - } - } -}
\ No newline at end of file |
