diff options
Diffstat (limited to 'webcam/webcam/effects/NormalEffect.as')
| -rw-r--r--[-rwxr-xr-x] | webcam/webcam/effects/NormalEffect.as | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/webcam/webcam/effects/NormalEffect.as b/webcam/webcam/effects/NormalEffect.as index b97e896..584629a 100755..100644 --- a/webcam/webcam/effects/NormalEffect.as +++ b/webcam/webcam/effects/NormalEffect.as @@ -1,38 +1,38 @@ -/**
- * 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);
- }
- }
+/** + * 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 |
