enum ScaleModeType { SM_NoScale, SM_ShowAll, SM_ExactFit, SM_NoBorder };
ScaleModeType represents the scaling type used for the SWF file stage, corresponds to Stage.scaleMode property in ActionScript.
Members |
Description |
SM_NoScale |
The size of SWF content is fixed. |
SM_ShowAll |
Makes the entire SWF content visible in the viewport without distortion while maintaining the original aspect ratio. |
SM_ExactFit |
Makes the entire SWF content visible in the viewport without trying to preserve the original aspect ratio. |
SM_NoBorder |
Scales the SWF content to fill whole viewport area, without distortion but possibly with some cropping while maintaining original aspect ratio. |
GFx_Player.h