AccusoftBitmapEffect Class Reference

Base class for all accusoft bitmap effects. More...

#include <bitmapfx.h>

Inheritance diagram for AccusoftBitmapEffect:

BitmapEffect BitmapEffectBase ListItem CCObject SimpleCCObject ABFXBayerColour ABFXBayerMono ABFXBrightnessContrast ABFXDiffusionColour ABFXDiffusionMono ABFXFlipX ABFXFlipY ABFXHalftoneMono ABFXMakeGreyscale ABFXOctree ABFXPopularityColour ABFXRemoveDither ABFXResize ABFXRotate180 ABFXRotate270 ABFXRotate90 ABFXSharpenBlur ABFXSpecialEffect List of all members.

Public Member Functions

 AccusoftBitmapEffect ()
virtual KernelBitmapGetProcessedBitmap (KernelBitmap *pOriginal)
 Overridden by derived classes Overridden by derived classes.
virtual BOOL SetParameters (INT32 p1=0, INT32 p2=0, INT32 p3=0, double *pD=NULL)

Protected Member Functions

virtual KernelBitmapDoALUWork ()
 Overridden by derived classes.

Protected Attributes

INT32 Param1
INT32 Param2
INT32 Param3
double * pDouble

Private Member Functions

 CC_DECLARE_DYNCREATE (AccusoftBitmapEffect)

Detailed Description

Base class for all accusoft bitmap effects.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/10/1994
This class provides a bit of ALU interface

Definition at line 150 of file bitmapfx.h.


Constructor & Destructor Documentation

AccusoftBitmapEffect::AccusoftBitmapEffect  )  [inline]
 

Definition at line 156 of file bitmapfx.h.

00156 :BitmapEffect() {SetParameters();};


Member Function Documentation

AccusoftBitmapEffect::CC_DECLARE_DYNCREATE AccusoftBitmapEffect   )  [private]
 

KernelBitmap * AccusoftBitmapEffect::DoALUWork  )  [protected, virtual]
 

Overridden by derived classes.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/01/95
Parameters:
None [INPUTS]
None [OUTPUTS]
Returns:
TRUE if succeeded, FALSE & error set if not

Errors: None Scope: Public

See also:
-

Reimplemented in ABFXFlipX, ABFXFlipY, ABFXRotate90, ABFXRotate180, ABFXRotate270, ABFXBayerMono, ABFXHalftoneMono, ABFXDiffusionMono, ABFXBayerColour, ABFXDiffusionColour, ABFXPopularityColour, ABFXMakeGreyscale, ABFXOctree, ABFXResize, ABFXBrightnessContrast, ABFXSharpenBlur, ABFXSpecialEffect, and ABFXRemoveDither.

Definition at line 156 of file bitmapfx.cpp.

00157 {
00158     ERROR2(FALSE, "Base class AccusoftBitmapEffect::DoALUWork() called");
00159 }

KernelBitmap * AccusoftBitmapEffect::GetProcessedBitmap KernelBitmap pOriginal  )  [virtual]
 

Overridden by derived classes Overridden by derived classes.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/01/95
Parameters:
None [INPUTS]
None [OUTPUTS]
Returns:
TRUE if succeeded, FALSE & error set if not

Errors: None Scope: Public

See also:
-

Definition at line 195 of file bitmapfx.cpp.

00196 {
00197     KernelBitmap * pDest;
00198     if (!ALU->SetB(pOriginal)) return FALSE;
00199     pDest=DoALUWork();
00200     if (!pDest) return FALSE;
00201     return pDest;
00202 }

virtual BOOL AccusoftBitmapEffect::SetParameters INT32  p1 = 0,
INT32  p2 = 0,
INT32  p3 = 0,
double *  pD = NULL
[inline, virtual]
 

Definition at line 159 of file bitmapfx.h.

00160                     { Param1=p1; Param2=p2; Param3=p3; pDouble=pD; return TRUE;};


Member Data Documentation

INT32 AccusoftBitmapEffect::Param1 [protected]
 

Definition at line 160 of file bitmapfx.h.

INT32 AccusoftBitmapEffect::Param2 [protected]
 

Definition at line 164 of file bitmapfx.h.

INT32 AccusoftBitmapEffect::Param3 [protected]
 

Definition at line 165 of file bitmapfx.h.

double* AccusoftBitmapEffect::pDouble [protected]
 

Definition at line 166 of file bitmapfx.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:49:47 2007 for Camelot by  doxygen 1.4.4