Packages

 

com.aspose.imaging.fileformats.emf.emf.consts

Class EmfGraphicsMode

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.emf.emf.consts.EmfGraphicsMode


  • public final class EmfGraphicsMode
    extends com.aspose.ms.System.Enum

    The GraphicsMode enumeration is used to specify how to interpret shape data such as rectangle coordinates.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int GM_ADVANCED
      TrueType text output MUST fully conform to the current world-to-device transformation in the playback device context.
      static int GM_COMPATIBLE
      TrueType text MUST be written from left to right and right side up, even if the rest of the graphics are rotated about the x-axis or y-axis because of the current world-to-device transformation in the playback device context.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • GM_COMPATIBLE

        public static final int GM_COMPATIBLE

        TrueType text MUST be written from left to right and right side up, even if the rest of the graphics are rotated about the x-axis or y-axis because of the current world-to-device transformation in the playback device context. Only the height of the text SHOULD be scaled. Arcs MUST be drawn using the current arc direction in the playback device context, but they MUST NOT respect the current world-to-device transformation, which might require a rotation along the x-axis or y-axis. The world-to-device transformation SHOULD only be modified by changing the window and viewport extents and origins, using the EMR_SETWINDOWEXTEX (section 2.3.11.30) and EMR_SETVIEWPORTEXTEX (section 2.3.11.28) records, and the EMR_SETWINDOWORGEX (section 2.3.11.31) and EMR_SETVIEWPORTORGEX (section 2.3.11.30) records, respectively. bChanging the transformation directly by using the EMR_MODIFYWORLDTRANSFORM (section 2.3.12.1) or EMR_SETWORLDTRANSFORM (section 2.3.12.2) records MAY NOT be supported. In GM_COMPATIBLE graphics mode, bottom and rightmost edges MUST be excluded when rectangles are drawn

        See Also:
        Constant Field Values
      • GM_ADVANCED

        public static final int GM_ADVANCED

        TrueType text output MUST fully conform to the current world-to-device transformation in the playback device context. Arcs MUST be drawn in the counterclockwise direction in world space; however, both arc control points and the arcs themselves MUST fully respect the current world-to-device transformation in the playback device context. The world-to-device transform MAY be modified directly by using the EMR_MODIFYWORLDTRANSFORM or EMR_SETWORLDTRANSFORM records, or indirectly by changing the window and viewport extents and origins, using the EMR_SETWINDOWEXTEX (section 2.3.11.30) and EMR_SETVIEWPORTEXTEX (section 2.3.11.28) records, and the EMR_SETWINDOWORGEX (section 2.3.11.31) and EMR_SETVIEWPORTORGEX (section 2.3.11.30) records, respectively. In GM_ADVANCED graphics mode, bottom and rightmost edges MUST be included when rectangles are drawn.

        See Also:
        Constant Field Values