SECEditViewport::Pan

CRect SECEditViewport::Pan(int xOff, int yOff)

Pans the viewport by the offsets specified

Defined in: SECEditViewport.cpp

Return Value

A CRect containing the logical bounds of the viewport before the offset

Parameters

xOff

Amount in logical units to pan the viewport along the x axis

yOff

Amount in logical units to pan the viewport along the y axis

Comments

This member is called whenever the viewport is panned. This override simply calls the base class and performs some range validation.

See Also

SECEditViewport