Example #1
0
        internal static Size2D ToManaged(Size2D_StructInternal _internal_struct)
        {
            var _external_struct = new Size2D();

            _external_struct.W = _internal_struct.W;
            _external_struct.H = _internal_struct.H;

            return(_external_struct);
        }
Example #2
0
        internal static Size2D_StructInternal ToInternal(Size2D _external_struct)
        {
            var _internal_struct = new Size2D_StructInternal();

            _internal_struct.W = _external_struct.W;
            _internal_struct.H = _external_struct.H;

            return(_internal_struct);
        }