STK Graphics PrimitivesSend comments on this topic.
AgEStkGraphicsMaintainAspectRatio Enumeration
See Also

Description

Specifies whether the aspect ratio of a texture will be maintained during sizing of a screen overlay.

Members

MemberValueDescription
eStkGraphicsMaintainAspectRatioNone0The aspect ratio of the texture is not maintained during sizing of the screen overlay.
eStkGraphicsMaintainAspectRatioWidth1The aspect ratio of the texture is maintained based on the Width property of the screen overlay. When used, the Height property is ignored and the height is automatically calculated based on the aspect ratio of the texture and the overlay's Width property.
eStkGraphicsMaintainAspectRatioHeight2The aspect ratio of the texture is maintained based on the Height property of the screen overlay. When used, the Width property is ignored and the width is automatically calculated based on the aspect ratio of the texture and the overlay's Height property.
© 2024 Analytical Graphics, Inc. All Rights Reserved.