BfxPositivePixelOpPseudo Class Reference

Pixel operator. More...

#include <bfxpixop.h>

Inheritance diagram for BfxPositivePixelOpPseudo:

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 (BfxPositivePixelOpPseudo)

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 463 of file bfxpixop.h.


Member Function Documentation

BfxPositivePixelOpPseudo::CC_DECLARE_DYNCREATE BfxPositivePixelOpPseudo   )  [private]
 

BOOL BfxPositivePixelOpPseudo::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: Always errors. The base class should never be called Scope: Public

See also:
BfxPixelOp::IsInRegion()
Outisiders should used the cached version BfxPixelOp::IsInRegion()

Reimplemented from BfxPixelOp.

Definition at line 931 of file bfxpixop.cpp.

00932 {
00933 //  DWORD Pixel = (x+y*WidthRounded)>>XShift;
00934 //  DWORD shift = x & XMask;
00935     DWORD tval=__bfx_pseudopixel(pT,x,y);
00936     return (__bfx_pseudopixel(pB,x,y) != tval) && (__bfx_pseudopixel(pA,x,y) == tval);
00937 }


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