IZoomImpl Class
class IZoomImpl: public IZoom
This class provides a default implementation of the IZoom interface.Defined in: ZoomImpl.h
Class Members
Default constructor for IZoomImpl
int m_nZoomPctX
Magnification value for X axis
int m_nZoomPctY
Magnification value for Y axis
virtual CSize SetMagnification(const int nPctX, const int nPctY)
Set logical scaling as percent magnification.
virtual CSize GetMagnification() const
Get logical scaling as percent magnification.
virtual CSize IncreaseMagnification(const int nPctX, const int nPctY)
Increase logical scaling by a percentage.
virtual CSize DecreaseMagnification(const int nPctX, const int nPctY)
Decrease logical scaling by a percentage.
virtual void ZoomExtents(CSize& szWndExt, CSize& szVpExt) const
Adjust window and viewport extents for magnification.