CPositionDestinationAspectFilter Class Reference

#include <AspectFilters.h>

Inheritance diagram for CPositionDestinationAspectFilter:

Inheritance graph
[legend]
Collaboration diagram for CPositionDestinationAspectFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CPositionDestinationAspectFilter (double x, double y)
virtual BOOL adjustAspect (CAspectRectangles &ar)
virtual LPCSTR getFilterName ()
virtual void DebugDump ()

Protected Attributes

double m_XPos
double m_YPos

Detailed Description

Applys child filters than adjusts the position of the destination rectangle - this class fixed floating point positions from -1 to 1 (0 = centered, -1 = left/top +1 = right/bottom


Member Function Documentation

BOOL CPositionDestinationAspectFilter::adjustAspect CAspectRectangles ar  )  [virtual]
 

Called to actually perform the adjustment for 1 filter If it returns TRUE, this is a request from the filter to re-run the aspect calculation The TRUE Value is currently only used by the filter which adjusts the window rectangle as this adjustment affects all calculations. Current implementation only allows 1 level of re-calculate requests.

Implements CAspectFilter.


The documentation for this class was generated from the following files:
Generated on Mon Oct 27 09:54:47 2003 for DScaler by doxygen 1.3.4