BfxThresholdPixelOpPseudo Class Reference

Pixel operator. More...

#include <bfxpixop.h>

Inheritance diagram for BfxThresholdPixelOpPseudo:

BfxPixelOpPseudo BfxPixelOp CCObject SimpleCCObject List of all members.

Protected Member Functions

virtual BOOL IsPixelReallyInRegion (INT32 x, INT32 y)
 To be overriden by derived classes.

Private Member Functions

 CC_DECLARE_DYNCREATE (BfxThresholdPixelOpPseudo)

Detailed Description

Pixel operator.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/10/1994
PixelOp that determines whether a pixel is better by more than a given amount in one bitmap than in another

Definition at line 486 of file bfxpixop.h.


Member Function Documentation

BfxThresholdPixelOpPseudo::CC_DECLARE_DYNCREATE BfxThresholdPixelOpPseudo   )  [private]
 

BOOL BfxThresholdPixelOpPseudo::IsPixelReallyInRegion INT32  x,
INT32  y
[protected, virtual]
 

To be overriden by derived classes.

Author:
Alex_Bligh (Xara Group Ltd) <camelotdev@xara.com>
Date:
14/03/95
Parameters:
x,y = coordinates of pixel [INPUTS]
None [OUTPUTS]
Returns:
Whether pixel is in the region or not.

Errors: None Scope: Public

See also:
BfxPixelOpPseudo::IsInRegion()
The region calculation is done as ( (B-T)^2 >= Value ) where Colour = the colour to measure against B = pCurrent - the current built up image T = pOriginal - the image to be traced

Reimplemented from BfxPixelOp.

Definition at line 991 of file bfxpixop.cpp.

00992 {
00993 //  DWORD Pixel = (x+y*WidthRounded)>>XShift;
00994 //  DWORD shift = x & XMask;
00995     return __bfx_pseudopixel(pB,x,y) != __bfx_pseudopixel(pT,x,y);
00996 }


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