Share

AcGiViewport::getViewportDcCorners

C++

virtual void getViewportDcCorners(
    AcGePoint2d& lower_left, 
    AcGePoint2d& upper_right
) const = 0;

Description

Sets lower_left to the lower left corner point of the viewport and upper_right to the upper right corner point of the viewport. Both points are in 2D display coordinates.

From this you can position geometry (such as icons) that remain in a fixed position or fixed size in the viewport's display.

Parameters

Parameters Description
lower_left Returns lower left corner point of viewport in Display Coordinates
upper_right Returns upper right corner point of viewport in Display Coordinates

Links

AcGiViewport Class

Was this information helpful?