CPanAndZoomAspectFilter Class Reference

#include <AspectFilters.h>

Inheritance diagram for CPanAndZoomAspectFilter:

Inheritance graph
[legend]
Collaboration diagram for CPanAndZoomAspectFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CPanAndZoomAspectFilter (long _xPos, long _yPos, long _xZoom, long _yZoom)
virtual BOOL adjustAspect (CAspectRectangles &ar)
virtual LPCSTR getFilterName ()
virtual void DebugDump ()

Protected Attributes

double m_XPos
double m_YPos
double m_XZoom
double m_YZoom

Detailed Description

Zooms in on the source image x/m_YZoom is the amount to zoom - 1 = full size, 2 = double size, 4 = quad size both zoom factors should normally be equal - any other values will wreck the aspect ratio of the image (that would be a shame after spending all this code to keep it correct x/m_YPos is the position to zoom in on - 0 = left/top of frame, .5 = middle, 1 = right/bottom of frame Normally this filter will be applied just before the CScreenSanityAspectFilter


Member Function Documentation

BOOL CPanAndZoomAspectFilter::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:46 2003 for DScaler by doxygen 1.3.4