SECEditViewport::SetLogOrigin

CPointSECEditViewport::SetLogOrigin(intx, inty)

Sets the viewport's logical origin

Defined in: SECEditViewport.cpp

Return Value

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

Parameters

x

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

y

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

Comments

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

See Also

SECEditViewport