CBevelFill Class Reference

Abstract base class for all fill types. More...

#include <bevfill.h>

Inheritance diagram for CBevelFill:

CCObject SimpleCCObject CBevelFillFlat CBevelFillFrame CBevelFillPoint CBevelFillRound CBevelFillRuffle CBevelFillSmooth CBevelFillSquare List of all members.

Public Member Functions

virtual COLORREF CalcPixelValue (BYTE value, double Pos, INT32 Contrast)=0
void EnsureValueRange (double *value)

Private Member Functions

 CC_DECLARE_DYNAMIC (CBevelFill)

Detailed Description

Abstract base class for all fill types.

Author:
David_McClarnon (Xara Group Ltd) <camelotdev@xara.com>
Date:
23/10/98
See also:
CBeveler

Definition at line 117 of file bevfill.h.


Member Function Documentation

virtual COLORREF CBevelFill::CalcPixelValue BYTE  value,
double  Pos,
INT32  Contrast
[pure virtual]
 

Implemented in CBevelFillFlat, CBevelFillRound, CBevelFillSquare, CBevelFillFrame, CBevelFillSmooth, CBevelFillPoint, and CBevelFillRuffle.

CBevelFill::CC_DECLARE_DYNAMIC CBevelFill   )  [private]
 

void CBevelFill::EnsureValueRange double *  value  ) 
 

Definition at line 120 of file bevfill.cpp.

00121 {
00122     if (*value > 254)
00123     {
00124         *value = 254;
00125     }
00126     else if (*value < 1)
00127     {
00128         *value = 1;
00129     }
00130 }


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