CODViewport::GetYAxisDirection

YAxisDirection CODViewport::GetYAxisDirection(void)

Determines the direction of the Y axis.

Defined in: OdViewport.cpp

Return Value

1 if positive Y is down and -1 if positive Y is up

Comments

This function determines the direction of the Y axis. In MM_TEXT mode or equivalent, positive Y usually goes down. For constrained mapping modes, such as MM_HIMETRIC and MM_LOENGLISH, positive Y goes up like a normal cartesian coordinate system.